JUMP TOJavaScript Player APIIntroductionSetupjwplayer(div).setup(options)remove()setConfig()getProvider()getContainer()getEnvironment()getPlugin()Setup EventsAllon('all')AdvertisinggetAdBlock()pauseAd(state)loadAdTag(tag)loadAdXml(xml)playAd(tag)skipAd()skipAdBreak()Advertising EventsAudio TracksgetAudioTracks()getCurrentAudioTrack()setCurrentAudioTrack(index)Audio Tracks EventsBuffergetBuffer()Buffer EventsCaptionsgetCaptions(styles)setCaptions(styles)getCaptionsList()getCurrentCaptions()setCurrentCaptions(index)Captions EventsCastrequestCast()stopCasting()Cast EventsControlsaddButton(img, tooltip, callback, id, btnClass)addCues([cues])getControls()getCues()getSafeRegion()removeButton(id)setAllowFullscreen(allowFullscreen)setControls(state)setCues([cues])Control EventsFloating PlayergetFloating()setFloating(shouldFloat)Floating Player EventsMetadataMetadata EventsPlaybackgetPlaybackRate()setPlaybackRate(rate)getState()play()pause()stop()Playback EventsPlaylistnext()getPlaylist()getPlaylistItem(index)getPlaylistIndex()load(playlist)playlistItem(index)setPlaylistItemCallback(callback)removePlaylistItemCallback()getPlaylistItemPromise(index)Playlist EventsQualitygetQualityLevels()getCurrentQuality()getVisualQuality()setCurrentQuality(index)Quality EventsRelatedrelatedPlugin.open()relatedPlugin.close()Related EventsResizegetFullscreen()getHeight()getWidth()resize(width, height)Resize EventsSeekgetPosition()getAbsolutePosition()getDuration()seek(position)Seek EventsSharingsharingPlugin.open()sharingPlugin.close()Sharing EventsViewabilitygetContainerPercentViewable()getContainerViewable()getPercentViewable()getViewable()Viewability EventsVolumegetMute()getVolume()setMute(state)setVolume(volume)Volume EventsConfiguration OptionsGetting startedOptionsSetup OptionsAdvertisingAuto PauseCaptionsCastingCommon Media Client DataDo Not Save CookiesDRMFloat on scrollGoogle Analytics (ga)InternationalizationLogoPlaylistsRelatedSharingSkinTime sliderCSS ReferenceCSS Skin ReferencegetPlugin()Targets a particular plugin for API calls. Currently functions with our Sharing and Related plugins.