VideoJS, no source?

I upload the video dynamically and everything works fine. I am currently loading the player with a small “placeholder” loop, which looks like a poster frame but is actually a video. The reason I did this is because things acted weirdly if I had a tag, without a source (which, in fact, I want when the page loads and after the video ends).

But on some iOS devices, this causes a problem, since the video immediately starts in full screen mode.

Is there a way to have an instance of VideoJS on a page without a source and do it without errors? Can I just add a player on the fly when I load videos dynamically?

0
source share

All Articles