import React, { Component } from 'react' import { connect } from 'react-redux' import { PlayButton, PlayerTime, VolumeControl } from './viewer.icons' class NavPlayer extends Component { constructor(props) { super(props) this.stopPropagation = this.stopPropagation.bind(this) } stopPropagation(e) { e && e.stopPropagation() } render() { const { playing, play_ts, duration, volume } = this.props const className = playing ? 'nav-player playing' : 'nav-player' return (