Not really an issue but very helpfull #880
antonyf
started this conversation in
Show and tell
Replies: 1 comment
-
would be better to add this snippet to the discussions board instead, while changing the title to something more descriptive, (for example, why is this helpful?) so it's easier to find |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Creating a new player or multiple players
const players = new Array();
const id = randID();
function makenewplayer(t, id){
<iframe id="'+id +'" onload="makenewplayer(this, '+id+');" src=" url for video with all the extra do's and dont's "></iframe>players[id] = new Vimeo.Player(t);
}
access the player like this:
players[id]..pause();
and so on..
hope this is usefull
Beta Was this translation helpful? Give feedback.
All reactions