mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed bug when you play a video and one is already playing
This commit is contained in:
parent
4351fda3d1
commit
efda2ca3f5
1 changed files with 3 additions and 1 deletions
|
@ -169,6 +169,8 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
playVideo: function (items, startPosition) {
|
playVideo: function (items, startPosition) {
|
||||||
|
//stop/kill videoJS
|
||||||
|
if (MediaPlayer.mediaElement) MediaPlayer.stop();
|
||||||
|
|
||||||
var item = items[0];
|
var item = items[0];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue