Open hbredin opened 7 years ago
Maybe MediumView should become just View, and elements could connect to that view and specify a medium independently ?
<camomile-player [...] src="medium" sync-all="someView"></camomile-player>
It can make sense to sync on different views, but I'm not sure if it makes sense for an element to have for sources actual different mediums.
edit: "view" would then just be a pubsub
I like your proposal very much.
edit: then we should probably rename "View" to "Sync"
(related to #51)
Right now, we can either
sync-current-time
,sync-playing
or both (withsync-all
). All three options actually sync themedium
as well.There should be a way to only sync the medium (hence its URL) when you don't want to sync anything...
cc @PaulAlbert31