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().setMute(state)
API
Volume
videogplayer().setMute(
state
)
プレーヤーをミュートを設定します。状態が未定義の場合、ミュートはトグルされます。
属性
説明
タイプ
必須/任意
state
プレーヤーのミュート状態を設定します。
boolean
任意
results matching "
"
No results matching "
"