Steve Heffernan
Steve Heffernan
> Our current architecture doesn't support that cleanly. Did something change or it was always this way? Did this not actually work in practice? > programmatic play/pause This sounds specific...
I'm liking the general idea and conversation direction here. 👍 With custom elements, can a slotted element (media) be inside a child or does it need to be a direct...
It [doesn't appear slots in children work today](https://codepen.io/heff/pen/ExWGPRw). So in the first few examples, either `media-ad-controller` would need to live in the media slot itself (duplicating the API of a...
> But wouldn't that approach make the event bubbling stuff a bit weird? Can you say more about weird? > What if we did something similar to what I proposed...
> Doesn't it feel weird that a parent element would affect the bubbling of events to a child? I'm not even 100% sure how we'd even handle that, but just...
Got it, I see now. Thanks for clearing that up. One thing I'm feeling through all of this is media-controller probably needs a set of defined ad events, to at...
> If the ad controller wraps the entire UI, there would need to be a new set of controls that fire ad specific events so that the ad controller could...
Thanks Casey, this all sounds good. I think we could handle both cases and let the UI dev choose, if we provide the details of the adbreak, and always rely...
I like this. `clickAd()` - I like that this is putting it back on the media element to handle the click (and I assume track it). I had assumed it...
Thanks for figuring this out @ottobonn! Running into this issue with people trying to use styled-jsx with [media-chrome](https://github.com/muxinc/media-chrome) custom elements. Is there something I can do to help get this...