Open neo opened 7 years ago
If you really need <source>
you'll probably have to use the preload
attribute and run enableInlineVideo()
after loadstart
video.addEventListener('loadstart', function () {
enableInlineVideo(video);
});
I've postponed doing this internally because it'd require non-trivial work to make the entire module async.
The alternative would be to just stick with src
since mp4
is supported everywhere now.
Thanks!
I figured doing the source tags like this:
is better than this and switch the
src
manually:But it doesn't seem to work with me. It works on iOS 10 but not iOS 9, so I think it might be an issue with IIV.
Thanks