You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see that the thumbnail flashes before showing an error message
Internally, this is what's happening:
video player loads with poster= attribute
even though the asset is deleted, previously rendered thumbnail images are cached by cdns for a while (days), so the request to load the poster image (thumbnail) succeeds
the m3u8 playlist 404s, which triggers the correct error "This video does not exist"
Solution -- maybe there's something better but this is the best idea I have:
before rendering the video player do a fetch GET to the m3u8, if it 404s then fallback into the error state
The text was updated successfully, but these errors were encountered:
Repro steps
Internally, this is what's happening:
poster=
attributeSolution -- maybe there's something better but this is the best idea I have:
fetch
GET to them3u8
, if it 404s then fallback into the error stateThe text was updated successfully, but these errors were encountered: