HLS And dash Streaming Service Integration

Forums: 

Hi Folks,

I  am in process of integrating HLS with H5P but I am unable to find out the source from where you are creating video tags as the code related to  video tag is highly complicated. kindly help me out in finding the filename and line no from where it is originated. So that i can place my logic .

Thank You in Advance .

Vinay

Moodle Developer 

 

 

 

 

Content types: 
otacke's picture

Hi Vinay!

It would help to learn where exactly you are stuck. It's really not that complicated. The entry point for video content is https://github.com/h5p/h5p-video/blob/master/scripts/video.js and from there depending on the type of source, some handler is used to actually implement a video player. Could be a the browser's HTML5 player, could by YouTube's iframe player, could be something else.

Best,
Oliver

Hi Otack,

thanks for the reply but the issue is that i am working on moodle h5p plugin, and I am unable to find the iframe where i can embed the  logic

 

 

otacke's picture

The content types (including H5P.Video) use the very same code regardless of the platform that you're running H5P on. Not sure if https://www.youtube.com/watch?v=xEgBJaRUBGg&list=PL4lOawnmqTnHuQIBYz7K7LkdTybL3Ui7T&index=1 is useful for you.

If you just want to inject your own code into the iframe, then you should follow the H5P documentation.

Hi Vinay,

were you able to integrate HLS into H5P for the Moodle plugin? I am interested in your support if you are available.

Thank you

Sbravo