1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update video player

This commit is contained in:
Luke Pulverenti 2015-05-13 16:55:08 -04:00
parent c14b074ab9
commit 547493024a
2 changed files with 10 additions and 9 deletions

View file

@ -37,7 +37,7 @@
.videoControls { .videoControls {
padding: .5em .5em; padding: .5em .5em;
background-color: rgba(0, 0, 0, .8); background-color: rgba(0, 0, 0, .7);
position: fixed; position: fixed;
left: 0; left: 0;
bottom: 0; bottom: 0;
@ -75,7 +75,8 @@
.nowPlayingInfo { .nowPlayingInfo {
text-align: center; text-align: center;
padding: 1em 1em 1.5em; padding: 1em 1em 0 1em;
} }
#videoPlayer .nowPlayingImage img { #videoPlayer .nowPlayingImage img {
@ -95,11 +96,11 @@
vertical-align: top; vertical-align: top;
position: static; position: static;
color: #eee; color: #eee;
max-width: 800px; max-width: 80%;
} }
.videoNowPlayingName { .videoNowPlayingName {
font-size: 26px; font-size: 22px;
} }
.videoNowPlayingOverview, .videoNowPlayingRating { .videoNowPlayingOverview, .videoNowPlayingRating {
@ -198,8 +199,8 @@
@media all and (min-width: 1300px) { @media all and (min-width: 1300px) {
#videoPlayer .nowPlayingImage img { #videoPlayer .nowPlayingImage img {
height: auto !important; height: auto !important;
max-width: 250px; max-width: 400px;
max-height: 300px; max-height: 250px;
} }
} }

View file

@ -290,8 +290,8 @@
var state = self.getPlayerStateInternal(self.currentMediaElement, item, self.currentMediaSource); var state = self.getPlayerStateInternal(self.currentMediaElement, item, self.currentMediaSource);
var url = ""; var url = "";
var imageWidth = 250; var imageWidth = 400;
var imageHeight = 400; var imageHeight = 250;
if (state.NowPlayingItem.PrimaryImageTag) { if (state.NowPlayingItem.PrimaryImageTag) {