Support HLS Video
gregrickaby opened this issue · 2 comments
gregrickaby commented
In addition to .MP4
, Reddit also returns HLS-based video playlists in the API response. HLS is supported by all major browsers and has advantages, such as optimized video delivery for mobile devices.
The motivation for this is that the .MP4s
returned by the Reddit API do not have sound, but the HLS versions do.
- Create an
<HlsPlayer />
component leveraging hls.js - The component must support
<video>
fallbacks with theMP4
URL - Replace the
<video>
tag in the<Card />
component with<HlsPlayer />
rudychung commented
Hi! I'd like to give this a try, could you assign me to this?
gregrickaby commented
Sounds good. Please review the contribution guidelines. 👍🏻