Fix theme queue

Set play options for each item so that the playback manager
doesn't change the fullscreen state for the next item.
This commit is contained in:
Dmitry Lyzo 2022-03-12 22:34:22 +03:00
parent ab71873ced
commit 7842eef4a6

View File

@ -22,6 +22,13 @@ function playThemeMedia(items, ownerId) {
return i.Id;
});
currentThemeItems.forEach((i) => {
i.playOptions = {
fullscreen: false,
enableRemotePlayers: false
};
});
playbackManager.play({
items: currentThemeItems,
fullscreen: false,