UI tweaks

This commit is contained in:
Alex Liebowitz 2016-07-04 18:43:55 -04:00
parent 5b33411a74
commit 597e450dd5
2 changed files with 1 additions and 1 deletions

BIN
dist.zip

Binary file not shown.

View file

@ -44,7 +44,7 @@ var WatchPage = React.createClass({
{this.state.loadStatusMessage}...
</div>
<video ref="player" width="100%" height="100%">
<source type={this.state.mimeType == 'audio/m4a' ? 'video/mp4' : this.state.mimeType} src={'/view?name=' + this.props.name} />
<source type={(this.state.mimeType == 'audio/m4a' || this.state.mimeType == 'audio/mp4a-latm') ? 'video/mp4' : this.state.mimeType} src={'/view?name=' + this.props.name} />
</video>
</main>
);