mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #218 from vitorsemeano/master
Solve random dark pane over video playing in fullscreen mode
This commit is contained in:
commit
e28b42d40d
1 changed files with 5 additions and 5 deletions
|
@ -1731,7 +1731,7 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
|
|||
|
||||
var maxBitrate = params.MaxStreamingBitrate || self.getMaxStreamingBitrate(player);
|
||||
|
||||
var currentPlayOptions = currentItem.playOptions || {};
|
||||
var currentPlayOptions = currentItem.playOptions || getDefaultPlayOptions();
|
||||
|
||||
getPlaybackInfo(player, apiClient, currentItem, deviceProfile, maxBitrate, ticks, true, currentMediaSource.Id, audioStreamIndex, subtitleStreamIndex, liveStreamId, params.EnableDirectPlay, params.EnableDirectStream, params.AllowVideoStreamCopy, params.AllowAudioStreamCopy).then(function (result) {
|
||||
|
||||
|
@ -2698,7 +2698,7 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
|
|||
|
||||
if (newItem) {
|
||||
|
||||
var newItemPlayOptions = newItem.playOptions || {};
|
||||
var newItemPlayOptions = newItem.playOptions || getDefaultPlayOptions();
|
||||
|
||||
playInternal(newItem, newItemPlayOptions, function () {
|
||||
setPlaylistState(newItem.PlaylistItemId, newItemIndex);
|
||||
|
@ -2803,7 +2803,7 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
|
|||
|
||||
console.log('playing next track');
|
||||
|
||||
var newItemPlayOptions = newItemInfo.item.playOptions || {};
|
||||
var newItemPlayOptions = newItemInfo.item.playOptions || getDefaultPlayOptions();
|
||||
|
||||
playInternal(newItemInfo.item, newItemPlayOptions, function () {
|
||||
setPlaylistState(newItemInfo.item.PlaylistItemId, newItemInfo.index);
|
||||
|
@ -2826,7 +2826,7 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
|
|||
|
||||
if (newItem) {
|
||||
|
||||
var newItemPlayOptions = newItem.playOptions || {};
|
||||
var newItemPlayOptions = newItem.playOptions || getDefaultPlayOptions();
|
||||
newItemPlayOptions.startPositionTicks = 0;
|
||||
|
||||
playInternal(newItem, newItemPlayOptions, function () {
|
||||
|
@ -2997,7 +2997,7 @@ define(['events', 'datetime', 'appSettings', 'itemHelper', 'pluginManager', 'pla
|
|||
var player = this;
|
||||
setCurrentPlayerInternal(player);
|
||||
|
||||
var playOptions = item.playOptions || {};
|
||||
var playOptions = item.playOptions || getDefaultPlayOptions();
|
||||
var isFirstItem = playOptions.isFirstItem;
|
||||
var fullscreen = playOptions.fullscreen;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue