aws-samples / aws-samples/amazon-ivs-player-web-sample
AWS IVS player throwing "load failed" error on Safari when user refresh the page
- Dominant language
- JavaScript
- Stars
- 90
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
AWS IVS player throwing "load failed" error on Safari when user refresh the page. Technically this doesn't affect user experience but it's misleads our SLI measure. Would it be possible to remove this error being thrown?
**To Reproduce**
1. Go to https://codepen.io/amazon-ivs/pen/c3b13a2df34b60ada7756f3a2af8d2f0, press play for the video and then refresh. It should give "load failed" error in console.
**Expected behavior**
"load failed" error should not appear after user refreshes (assuming nothing went wrong).
**Desktop (please complete the following information):**
- OS: Mac OS
- Browser: Safari
- Version: Any
**Smartphone (please complete the following information):**
- Device: MAC, iPhone
- OS: MAC OS
- Browser: Safari
- Version: any
Contributor guide
Research direction
Reproduce the Safari behavior using the linked CodePen after starting playback and refreshing the page, then inspect how this sample integrates the Amazon IVS Player Web SDK. Confirm whether the console error originates in the sample or the SDK; done means establishing a documented, tested way for refreshes to avoid the misleading error without affecting playback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100