oEmbed - Video, Maps & Rich Media icon

oEmbed - Video, Maps & Rich Media

Version 3.1.1

September 9, 2024

Update

  • Removed Assets from console. Relates to #158. Thanks @jeffreyzant

Version 3.1.0

September 9, 2024

Added

  • Added support for adapter extractor support to allow custom site handling

Update

  • Refactor EmbedAdapter to handle extractor object to support better fallback for some websites

Version 3.0.9

July 26, 2024

Update

  • Resolves error when querying an entry with a empty oEmbed URL. Thanks to @jaapfaes for PR #157

Version 3.0.8

February 26, 2024

Update

  • Resolved GraphQL issues. Special thanks to @davidwebca

Version 3.0.7

December 15, 2023

Update

  • Resolve YT loop issues. Reported by @holiday-jan in issue #146. Thanks @holiday-jan

Version 3.0.6

December 15, 2023

Update

  • Fixed issue with src attribute not being set on iframe. Reported by @holiday-jan in issue #146. Thanks @holiday-jan
  • Rework preview handling
  • Updated README docs
  • Fallback .code for certain providers, this completely blocked GraphQL users. Reported by @yoannisj in issue #129. Thanks @yoannisj

Version 3.0.5

December 8, 2023

Update

  • Modified handling of empty embedded media codes

Version 3.0.4

December 7, 2023

Update

  • Adds version to cache key to prevent cache key collisions.

Version 3.0.3

December 4, 2023

Update

  • Add GDPR compliance with CookieBot settings and functionality. Reported by @joepagan in issue #131. Thanks @joepagan and @iparr for discussion and logging.

Version 3.0.2

December 1, 2023

Update

  • Add data mapping and fallback for image properties. Reported by @maxfenton in issue #143 and @helleholmsen in issue #145. Thanks @maxfenton and @helleholmsen

Version 3.0.1

November 17, 2023

Update

  • Handle all exceptions in OembedService to prevent edge case errors. Reported by @holiday-jan in issue #141. Thanks @holiday-jan

Version 3.0.0

November 4, 2023

Update

  • Update embed/embed to v4 to allow for support with newer plugins.

Version 2.3.1

October 11, 2023

Update

  • Added fix for issue #138, caused by static return type on the JobInterface. Thanks @laurabennett
  • Added @sgtpenguin 's PR to avoid GraphQL bug by defaulting the height and width to NULL for the fallback adapter. Thanks @sgtpenguin

Version 2.3.0

February 2, 2023

Update

  • Added default caching keys to resolve missing field data while cached

Version 2.2.2

August 26, 2022

Update

  • Fix Craft 4 type compatibility. THANKS @raymondelooff

Version 2.2.1

June 30, 2022

Update

  • Fix a side effect of #101 fix where the preview and embed will fallback to the default Craft site if no or invalid URL is provided (@juban)

Version 2.2.0

June 30, 2022

Update

  • Converting DOMDocument to JSON and back to StdClass due to error "Serialization of 'DOMDocument' is not allowed" with caching in PHP 8.
  • Fixed required option not applying

Version 2.1.0

June 29, 2022

Added

  • Added ext-dom requirement

Updated

  • Fix for issue #101 for the v2 version track for Craft v4. Thanks again @juban

Version 2.0.0

June 18, 2022

Updated

  • Updated plugin to support Craft v4
  • Removed requirement for Craft v3 and requiremnt is now PHP to >=8.0.2

Version 1.3.15

March 9, 2022

Updated

  • Fix for issue #101, where the plugin is unable to set a webpage as a valid source URL. Thanks @juban

Version 1.3.13

October 21, 2021

Added

  • Add referrer to Embed for videos with privacy restrictions.

Updated

  • Changes to the handle of FallbackAdapter with no URL.
  • Preview changes

Version 1.3.12

August 5, 2021

Added

  • Fix issue with blank URLs where fallback adapter sets URL to '/'. This also fixes #88 issue.

Version 1.3.11

July 21, 2021

Added

  • Added fallback adapter for invalid URLs and PHP 8 issues, thanks @gglnx. This also fixes #81, #76 issues.

Version 1.3.10

July 20, 2021

Updated

  • Fixes issue with caching key, thanks @mijewe.
  • Fixes to 'class@anonymous' handling, this should help resolve issues #81, #50, #10.
  • Updated CHANGELOG dates.

Version 1.3.9

June 16, 2021

Updated

  • Fixes issue with params option not applying if query / GET params not yet set, this resolves issues #53.

Version 1.3.8

June 15, 2021

Updated

  • Fixes issue with code changes due to PHP namespacing.
  • Updates to caching key to support embed options, this resolves issues #73.

Version 1.3.7

June 15, 2021

