media-chrome icon indicating copy to clipboard operation
media-chrome copied to clipboard

youtube example doesn't work after refresh

Open kasperkamperman opened this issue 3 years ago • 2 comments

https://media-chrome.mux.dev/examples/media-elements/youtube.html

Tested this in Chrome 103/Safari 15.5 on MacOs 12.4

On first load it seems to work on both (I tested this in private mode). Doing a refresh, the page is reloaded but all buttons don't work. No start, skip or whatever possible.

View on first load. Screenshot 2022-08-04 at 22 21 53

View after refresh. Screenshot 2022-08-04 at 22 22 18

kasperkamperman avatar Aug 04 '22 20:08 kasperkamperman

That is ... really odd

And as a matter of fact. I can repro it. Confirmed

A hard refresh fixes it cmd + shift + r, might be a caching thing in the youtube iframe going on

dylanjha avatar Aug 04 '22 23:08 dylanjha

I've encountered this as well in the https://github.com/muxinc/media-group project.

my fork fixes a bunch and adds some more events etc. I'll try to open a PR soon. https://github.com/luwes/youtube-video-element

luwes avatar Aug 05 '22 00:08 luwes

PR open at https://github.com/muxinc/youtube-video-element/pull/19

luwes avatar Jan 11 '23 22:01 luwes