API
Introduction
Setup
videogplayer().on('ready')
videogplayer().remove()
Playlist
videogplayer().next()
videogplayer().load(playlist)
videogplayer().playlistItem(index)
videogplayer().getPlaylist()
videogplayer().getPlaylistItem(index)
videogplayer().getPlaylistIndex()
videogplayer().on('playlistComplete')
Playback
videogplayer().play()
videogplayer().pause()
videogplayer().stop()
videogplayer().getState()
videogplayer().on('contentplay')
videogplayer().on('pause')
videogplayer().on('complete')
videogplayer().on('error')
videogplayer().getPlaybackRate()
videogplayer().setPlaybackRate(rate)
videogplayer().on(‘playbackRate’)
Seek
videogplayer().seek(position)
videogplayer().getPosition()
videogplayer().on('seek')
videogplayer().on('seeked')
videogplayer().on('time')
Volume
videogplayer().setMute(state)
videogplayer().setVolume(volume)
videogplayer().getMute()
videogplayer().getVolume()
videogplayer().on('mute')
videogplayer().on('volume')
Controls
videogplayer().addButton(img, tooltip, callback, id, btnClass)
videogplayer().setFullscreen(state)
Advertising
videogplayer().playAd(tag)
videogplayer().pauseAd()
videogplayer().on('adClick')
videogplayer().on('adComplete')
videogplayer().on('adSkipped')
videogplayer().on('adPlay')
videogplayer().on('adPause')
Captions
videogplayer().setCurrentCaptions(index)
videogplayer().setCaption(state)
ビデオグプレイヤーとは
Published with GitBook
videogplayer().pause()
API
Playback
videogplayer().pause()
再生を一時停止し、ビデオグプレイヤーの状態を再生から一時停止に変更します。メディアが既に一時停止中に
pause()
を呼び出すと、何も起こりません。
属性
説明
タイプ
必須/任意
なし
属性は必要ありません
なし
任意
results matching "
"
No results matching "
"