Skip to content

@capgo/capacitor-jw-player

Playes videos from jwplayer.com.

Playes videos from jwplayer.com.

  • initialize - Initialize the JW Player.
  • play - Play a video.
  • pause - Pause the currently playing media.
  • resume - Resume the currently paused media.
MethodDescription
initializeInitialize the JW Player.
playPlay a video.
pausePause the currently playing media.
resumeResume the currently paused media.
stopStop the currently playing media.
seekToSeek to a specific position in the currently playing media.
setVolumeSet the volume level.
getPositionGet the current position in the media.
getStateGet the current player state.
setSpeedSet the playback speed.
setPlaylistIndexSet the current item in the playlist by index.
loadPlaylistLoad a playlist.
loadPlaylistWithItemsLoad a playlist with items.
getAudioTracksGet available audio tracks.
getCurrentAudioTrackGet the current audio track.
setCurrentAudioTrackSet the current audio track.
getCaptionsGet the available captions/subtitles.
getCurrentCaptionsGet the current captions/subtitles track.
setCurrentCaptionsSet the current captions/subtitles track.
currentPlaylistGet the current playlist.

This reference is synced from src/definitions.ts in capacitor-jw-player.

Keep going from @capgo/capacitor-jw-player

Section titled “Keep going from @capgo/capacitor-jw-player”

If you are using @capgo/capacitor-jw-player to plan native plugin work, connect it with Using @capgo/capacitor-jw-player for the native capability in Using @capgo/capacitor-jw-player, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, Adding or Updating Plugins for the implementation detail in Adding or Updating Plugins, and Ionic Enterprise Plugin Alternatives for the product workflow in Ionic Enterprise Plugin Alternatives.