- Added new render option called
attributes
to allow custom attributes to bet added to iframe element, this resolves issue (#51).
- Add settings-input for Facebook/Instagram access token. Thanks Floris aka @FlorisDerks
- Fix to normalizeValue function on GraphQL field's
__get()
magic method. Thanks @joshuabaker
- Fix to GraphQL bug caused by PHP NULL coalescing operator from issue (#46).
- Fixed GraphQL bug
Internal Server Error: GraphQL fails to get oembed fields
(#46).
- (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.
- (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.
- Preview iframe is now rendered into a collapsable component to save space.
- Add
overflow:hidden
to iframe to prevent overflow (#37).
- Allow users to set width and height on the iframe (#35).
- Removed package dependacy to get PHP 7.0-compatible (#33)
- Fixed "Upgrading to 1.2.0+ disables admin UI (#32)" bug caused by LibXML rendering self closing
iframe
.
- Updated README with usage of new feature.
- (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)
- Re-add
rel
feature missing due to merge conflict. (#24)
- Fixed "Undefined index: autoplay" warnings. (#26)
- Support Youtube and Vimeo
autoplay
,loop
andautopause
embed feature via DOM manipulation. (#14)
- Array to string conversion bug due to lack of a recursive function. (#17)
- Support custom control panel (
cpTrigger
) configurations.
- Caching is now a field you enable in new settings area.
- Updated to prevent <script/> rendering outsite
/admin/entries
, with support ifadmin
isn't the CP URL trigger.
- Updated to allow better support for sites which don't quite meet the oEmbed format requirements.
- Added
valid
method to handle errors gracefully (Thanks @iparr). - Added data caching for parsed URLs to help increase page response time.
- Updated docs.
- Version bump.
- Fix bug in field type rendering.
{note} The plugin’s dependence has changed from
essence/essence
toembed/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 composer package
essence/essence
toembed/embed
to handle more edge case URLs.
- Fix bug where field is in Matrix field and the AJAX event action isn't bound / fired until after entry initial saved
- Allowing support for CraftCMS v3.1
- Prevent JS asset rendering on frontend
- Revert javascript to use jQuery
- Refactored javascript to use native JS over jQuery
- 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
- Initial release and migration from previous project