Skip to content

addPlayer Parameters

Alexandru Branza edited this page Jun 1, 2016 · 9 revisions

Demo usage

player.addPlayer({ multiscreen: 1, vlcArgs: ["--network-caching=30000"] });

Parameters

wcjs - mandatory pass an external wcjs object (this is optional, if not set, it will create a wcjs object)

autoplay - boolean, video will start playback automatically. default is false

mute - boolean, playback will start muted. default is false

loop - boolean, replay the video(s) on end. default is false

allowFullscreen - boolean, if fullscreen is allowed. default is true

multiscreen - boolean, defaults to false, see multiscreen demo

buffer - int, specifies the caching value (in milliseconds) for network resources. (also known as buffering cache)

titleBar - string, specifies when and if the Title Bar should be visible. (default value is "fullscreen", possible values can be "fullscreen", "minimized", "both" or "none")

vlcArgs - array, passes arguments to VLC see list

wcjsRendererOptions - object of parameters for wcjs-renderer

Clone this wiki locally