Embed Plugin
Key Features
- Embed content from YouTube, Vimeo, Google Maps, and SoundCloud.
- Easily add content using the shortcode feature in the visual editor.
- Privacy options to comply with GDPR and similar regulations.
- Supports customizable error handling for invalid links.
How To Use
Navigate to the plugin settings and enable the platforms you want to use.
- Open the visual editor.
- Click the shortcode button
[::]
and select the "embed" shortcode. - Copy and paste the URL of the external content into the provided URL field.
Example Links
- YouTube:
https://www.youtube.com/watch?v=Bk9LGGRJZ2Y
- Google Maps (single place only):
https://www.google.com/maps/place/Brandenburger+Tor/@52.5162745,13.3764164,18z/
- Vimeo:
https://vimeo.com/239532213
- SoundCloud:
https://soundcloud.com/melhod-rip/pizzicato-five-baby-love-child
If the URL is invalid, the plugin will display an error message.
Privacy Options
If the privacy option is enabled, embedded content is not loaded automatically. Instead, a placeholder box is displayed with:
- The platform name.
- A link to the platform's privacy policy.
- A button for the user to agree to load the content.
Once the user agrees, the embedded content is loaded, and future content from that platform will load automatically. You can adjust the text in the privacy box via the plugin settings. This is particularly useful for translating the text into your website's language.