Page 1 of 1

How to enable Location Access

Posted: Sun Apr 14, 2019 12:50 pm
by Tomminger
Hello,

when I open e.g :

https://tinder.com/?lang=de

After Login the Site ask via PopUp for getting my current location.

If I press Ok for accepting the Location Request, the Site tells, there are no Location access accepted and then the site hangs.

What can I do to allow Location Requests in CEF4Delphi?

Regards Tom

Re: How to enable Location Access

Posted: Sun Apr 14, 2019 2:06 pm
by salvadordf
Hi,

I'm not sure what Tinder.com does but if it tries to use geolocation then the current CEF version might not be a suitable solution.

CEF removed geolocation support with this commit :
https://bitbucket.org/chromiumembedded/ ... dd18d5a38b

due to this issue :
https://bitbucket.org/chromiumembedded/ ... ranch-3239

The CEF maintainer said in that issue that you can use the Google Maps Geolocation API as an alternative.
https://developers.google.com/maps/docu ... tion/intro

Perhaps OldCEF4Delphi can be used with Tinder. It has an older CEF version with geolocation.
https://github.com/salvadordf/OldCEF4Delphi

Re: How to enable Location Access

Posted: Thu May 02, 2019 6:28 pm
by salvadordf
Hi,

The CEF maintainer commented in the previous links that he had to remove the Geolocation feature because it's never tested during development.

The latest CEF version doesn't have Geolocation support and you would need to modify CEF and then CEF4Delphi in order to make your application work.

Some video streaming sites also need proprietary codecs and you would need to build the CEF binaries with those codecs because the binaries from Spotify only have the open source codecs enabled.

Some other streaming sites also need a Widevine CDM license.

CEF4Delphi supports Widevine and it also works with the CEF binaries that include proprietary codecs but you would need to modify CEF and CEF4Delphi to have Geolocation.

OldCEF4Delphi still has Geolocation but it uses an old CEF branch which includes an old Chromium version and some sites may refuse to work with that version.

Re: How to enable Location Access

Posted: Fri May 03, 2019 7:32 pm
by salvadordf
Pauven wrote: Fri May 03, 2019 7:19 pmIs there any plan to add Geolocation support back in?
I don't know. CEF4Delphi is just a CEF wrapper and I'm not in the CEF development team.

The CEF project maintainer suggested using the Google Maps Geolocation API as an alternative :
https://developers.google.com/maps/docu ... tion/intro