Hide/show play/pause instead of having both be there

pull/3698/head
Isaac Connor 2023-05-04 12:09:38 -04:00
parent 8f8e770ee4
commit 6a86fbbd32
1 changed files with 5 additions and 0 deletions

View File

@ -370,6 +370,9 @@ function pauseClicked() {
function streamPause() {
$j('#modeValue').html('Paused');
$j('#pauseBtn').hide();
$j('#playBtn').show();
setButtonState('pauseBtn', 'active');
setButtonState('playBtn', 'inactive');
setButtonState('fastFwdBtn', 'unavail');
@ -406,6 +409,8 @@ function vjsPlay() { //catches if we change mode programatically
}
function streamPlay( ) {
$j('#pauseBtn').show();
$j('#playBtn').hide();
setButtonState('pauseBtn', 'inactive');
setButtonState('playBtn', 'active');
setButtonState('fastFwdBtn', 'inactive');