1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

show/hide stop button for audio/video respectively

This commit is contained in:
Techywarrior 2013-04-03 12:36:10 -07:00
parent 74f189d86d
commit 4351fda3d1

View file

@ -160,6 +160,8 @@
html += '</audio'; html += '</audio';
var nowPlayingBar = $('#nowPlayingBar').show(); var nowPlayingBar = $('#nowPlayingBar').show();
//show stop button
$('#stopButton', nowPlayingBar).show();
$('#mediaElement', nowPlayingBar).html(html); $('#mediaElement', nowPlayingBar).html(html);
@ -192,6 +194,8 @@
var html = '<video id="videoWindow" class="itemVideo video-js vjs-default-skin"></video>'; var html = '<video id="videoWindow" class="itemVideo video-js vjs-default-skin"></video>';
var nowPlayingBar = $('#nowPlayingBar'); var nowPlayingBar = $('#nowPlayingBar');
//hide stop button
$('#stopButton', nowPlayingBar).hide();
$('#mediaElement', nowPlayingBar).addClass("video").html(html).show(); $('#mediaElement', nowPlayingBar).addClass("video").html(html).show();