player icon indicating copy to clipboard operation
player copied to clipboard

Media Sync

Open mihar-22 opened this issue 2 years ago • 3 comments

The old media sync component needs to be reviewed and added back.

Tasks

  • [ ] Implement Media Sync Definition
  • [ ] Docs (new "manage" category)

References

mihar-22 avatar Feb 08 '23 10:02 mihar-22

https://github.com/muxinc/media-group can it help

no-1ne avatar Mar 09 '23 02:03 no-1ne

Hey @no-1ne, ye we can definitely look at media-group for inspiration. It'll just have to be adapted to the Vidstack internals.

mihar-22 avatar Mar 09 '23 02:03 mihar-22

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.

moretti avatar Jul 26 '23 15:07 moretti