Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
TYPO3
sg_youtube
Commits
5f03bb7d
Commit
5f03bb7d
authored
Nov 12, 2021
by
Michael Kessler
Browse files
[TASK] Add upload date to response
parent
165bbd85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Classes/Service/YoutubeService.php
View file @
5f03bb7d
...
...
@@ -133,7 +133,8 @@ class YoutubeService {
'title'
=>
$field
[
'snippet'
][
'title'
],
'description'
=>
strip_tags
(
$field
[
'snippet'
][
'description'
]),
'thumbnail'
=>
$previewImage
[
'url'
],
'url'
=>
'https://www.youtube.com/watch?v='
.
$field
[
'id'
]
'url'
=>
'https://www.youtube.com/watch?v='
.
$field
[
'id'
],
'publishedAt'
=>
$field
[
'snippet'
][
'publishedAt'
],
];
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment