๐ PINNED
Player & Embed Integrations
20 h ago
### Control the player from your page
The Veluraq player implements the **Player.js** protocol.
```html
<iframe id="video-frame" src="https://YOUR_HOST/embed/LIBRARY_ID/VIDEO_ID" allow="autoplay; fullscreen" width="640" height="360"></iframe>
<script src="https://cdn.jsdelivr.net/npm/playerjs@0.0.12/dist/player.min.js"></script>
<script>
const player = new playerjs.Player(document.getElementById('video-frame'));
player.on('ready', () => console.log('Player is ready'));
player.on('timeupdate', (d) => console.log(d.seconds, d.duration));
// player.play(); player.pause(); player.setCurโฆ