1
0
Fork 0
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:
Vasily 2019-04-01 16:21:22 +03:00 committed by GitHub
commit e28b42d40d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;