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) {
|
if (browserInfo.safari && !mediaSource.RunTimeTicks) {
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
|
var hlsPlaylistUrl = streamInfo.url.replace('master.m3u8', 'live.m3u8');
|
||||||
ApiClient.ajax({
|
ApiClient.ajax({
|
||||||
|
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: streamInfo.url.replace('master.m3u8', 'live.m3u8')
|
url: hlsPlaylistUrl
|
||||||
|
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
|
streamInfo.url = hlsPlaylistUrl;
|
||||||
self.playVideoInternal(item, mediaSource, startPosition, streamInfo, callback);
|
self.playVideoInternal(item, mediaSource, startPosition, streamInfo, callback);
|
||||||
}, function () {
|
}, function () {
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
|
@ -1002,10 +1003,10 @@
|
||||||
elem.classList.add('hide');
|
elem.classList.add('hide');
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!browserInfo.animate) {
|
//if (!browserInfo.animate) {
|
||||||
onfinish();
|
onfinish();
|
||||||
return;
|
return;
|
||||||
}
|
//}
|
||||||
|
|
||||||
requestAnimationFrame(function () {
|
requestAnimationFrame(function () {
|
||||||
var keyframes = [
|
var keyframes = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue