update context menu

This commit is contained in:
Luke Pulverenti 2017-01-02 01:11:51 -05:00
parent b861fdc816
commit 411b36e638
4 changed files with 1168 additions and 13 deletions

View file

@ -14,12 +14,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.4.422",
"_release": "1.4.422",
"version": "1.4.423",
"_release": "1.4.423",
"_resolution": {
"type": "version",
"tag": "1.4.422",
"commit": "308a34c32d4476d82f2d29684132a9806ab8c34e"
"tag": "1.4.423",
"commit": "81758c06344944e4d2abfe72daf02c1809c28db8"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1",

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,58 @@
.videoPlayerContainer {
position: fixed !important;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
background: #000 !important;
}
.videoPlayerContainer-withBackdrop {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
background-attachment: fixed;
}
.videoPlayerContainer-onTop {
z-index: 1000;
}
.htmlvideoplayer {
margin: 0 !important;
padding: 0 !important;
width: 100%;
height: 100%;
}
.videoSubtitles {
position: fixed;
bottom: 10%;
text-align: center;
left: 0;
right: 0;
color: #fff;
font-size: 150%;
}
.videoSubtitlesInner {
max-width: 70%;
background-color: rgba(0,0,0,.8);
padding: .25em;
margin: auto;
display: inline-block;
}
.htmlvideoplayer-nocontrols::-webkit-media-text-track-display {
/*Style the text itself*/
margin-top: -2.5em;
}
::cue {
background-color: transparent;
text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
-webkit-font-smoothing: antialiased;
font-family: inherit;
}

View file

@ -1,8 +1,6 @@
define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter', 'playbackManager', 'loading', 'appSettings'], function (appHost, globalize, connectionManager, itemHelper, embyRouter, playbackManager, loading, appSettings) {
'use strict';
var isMobileApp = window.Dashboard != null;
function getCommands(options) {
var item = options.item;
@ -146,13 +144,6 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter',
name: globalize.translate('sharedcomponents#Play'),
id: 'resume'
});
if (isMobileApp && appSettings.enableExternalPlayers()) {
commands.push({
name: globalize.translate('ButtonPlayExternalPlayer'),
id: 'externalplayer'
});
}
}
if (options.playAllFromHere && item.Type !== 'Program' && item.Type !== 'TvChannel') {