h5p / h5p-video

10 stars 73 forks source link

HLS and Schema.org support #66

Open TamaraGunkel opened 2 years ago

TamaraGunkel commented 2 years ago

Hi,

this pull request makes two contributions:

  1. If the video mime type of a HTML5 video is recognized as HLS type, the library HLS.js is loaded. This allows the HTML5 player to stream the video. This would be especially helpful for lecture recordings that have a big file size and thus take long to load if not streamed.
  2. We don't want to give our teachers direct links to static files because they might be invalidated after a while in our setting. Thus, we want to provide them with a fixed link to a site containing "dynamic" video specifications. The PR uses a general approach to achieve this. We built upon the VideoObject schema.org specification which is also used by other websites. If the referenced website contains such an object, the video metadata is extracted and the resources are passed to the HTML5 player to display the video.

We would be really happy if this could be integrated. If there are any questions or changes required, please let me know. Best, Tamara

fhamelin commented 2 years ago

I would be interested to have HLS support too. Is there a chance this PR might be accepted anytime soon? Thanks!

EricGuic commented 1 year ago

Hi, HLS support would be great. Is there any update ? Thanks.

llttugraz commented 7 months ago

Hello, we'd also like to see that feature implemented and I wanted to ask, if there is a reason as to why this hasn't moved forward. Thanks