BlobURL src video not playing on iOS 10.3
Preload the video as Blob
and then use createObjectURL()
to create BlobURL. Video playback on all OS / browsers, but on iOS 10.3 was rejected when trying to play (promise) with the message:
NotSupportedError (DOM Exception 9): The operation is not supported.
If you switch the <video>
src to a regular video, it plays normally.
Code to get blob url:
fetch(videoURL)
.then(response => response.blob())
.then(window.URL.createObjectURL)
.then(console.log)
+3
source to share
No one has answered this question yet
Check out similar questions: