ampproject / amphtml

The AMP web component framework.
https://amp.dev
Apache License 2.0
14.89k stars 3.89k forks source link

Livestream support for amp-jwplayer #31782

Open ak-418 opened 3 years ago

ak-418 commented 3 years ago

For amp-youtube, we have the option to include the channel details (data-live-channelid) for live stream videos. Will it be possible to add something like this for amp-jwplayer?

The option I'm aware of is to get the channel's JSON data and based on the status(active or not), fetch the player URL and plug it into the source URL for an iframe or video player. Documentation. The issue with this is that the API will have to be hit occasionally on the client side to check if the live stream has started or not, and dynamically provide the source URL to the iframe/video player. I'm not aware of how(or if) this can be done with AMP. The other option is to do this on the server side. But then again there's the cache issue.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.