Page 1 of 1

Mouse interaction in OSR (Mac) help debugging

PostPosted: Sat Nov 26, 2022 1:04 pm
by kaspesla
Hi,
I'm working on mouse interaction in an OSR'd CEF browser implementation.
Almost everything works but I'm struggling with mouse clicks not working in an embedded Youtube video.
The same test works perfectly in cefclient when in OSR mode.

In my app, clicking links, dragging, selecting text, scrolling, mouse-over, all work. It's just these darn embedded Youtube videos that won't take clicks in my app.
I've put debug prints around all the SendMouse* function calls in my code and in cefclient and they're all identical, same arguments, same timing. Same version of the framework.

Any pointers on how to debug this? All I can think is there's some initializing settings that is causing the javascript not work right? What should I look at?
Thanks for any ideas.

Regards,
Ken

Re: Mouse interaction in OSR (Mac) help debugging

PostPosted: Sat Nov 26, 2022 8:17 pm
by kaspesla
Adding the disable-web-security switch to my app gets embedded YouTube working.

But cefclient doesn't use this flag...
Does this give a clue as to what I'm doing wrong/differently?

Just to clarify, without this flag, the iframe loads and mouseover works but it just can't be clicked on. So it's not like CORS is blocking the iframe from loading.

-Ken