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
e5a942df
Commit
e5a942df
authored
Jun 02, 2021
by
Michael Kessler
Browse files
[TASK] Add javascript integration to README
parent
360698b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e5a942df
...
...
@@ -28,6 +28,15 @@ plugin.tx_sgyoutube {
}
```
### JavaScript integration
```
javascript
import
LightboxManager
from
'
lightboxManager
'
;
// You can change the lightboxSettings however you like but .sg-youtube-item was the old selctor
LightboxManager
.
init
({
props
:
{
type
:
'
video
'
},
lightboxSettings
:
{
selector
:
'
.sg-youtube-item
'
}});
```
### Registration for more than the free 10.000 quotas per day
It's not 1 quota per 1 API call. Each API has its own costs, which can be seen in the link below.
...
...
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