wrav / oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.
MIT License
37 stars 37 forks source link

Google Maps Error: www.google.com refused to connect #151

Open philipschilling opened 6 months ago

philipschilling commented 6 months ago

I added a field of the type oEmbed to an entry type. Thereafter, I tried to add different links. I wanted to add in particular a map which didn't work. I am also wondering if it isn't necessary to add a Google Maps API Key but there wasn't a field for that in the plugin configuration. Maybe it is a local issue because I couldn't get the oEmbed data using the EmbeddedAssets plugin as well.

My outcome:

  1. A YouTube link worked and pulled the oEmbed data.

  2. A Google Maps link didn't work and showed the error "refused to connect". Tried link: https://www.google.com/maps/place/6210+Sursee/@47.1781402,8.0854718,14z/data=!3m1!4b1!4m6!3m5!1s0x47901ff0d464504f:0x579286997ff9b363!8m2!3d47.1714819!4d8.1111312!16zL20vMGcwdzJ3?entry=ttu

    Screenshot 2024-04-15 at 22 31 58
  3. An Open Street Maps link didn't work and showed the error "refused to Connect". Tried link: https://www.openstreetmap.org/search?query=lucerne#map=12/47.0408/8.3172

    Screenshot 2024-04-15 at 22 33 00

My system details:

PHP version 8.2.17 OS version Linux 3.10.0-1160.114.2.el7.x86_64 Database driver & version MariaDB 10.4.33 Image driver & version Imagick 3.7.0 (ImageMagick 7.1.1-29) Craft edition & version Craft Solo 5.0.4 Yii version 2.0.48.1 Twig version v3.8.0 Guzzle version 7.8.1 Plugins CKEditor 4.0.3 Embedded Assets 5.0.1 Formie 3.0.0-beta.7 SEOmatic 5.0.2 UTM Tracker 3.0.0

reganlawton commented 6 months ago

I'll have to look into upgrading to support the right G-API support and others.