Replies: 3 comments 3 replies
-
I don't really see the need for the split in the vanilla HTML example. Automatic <media-controller>
<video slot="media"></video>
<media-control-bar>...</media-control-bar>
</media-controller> or Manual <media-container>
<video slot="media"></video>
<media-control-bar>...</media-control-bar>
</media-container> I def choose to keep it combined if this means users would need to add both |
Beta Was this translation helpful? Give feedback.
-
Just for additional visibility, I've created an over-arching discussion thread (that references this one) here: #529 |
Beta Was this translation helpful? Give feedback.
-
Goals:Outlining some goals I'm understanding after some feedback and the controller refactoring.
Object OwnershipWith the refactor I'm seeing these lines of ownership between MediaControllerObj, MediaControllerElement, and MediaContainer. MediaController (object not element)
|
Beta Was this translation helpful? Give feedback.
-
Related to v1.0 and themes, I've been thinking about a more clear split between the controller and the container. Would love additional thoughts.
They are separate components today, but from a user perspective, they're not different. The proposal would be to make them different from a user perspective.
Combined pros/cons
<form>
to<button>
relationship, rather than something more complex with more moving partsSplit apart pros/cons
General proposal shape:
Vanilla HTML
Vanilla example with no media-controller element, only media controller object.
React example -- would love help fleshing this out clearly
Beta Was this translation helpful? Give feedback.
All reactions