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:
parent
20dfd8dd24
commit
958c6e2d76
1 changed files with 5 additions and 4 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue