feat(Video): Adds Accessible Video Component#3015
Conversation
…nto sg-vidstack-poc
|
View your CI Pipeline Execution ↗ for commit 3298ec3. ☁️ Nx Cloud last updated this comment at |
…mut into sg-3436-video-player
…eo and iframe overides of markdown
…mut into sg-3436-video-player
…mut into sg-3436-video-player
jakemhiller
left a comment
There was a problem hiding this comment.
looks good to me! I think it's worth getting @dreamwasp's final review before merging.
dreamwasp
left a comment
There was a problem hiding this comment.
this looks wonderful, great work!
timjenkins
left a comment
There was a problem hiding this comment.
Here's a half review (working on the 2nd half).
one main question: what's the use case for displaying react-player instead of vidstack?
| /** | ||
| * If showPlayerEmbed is true use ReactPlayer to render the video | ||
| * Otherwise, use the Vidstack MediaPlayer. @TEMPORARY_FALLBACK | ||
| */ |
There was a problem hiding this comment.
This is more of just a fallback in case something goes sideways, and also when released all the youtube videos will be rendered using this new player (which does not have auto generated captions) So if curriculum asks to switch it to embed we have some way to make sure everything works
We have a follow up ticket to remove ReactPlayer once everything is validated - GM-998
|
🚀 Styleguide deploy preview ready! |
📬Published Alpha Packages:@codecademy/gamut@59.1.0-alpha.3298ec.0 |
Overview
adds a new video component with Vidstack integration that is accessible with HLS support including captions, thumbnails, chapters and poster addon.
PR Checklist
Testing Instructions
PR Links and Envs
Notes