โ† Back to All Discussions
Player & Embed Integrations ๐Ÿ“Œ PINNED
20 h ago ยท 7 views

Controlling the embedded player with Player.js

V
Veluraq Team Official Staff
Published on 11/7/2026
### 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.setCurrentTime(45); </script> ```
#player#embed#playerjs
โ–ฒ Upvote (0) 0 Replies

Thread Discussion (0)

No replies yet. Join the conversation below!

Join this conversation

Sign in to post your technical solution, ask a question, or upvote answers.

Log In to Reply Create Account