show/hide stop button for audio/video respectively
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user