Skip to content

Instantly share code, notes, and snippets.

@ThatGuySam
Last active January 22, 2019 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ThatGuySam/9c5f4b58578452c3b8b899578ac2658c to your computer and use it in GitHub Desktop.
Save ThatGuySam/9c5f4b58578452c3b8b899578ac2658c to your computer and use it in GitHub Desktop.
A list of methods for the player instance from Vimeo's Player.js as of January 2019
Example: player._addCard(options)
_addCard
_fireEvent
_hideOutro
_overrideControlbarBehavior
_removeCard
_setControlbarVisibility
_setEmailCapture
_setEmbedEditor
_setEmbedSetting
_setOutro
_showOverlay
_toggleDebugPanel
_unsetEmailCapture
addCuePoint
addEventListener
changeColor
disableTextTrack
enableTextTrack
getAutopause
getBuffered
getColor
getCuePoints
getCurrentTime
getDuration
getEnded
getLoop
getPaused
getPlaybackRate
getPlayed
getSeekable
getTextTracks
getVideoEmbedCode
getVideoHeight
getVideoId
getVideoTitle
getVideoUrl
getVideoWidth
getVolume
get_coordinates
get_fieldOfView
get_like
get_watchLater
loadVideo
off
on
pause
ping
play
removeCuePoint
removeEventListener
seekTo
setAutopause
setColor
setCurrentTime
setLoop
setPlaybackRate
setVolume
set_coordinates
set_fieldOfView
set_like
set_watchLater
unload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment