diff --git a/frontend/app.js b/frontend/app.js index d872c4a..4a2e2a2 100755 --- a/frontend/app.js +++ b/frontend/app.js @@ -669,6 +669,7 @@ let playFullMode = false; // "play in full" session: ignore resum // A-B markers, shuffle, loop and repeat — play the // list start-to-finish, then stop. let current = null; // { meta, qualities, audioUrl, localUrl?, eqAudioUrl? } +const IS_IOS = /iPad|iPhone|iPod/.test(navigator.userAgent) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1); // iPhone: object URL of the playing saved song's rendered EQ/levelled sound. let _currentEqUrl = null; async function useEqRender(id) { @@ -2478,11 +2479,18 @@ const Player = { const V = els.video, A = els.audio; // An uploaded audio file has no picture track: play it like audio-only and // show its cover art where the video would be. - const audioOnly = data.settings.audioOnly || (current && current.kind === 'audio'); + // iOS won't start a