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().playAd(tag)
API
Advertising
videogplayer().playAd(
tag
)
すぐに広告を再生するために使用されます。
属性
説明
タイプ
必須/任意
tag
VASTタグのURL。
string
必須
results matching "
"
No results matching "
"