question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support: HLS player not loading manifest / video on iPhone

See original GitHub issue

Hi team,

I am using the HLS component and for some reason the video is loading everywhere except Safari on iPhone. All I see is the poster image but the video never loads.

I noticed in the Network tab that while the hls.min.js fallback downloads, the request to the manifest file is never made on the iPhone. There are no errors in the console and confirmed that the rendered HTML on iPhone matches that on the MacBook.

Wondering if anybody has thoughts as to what’s going on or what else can be done?

Devices tested

  • ✅ Nokia Lumia 521 on Chrome
  • ✅ MacBook Pro on Safari 14
  • ✅ MacBook Pro on Chrome
  • ✅ MacBook Pro on Firefox
  • ✅ iPad Pro on Safari 14
  • ❌ iPhone 7 on Safari 13
  • ❌ iPhone X on Safari 14
  • ❌ iPhone 12 Mini on Safari 14

Code

<Player autoplay muted playsinline aspectRatio="1388:1080" loop>
  <Hls version="latest" poster={posterUrl}>
    <source data-src={manifestUrl} type="application/x-mpegURL" />
  </Hls>
</Player>

Version

  • Vime: 5.0.19
  • Gatsby: 2.29.2

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:5
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jonsadkacommented, Mar 1, 2021

Ah totally understandable. Thanks for your contributions on Vime and excited for the next version!

1reaction
jonsadkacommented, Jan 18, 2021

Ahhh nice catch. I appreciate your help on this and thank you for all the work you’re doing here! ❤️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloaded HLS stream doesn't work offline - Apple Developer
Hi,. we implemented downloading vimeo hosted hls streams using AVAssetDownloadTask, but when attempting to play downloaded hls in airplane mode, ...
Read more >
HLS manifest problem | Apple Developer Forums
when trying to play it using an ipad with ios version 12.1, the player doesn't request any segments, only the playlists are requested....
Read more >
Preload Hls manifest without a video elem… - Apple Community
Preload Hls manifest without a video element in Safari? I'm building a video feed containing many videos with sound.
Read more >
HTTP Live Streaming (HLS) - Apple Developer
HTTP Live Streaming lets you send live or pre-recorded audio and video to an iOS ... playback for the available speed of wired...
Read more >
HLS AVPlayer modify master manifest - Apple Developer
I am using AVPLayer for play HLS video(live, vod). Is there any possibility to modify master manifest on the fly? The goal to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found