Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for embed an external HLS video #298

Open
mattsqd opened this issue Sep 19, 2024 · 5 comments
Open

Add support for embed an external HLS video #298

mattsqd opened this issue Sep 19, 2024 · 5 comments
Labels
Drupal Requires integration from the Drupal side. enhancement New feature or request

Comments

@mattsqd
Copy link
Collaborator

mattsqd commented Sep 19, 2024

Will come from https://docs.aws.amazon.com/mediastore/latest/ug/cdns-allowing-cloudfront-to-access-mediastore.html.
An example from last year: https://d474nuifpska.cloudfront.net/holiday-special.m3u8
Best case is to allow this as a media type so it can be embedded in the body of any content.

@mattsqd mattsqd added the Drupal Requires integration from the Drupal side. label Sep 19, 2024
@mattsqd
Copy link
Collaborator Author

mattsqd commented Sep 19, 2024

https://www.drupal.org/project/videojs seems to support this, but it might only be a local m3u8 file.

@mejiaj
Copy link
Collaborator

mejiaj commented Sep 20, 2024

@mattsqd is the m3u8 format the best (quality/performance) for HLS video?

Thinking of this similar to how we favored WEBP over traditional formats.

@mattsqd mattsqd added the enhancement New feature or request label Sep 20, 2024
@mattsqd
Copy link
Collaborator Author

mattsqd commented Sep 20, 2024

@mattsqd is the m3u8 format the best (quality/performance) for HLS video?

Thinking of this similar to how we favored WEBP over traditional formats.

I'm not sure, I'm just going based on the previous year's Christmas party stream. This was a request from John Franklin.
What is the preferred format for streaming?

@mejiaj
Copy link
Collaborator

mejiaj commented Sep 20, 2024

@mattsqd I found this MDN resource Setting up adaptive streaming media sources - Web media technologies

The top two formats are:

  • MPEG-DASH
  • HLS

This article Video Streaming Protocols - RTMP vs RTSP vs HLS vs WebRTC vs SRT which is best? has a nice FAQs section at the bottom.


TL;DR Seems like HLS has several encodings like MP4. The extension .m3u8 is the format Apple uses.

I might be better to convert to MP4 or WebM to avoid issues with non-Apple users. It'd also make supporting it in Drupal easier.

@mattsqd
Copy link
Collaborator Author

mattsqd commented Sep 20, 2024

Thanks for the resources @mejiaj ! I'll pass this along.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Drupal Requires integration from the Drupal side. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants