Releases: spicywebau/craft-embedded-assets
Releases · spicywebau/craft-embedded-assets
Embedded Assets 2.11.4
Fixed
- Fixed Craft 3.8 compatibility issues
Embedded Assets 3.1.2
Fixed
- Fixed a bug where some strings weren't translatable when they should have been
- Fixed an error that occurred when trying to embed a TikTok asset
Embedded Assets 3.1.1
Changed
spicyweb\embeddedassets\models\EmbeddedAsset::getVideoId()
now supports Dailymotion videos
Embedded Assets 3.1.0
Added
- Added
spicyweb\embeddedassets\assets\main\MainAsset
- Added
spicyweb\embeddedassets\assets\preview\PreviewAsset
- Added
spicyweb\embeddedassets\errors\NotWhitelistedException
- Added
spicyweb\embeddedassets\models\Settings::$preventNonWhitelistedUploads
(defaults tofalse
, adds the ability to prevent the saving of embedded assets from providers that are not whitelisted in the plugin settings)
Changed
- Embedded Assets' JavaScript source has been converted to TypeScript
Deprecated
- Deprecated
spicyweb\embeddedassets\assets\Main
; usespicyweb\embeddedassets\assets\main\MainAsset
instead - Deprecated
spicyweb\embeddedassets\assets\Preview
; usespicyweb\embeddedassets\assets\preview\PreviewAsset
instead
Embedded Assets 3.0.5
Added
- Added the
$removeAttributes
argument tospicyweb\embeddedassets\models\EmbeddedAsset::getIframeCode()
, for removing tag attributes from an iframe
Changed
- Updated JavaScript dependencies
Embedded Assets 2.11.3
Fixed
- Fixed a bug where the 'Uploaded by' field would be empty for newly created embedded assets
Embedded Assets 3.0.4
Added
- Added a second parameter (
$attributes
) tospicyweb\embeddedassets\models\EmbeddedAsset::getIframeCode()
, for adding attributes to the iframe element, in the formatattribute
orattribute=value
Changed
- The first parameter (
$params
) tospicyweb\embeddedassets\models\EmbeddedAsset::getIframeCode()
is no longer required
Embedded Assets 2.11.2
Fixed
- Fixed a type error that could occur in version 2.11.1
Embedded Assets 2.11.1
Fixed
- Fixed an error that occurred when saving an embedded asset, if the embedded asset title (and therefore the filename) contained invalid characters
Embedded Assets 3.0.3
Fixed
- Fixed a bug where non-admin users who have the permission to save assets in a volume were unable to save embedded assets in that volume (thanks @aodihis)