Skip to content

Commit

Permalink
New: Save duration of videos
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnitto committed Apr 8, 2021
1 parent 4cdcf90 commit e7a388e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions Configuration/NodeTypes.Mixin.VideoID.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
'Jonnitto.PrettyEmbedHelper:Mixin.Metadata.Ratio': true
'Jonnitto.PrettyEmbedHelper:Mixin.Metadata.Image': true
'Jonnitto.PrettyEmbedHelper:Mixin.Metadata.Thumbnail': true
'Jonnitto.PrettyEmbedHelper:Mixin.Metadata.Duration': true
properties:
platform:
type: string
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ Some settings will be set globally from the [PrettyEmbedHelper] package. These a
```yaml
Jonnitto:
PrettyEmbedHelper:
# If you want to save the duration of YouTube videos and playlists into the
# property metadataDuration you have to add a API key from YouTube Data API v3
# You can create this key on https://console.cloud.google.com/
youtubeApiKey: null
# For Vimeo and Youtube you can enable here the option the show a confirm dialog
# that external content get loaded and the user may be tracked
enableGdprMessage: false
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
],
"require": {
"jonnitto/prettyembedhelper": "^2.6.3 || dev-master"
"jonnitto/prettyembedhelper": "^2.8 || dev-master"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit e7a388e

Please sign in to comment.