Broke it, whoops

This commit is contained in:
IrosTheBeggar 2017-02-08 16:59:59 -05:00
parent bbf3eb8da8
commit 0d54bdcc7b
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ var VUEPLAYER = function() {
widthcss: function ( ) {
if(this.playerStats.duration === 0){
return "width:0";
;
}
var percentage = 100 - (( this.playerStats.currentTime / this.playerStats.duration) * 100);
return "width:calc(100% - "+percentage+"%)";

View File

@ -258,8 +258,8 @@
<!-- Media Player
This section is tied into the MSTREAMPLAYER mmodule with Vue
see file: mstream.vue-player-controls.js -->
This section is tied into the MSTREAMPLAYER mmodule with Vue
see file: mstream.vue-player-controls.js -->
<div id="mstream-player" class="mstream-player">
<div id="previous-button" class="previous-button">
<img class="previous-image center" src="/public/img/previous-white.svg">