@ff0000-ad-tech/ad-video
v2.0.3
Published
[![npm (tag)](https://img.shields.io/npm/v/@ff0000-ad-tech%2Fad-video.svg?style=flat-square)](https://www.npmjs.com/package/@ff0000-ad-tech%2Fad-video) [![GitHub issues](https://img.shields.io/github/issues/ff0000-ad-tech/ad-video.svg?style=flat-square)](
Downloads
7
Readme
RED Interactive Agency - Ad Technology
Video
Media Players
API
AlphaVideoPlayer
- new AlphaVideoPlayer()
AudioPlayer
- new AudioPlayer()
- .autoPlay : boolean
- .percent : number
- .source : string
- .load()
- .play()
- .pause()
- .seek(sec)
- .stop()
- .mute()
- .unmute()
CuePoints
- new CuePoints()
VideoControls
- new VideoControls()
- .controlBar : UIControlBar
- .replayOnInteraction : boolean
- .unmuteOnInteraction : boolean
VideoPlayer
- new VideoPlayer()
- .complete : boolean
- .hasPlayed : boolean
- .onComplete : function
- .onFail : function
- .onBuffer : function
- .onProgress : function
- .onReady : function
- .container : UIComponent
- .screen : video
- .autoPlay : boolean
- .currentTime : number
- .duration : number
- .paused : boolean
- .percent : number
- .source : string
- .volume : number
- .muted : boolean
- .forceInline : boolean
- .load()
- .play()
- .pause()
- .seek(sec)
- .stop()
- .mute()
- .unmute()
- .resize(width, height)
- .addCuePoint(time, handler, params)
- .addControls(obj)
YouTubePlayer
- new YouTubePlayer()
- .paused : boolean
- .percent : number
- .currentTime : number
- .complete : boolean
- .onReady : function
- .onComplete : function
- .onFail : function
- .onBuffer : function
- .onProgress : function
- .onPlay : function
- .onAutoPlay : function
- .onStop : function
- .onPause : function
- .container : UIComponent
- .volume : number
- .source : string
- .url : string
- .autoPlay : boolean
- .muted : boolean
- .nativeControls : boolean
- .allowFullScreen : boolean
- .quality : string
- .hide()
- .show()
- .play()
- .pause()
- .seek(sec)
- .stop()
- .mute()
- .unmute()
- .addCuePoint(time, handler, params)
MediaEvent
- .AUTOPLAY : string
- .BUFFER : string
- .COMPLETE : string
- .FAIL : string
- .MUTE : string
- .PAUSE : string
- .PLAY : string
- .PROGRESS : string
- .READY : string
- .STOP : string
- .UNMUTE : string
UIButtonFullScreen
- new UIButtonFullScreen()
UIButtonMute
- new UIButtonMute()
UIButtonPlayPause
- new UIButtonPlayPause()
UIButtonReplay
- new UIButtonReplay()
UIControlBar
- new UIControlBar()
- .constant : boolean
- .showOnPoster : boolean
UITimeDisplay
- new UITimeDisplay()
- .showDuration : boolean