Publish blob content to Safari's video tag
-
19-10-2022 - |
Question
I'm trying to publish a video fetched using an XMLHttpRequest to a <video>
-tag in Safari on iOS 7. The content is available as a BLOB with the appropriate content type.
So far I attempted:
Blob urls (it does not work, the Quicktime plugin has no access to the blob url)
Using the local filesystem (it does not work, the Quicktime plugin has no access to the filesystem url)
Data urls (it does not work, the Quicktime plugin does not resolve data urls)
It would appear like content must be served to the Quicktime plugin through a HTTP based server.
This brings me to the option I am currently investigating: is it possible to listen to a (random) port from within the web browser itself? This would allow for a local web server to be set up, which could open up a way of communication with the Quicktime plugin.
The question is in two parts:
- Is it possible to listen to a port like this?
- Are you genious and do you see a different way to send a blob to the Quicktime plugin?
All help welcome
NOTE: Safari mobile uses a Quicktime plugin for playing the content in the html5 <video>
-tag. I am not using Quicktime directly, but through <video>
.
Pas de solution correcte