mouse clicks not work when start html5 games in cefclient

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.

Re: mouse clicks not work when start html5 games in cefclien

Postby ndesktop » Tue Jun 22, 2021 3:48 am

This is something new. You said "mouse clicks not work", but it seems it does work, but it does not work as you expect on a particular element on the game. This sounds like a problem in the HTML5 application, not CEF or Chrome.
That's all I can do for you, I will not continue use plain http on a website I do not know, in a language I cannot read.
ndesktop
Master
 
Posts: 748
Joined: Thu Dec 03, 2015 10:10 am

Re: mouse clicks not work when start html5 games in cefclien

Postby kikiako » Tue Jun 22, 2021 5:04 am

ndesktop wrote:This is something new. You said "mouse clicks not work", but it seems it does work, but it does not work as you expect on a particular element on the game. This sounds like a problem in the HTML5 application, not CEF or Chrome.
That's all I can do for you, I will not continue use plain http on a website I do not know, in a language I cannot read.

What bothers me now is that the mouse clicks on Chrome can play games normally, move and shoot. Is it possible that cef's support for html5 is not as good as chrome? Finally, thank you very much for your patience.
kikiako
Newbie
 
Posts: 9
Joined: Mon Jun 21, 2021 12:05 pm

Re: mouse clicks not work when start html5 games in cefclien

Postby salvadordf » Tue Jun 22, 2021 5:19 am

I haven't tested that game but CEF doesn't support all APIs. For example, the pointer lock API is not yet supported :
https://www.magpcss.org/ceforum/viewtop ... =6&t=18078

Try enabling the chrome runtime in the settings.
Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects.
User avatar
salvadordf
Expert
 
Posts: 129
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain

Re: mouse clicks not work when start html5 games in cefclien

Postby kikiako » Wed Jun 23, 2021 2:07 am

salvadordf wrote:I haven't tested that game but CEF doesn't support all APIs. For example, the pointer lock API is not yet supported :
viewtopic.php?f=6&t=18078

Try enabling the chrome runtime in the settings.

Thanks, i will try
kikiako
Newbie
 
Posts: 9
Joined: Mon Jun 21, 2021 12:05 pm

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 15 guests