Updated

  • Updates to OembedModel / GraphQL bugfixes, this resolves issues #74 and PR #75. Thank you to @joshuabaker, @denisyilmaz and anyone else I missed.
  • Clean up bugfixes changes

Version 1.3.6

October 28, 2020

Added

  • Added new render option called attributes to allow custom attributes to bet added to iframe element, this resolves issue (#51).

Version 1.3.5

October 28, 2020

Updated

  • Add settings-input for Facebook/Instagram access token. Thanks Floris aka @FlorisDerks

Version 1.3.4

June 29, 2020

Updated

  • Fix to normalizeValue function on GraphQL field's __get() magic method. Thanks @joshuabaker

Version 1.3.3

June 29, 2020

Updated

  • Fix to GraphQL bug caused by PHP NULL coalescing operator from issue (#46).

Version 1.3.2

June 5, 2020

Updated

  • Fixed GraphQL bug Internal Server Error: GraphQL fails to get oembed fields (#46).

Version 1.3.1

May 8, 2020

Added

  • (NEW FEATURE) Added GDPR setting to transform URL's for Youtube and Vimeo to their GDPR versions. This happen's without needing to change existing URL's.

Version 1.3.0

March 5, 2020

Added

  • (NEW FEATURE) Added setting to hide preview iframe in the new a collapsable UI component.
  • (NEW FEATURE) Added notification by email for broken URLs which can be set up in plugin settings. This feature is still under development and new feature's like Slack, Microsoft Team notification channels will be added including support to update the notify message copy.

Updated

  • Preview iframe is now rendered into a collapsable component to save space.
  • Add overflow:hidden to iframe to prevent overflow (#37).

Version 1.2.5

February 10, 2020

Updated

  • Allow users to set width and height on the iframe (#35).

Version 1.2.4

February 5, 2020

Updated

  • Removed package dependacy to get PHP 7.0-compatible (#33)

Version 1.2.3

February 5, 2020

Fixed

  • Fixed "Upgrading to 1.2.0+ disables admin UI (#32)" bug caused by LibXML rendering self closing iframe.

Version 1.2.2

January 30, 2020

Updated

  • Updated README with usage of new feature.

Added

  • (NEW FEATURE) Add new params option to allow you to set missing URL query params that are supported by the providers oembed protocol. (#24 & #30)

Version 1.2.1

January 19, 2020

Updated

  • Re-add rel feature missing due to merge conflict. (#24)

Version 1.2.0

January 19, 2020

Updated

  • Support rel URL propety via DOM manipulation. (#24)
  • Added GraphQL support. (#25)
  • Updated docs

Fixed

  • Fixed "Undefined index: autoplay" warnings. (#26)

Version 1.1.8

September 16, 2019

Updated

  • Support Youtube and Vimeo autoplay, loop and autopause embed feature via DOM manipulation. (#14)

Fixed

  • Array to string conversion bug due to lack of a recursive function. (#17)

Version 1.1.7

September 16, 2019

Updated

  • Support custom control panel (cpTrigger) configurations.

Version 1.1.6

April 22, 2019

Updated

  • Caching is now a field you enable in new settings area.

Version 1.1.5

April 15, 2019

Updated

  • Updated to prevent <script/> rendering outsite /admin/entries, with support if admin isn't the CP URL trigger.

Version 1.1.4

April 4, 2019

Updated

  • Updated to allow better support for sites which don't quite meet the oEmbed format requirements.

Version 1.1.3

March 29, 2019

Added

  • Added valid method to handle errors gracefully (Thanks @iparr).
  • Added data caching for parsed URLs to help increase page response time.

Updated

  • Updated docs.

Version 1.1.2

February 18, 2019

Updated

  • Version bump.

Version 1.1.1

February 18, 2019

Updated

  • Fix bug in field type rendering.

Version 1.1.0

March 13, 2019

The plugin’s dependence has changed from essence/essence to embed/embed. After updating to oEmbed 1.1.0 or later, make sure you reference to the README and test your site for possible missing/ renamed twig object keys.

Updated

  • Updated composer package essence/essence to embed/embed to handle more edge case URLs.

Version 1.0.5

February 8, 2019

Updated

  • Fix bug where field is in Matrix field and the AJAX event action isn't bound / fired until after entry initial saved

Version 1.0.4

January 17, 2019

Updated

  • Allowing support for CraftCMS v3.1

Version 1.0.3

December 7, 2018

Updated

  • Prevent JS asset rendering on frontend
  • Revert javascript to use jQuery

Version 1.0.2

December 6, 2018

Updated

  • Refactored javascript to use native JS over jQuery

Version 1.0.1

November 26, 2018

Updated

  • Changed preview controller action access to prevent anonymous access
  • Refactored the preview action to use a template with wrapper to allow for future styling and updates

Version 1.0.0

November 18, 2018

Added

  • Initial release and migration from previous project