player
player copied to clipboard
Media Sync
The old media sync component needs to be reviewed and added back.
Tasks
- [ ] Implement Media Sync Definition
- [ ] Docs (new "manage" category)
References
https://github.com/muxinc/media-group can it help
Hey @no-1ne, ye we can definitely look at media-group for inspiration. It'll just have to be adapted to the Vidstack internals.
Here's a temporary solution that I'm using on v.0.6 until it's fixed upstream:
https://gist.github.com/moretti/009459d103102b8d7f5535efc5fcd53d
In the application, the relevant part using Vidstack is wrapped by the <MediaSyncContext>. Additionally, each <MediaPlayer> is accompanied by a <MediaSync /> component.