mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
fixed chapter extraction
This commit is contained in:
parent
f0bf153290
commit
47b45991c9
@ -381,7 +381,7 @@ a.itemTag:hover {
|
|||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center 15%;
|
background-position: center 15%;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
height: 560px;
|
height: 580px;
|
||||||
border-bottom: 1px solid #111;
|
border-bottom: 1px solid #111;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
@ -1133,16 +1133,7 @@
|
|||||||
|
|
||||||
ApiClient.getLocalTrailers(Dashboard.getCurrentUserId(), currentItem.Id).done(function (trailers) {
|
ApiClient.getLocalTrailers(Dashboard.getCurrentUserId(), currentItem.Id).done(function (trailers) {
|
||||||
|
|
||||||
var trailer = trailers[0];
|
MediaPlayer.play(trailers);
|
||||||
var userdata = trailer.UserData || {};
|
|
||||||
|
|
||||||
var mediaType = trailer.MediaType;
|
|
||||||
|
|
||||||
if (trailer.Type == "MusicArtist" || trailer.Type == "MusicAlbum") {
|
|
||||||
mediaType = "Audio";
|
|
||||||
}
|
|
||||||
|
|
||||||
LibraryBrowser.showPlayMenu(this, trailer.Id, trailer.Type, mediaType, userdata.PlaybackPositionTicks);
|
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user