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

fix video playlist playback

This commit is contained in:
Luke Pulverenti 2015-12-30 13:02:44 -05:00
parent 20dfd8dd24
commit 958c6e2d76

View file

@ -972,14 +972,15 @@
if (browserInfo.safari && !mediaSource.RunTimeTicks) {
Dashboard.showLoadingMsg();
var hlsPlaylistUrl = streamInfo.url.replace('master.m3u8', 'live.m3u8');
ApiClient.ajax({
type: 'GET',
url: streamInfo.url.replace('master.m3u8', 'live.m3u8')
url: hlsPlaylistUrl
}).then(function () {
Dashboard.hideLoadingMsg();
streamInfo.url = hlsPlaylistUrl;
self.playVideoInternal(item, mediaSource, startPosition, streamInfo, callback);
}, function () {
Dashboard.hideLoadingMsg();
@ -1002,10 +1003,10 @@
elem.classList.add('hide');
};
if (!browserInfo.animate) {
//if (!browserInfo.animate) {
onfinish();
return;
}
//}
requestAnimationFrame(function () {
var keyframes = [