docs/dist/videocontext.js
/**
	    * Initialise an instance of a VideoNode.
	    * This should not be called directly, but created through a call to videoContext.createVideoNode();
	    */
Initialise an instance of a VideoNode.
This should not be called directly, but created through a call to videoContext.createVideoNode().
Initialise an instance of a VideoNode . This should not be called directly but created through a call to videoContext . createVideoNode () .
function VideoNode(src, gl, renderGraph, currentTime) {
	        var globalPlaybackRate = arguments.length <= 4 || arguments[4] === undefined ? 1.0 : arguments[4];
	        var sourceOffset = arguments.length <= 5 || arguments[5] === undefined ? 0 : arguments[5];
	        var preloadTime = arguments.length <= 6 || arguments[6] === undefined ? 4 : arguments[6];
	        var videoElementCache = arguments.length <= 7 || arguments[7] === undefined ? undefined : arguments[7];
	        var attributes = arguments.length <= 8 || arguments[8] === undefined ? {} : arguments[8];
	        _classCallCheck(this, VideoNode);
	        _get(Object.getPrototypeOf(VideoNode.prototype), "constructor", this).call(this, src, gl, renderGraph, currentTime);
	        this._preloadTime = preloadTime;
	        this._sourceOffset = sourceOffset;
	        this._globalPlaybackRate = globalPlaybackRate;
	        this._videoElementCache = videoElementCache;
	        this._playbackRate = 1.0;
	        this._volume = 1.0;
	        this._playbackRateUpdated = true;
	        this._attributes = attributes;
	        this._loopElement = false;
	        this._isElementPlaying = false;
	        if (this._attributes.loop) {
	            this._loopElement = this._attributes.loop;
	        }
	        this._displayName = "VideoNode";
	    }
function VideoNode ( src , gl , renderGraph , currentTime ) { var globalPlaybackRate = arguments . length <= 4 || arguments [ 4 ] === undefined ? 1.0 : arguments [ 4 ] ; var sourceOffset = arguments . length <= 5 || arguments [ 5 ] === undefined ? 0 : arguments [ 5 ] ; var preloadTime = arguments . length <= 6 || arguments [ 6 ] === undefined ? 4 : arguments [ 6 ] ; var videoElementCache = arguments . length <= 7 || arguments [ 7 ] === undefined ? undefined : arguments [ 7 ] ; var attributes = arguments . length <= 8 || arguments [ 8 ] === undefined ? { } : arguments [ 8 ] ; _classCallCheck ( this , VideoNode ) ; _get ( Object . getPrototypeOf ( VideoNode . prototype ) , "constructor" , this ) . call ( this , src , gl , renderGraph , currentTime ) ; this . _preloadTime = preloadTime ; this . _sourceOffset = sourceOffset ; this . _globalPlaybackRate = globalPlaybackRate ; this . _videoElementCache = videoElementCache ; this . _playbackRate = 1.0 ; this . _volume = 1.0 ; this . _playbackRateUpdated = true ; this . _attributes = attributes ; this . _loopElement = false ; this . _isElementPlaying = false ; if ( this . _attributes . loop ) { this . _loopElement = this . _attributes . loop ; } this . _displayName = "VideoNode" ; }
Initialise an instance of a VideoNode.
Initialise an instance of a VideoNode .