rubyvideo icon indicating copy to clipboard operation
rubyvideo copied to clipboard

Playblack speed select input gets immediately closed on Chrome

Open silva96 opened this issue 1 year ago • 5 comments

For some reason, when I click the playback speed select on Google chrome (Mac) it gets insta closed. It works on Safari.

https://github.com/user-attachments/assets/0166d58f-97d0-4219-b89e-1ea8800309b3

I played around with the source (about half an hour and I couldn't fix it 🙁 ) and noticed if I move the select outside the controls div it works too, if that helps:

https://github.com/user-attachments/assets/06de8265-b6f3-42b5-9468-72eccecba887

silva96 avatar Oct 28 '24 14:10 silva96

Hmm, it's probably an issue upstream in the video player library we use.

marcoroth avatar Oct 28 '24 14:10 marcoroth

I see they use a non-native select for their language selector, they didn't add a playback speed selector though.

CleanShot 2024-10-28 at 11 23 52

I guess this is the root cause?

https://github.com/vlitejs/vlite/pull/57

silva96 avatar Oct 28 '24 14:10 silva96

I couldn't reproduce the issue by manually injecting a select in their control bar

https://github.com/user-attachments/assets/785af371-c10c-4538-90a9-14e8894e3ee3

silva96 avatar Oct 28 '24 14:10 silva96

I'm wondering if we are just missing some additional CSS to properly display the control element

marcoroth avatar Oct 29 '24 08:10 marcoroth

I am pretty sure this has been working at some point not sure what happened here.

adrienpoly avatar Oct 29 '24 22:10 adrienpoly

FYI https://github.com/rubyevents/rubyevents/issues/757#issuecomment-2962121725

yoriiis avatar Jun 11 '25 10:06 yoriiis