Reimplement HTML Media Tag Fetching without a tag using Media Source API

36 views Asked by At

I am trying to re implement the fetching stack of a video tag before the tag is mounted.

Media Source API seems to be the right solution to do this, but it does not seems to open if I don't attach it to a media tag. (not receiving the sourceopen event).

My requirement are that I can :

  • Open one or multiple source and fill them as I want using partial fetching on my video(s) (that I control).

  • I can as I go attach and detach the Sources to a video player.

Is it possible to do this with Media Source ?

Is there a better way to do it ?

0

There are 0 answers