From 72aee9baad64d13516c2c609b9d39fabe67f3131 Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Thu, 30 Nov 2023 21:52:45 +0100 Subject: [PATCH] New: Add Vimeo API --- README.md | 2 +- Resources/Private/Fusion/Component/Video/Fragment/Vimeo.fusion | 2 +- composer.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 65a9df6..f438c7b 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ All packages from the PrettyEmbed series have the benefit of a better frontend p #### JS API / Usage of youtube-nocookie.com -If you want to use the JavaScript API from youtube (e.g., for tracking), you have to enable set `enableJsApi` to `true`. +If you want to use the JavaScript API from YouTube or Vimeo (e.g., for tracking), you have to enable set `enableJsApi` to `true`. ```yaml Jonnitto: diff --git a/Resources/Private/Fusion/Component/Video/Fragment/Vimeo.fusion b/Resources/Private/Fusion/Component/Video/Fragment/Vimeo.fusion index 9dc9445..b9c7c32 100644 --- a/Resources/Private/Fusion/Component/Video/Fragment/Vimeo.fusion +++ b/Resources/Private/Fusion/Component/Video/Fragment/Vimeo.fusion @@ -5,7 +5,7 @@ prototype(Jonnitto.PrettyEmbedVideoPlatforms:Component.Video.Fragment.Vimeo) < p @apply.props = ${props} } content = afx` - + {props.playButton} {props.content} {props.alternativeText} diff --git a/composer.json b/composer.json index 728392b..ffe82a9 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ } ], "require": { - "jonnitto/prettyembedhelper": "^4.2.3 || dev-master" + "jonnitto/prettyembedhelper": "^4.3 || dev-master" }, "autoload": { "psr-4": {