forward progress

This commit is contained in:
Luke Berndt
2021-01-17 10:52:00 -05:00
parent e20529b7f5
commit 2035855a77
18 changed files with 52 additions and 54 deletions

View File

@@ -81,10 +81,7 @@ componentWillUpdate(nextProps) {
render(){
var playEnabled = { "disabled": true }
var sourceId = "-";
var callUrl = null;
if (this.props.call) {
callUrl = media_server + this.props.call.filename;
}
if (this.props.call) {
if (this.props.call.srcList.length > this.state.sourceIndex) {
sourceId = this.props.call.srcList[this.state.sourceIndex].src;