Commit e5a942df authored by Michael Kessler's avatar Michael Kessler
Browse files

[TASK] Add javascript integration to README

parent 360698b5
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment