6

Preload video as Blob, and then use createObjectURL() to create a BlobURL. The video plays on all OSs/browsers, but on iOS 10.3 got rejected when trying to play (promise) with the message:

NotSupportedError (DOM Exception 9): The operation is not supported.

If switch the <video> src to a normal video url, it plays normally.

The code to get the blob url:

fetch(videoURL)
  .then(response => response.blob())
  .then(window.URL.createObjectURL)
  .then(console.log)
Neo
  • 157
  • 8

0 Answers0