mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix for audio/video element differences in now playing bar
This commit is contained in:
parent
b68c383af6
commit
3eecf178f3
2 changed files with 4 additions and 2 deletions
|
@ -787,6 +787,8 @@ progress {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
}
|
||||||
|
#mediaElement.video {
|
||||||
width: 270px;
|
width: 270px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -188,7 +188,7 @@
|
||||||
|
|
||||||
var nowPlayingBar = $('#nowPlayingBar');
|
var nowPlayingBar = $('#nowPlayingBar');
|
||||||
|
|
||||||
$('#mediaElement', nowPlayingBar).html(html).show();
|
$('#mediaElement', nowPlayingBar).addClass("video").html(html).show();
|
||||||
|
|
||||||
_V_("videoWindow", { 'controls': true, 'autoplay': true, 'preload': 'auto' }, function () {
|
_V_("videoWindow", { 'controls': true, 'autoplay': true, 'preload': 'auto' }, function () {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue