Mouse interaction in OSR (Mac) help debugging

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Mouse interaction in OSR (Mac) help debugging

Postby kaspesla » Sat Nov 26, 2022 1:04 pm

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
kaspesla
Newbie
 
Posts: 5
Joined: Sun Jan 31, 2021 12:34 pm

Re: Mouse interaction in OSR (Mac) help debugging

Postby kaspesla » Sat Nov 26, 2022 8:17 pm

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
kaspesla
Newbie
 
Posts: 5
Joined: Sun Jan 31, 2021 12:34 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 49 guests