JavaScript API

Articles Questions
  •   How do I get the filename of the currently playing item from a playlis... 0 answers posted Nov 27, 2015 06:08PM EST

    I know that I can use playerInstance.getPlaylistItem()['file'] to return the name of the _first_ source file in the currently playing playlist, but I have a playlist containing low and high resolution versions ...

  •   [Important] Problem with Google Index & JW player CDN 0 answers posted Nov 26, 2015 11:08AM EST

    HI, I have a big problem with your Cloud-Hosted Player. According to Google indexer (Search Console), my pages with a video has not indexed because of this url

  •   Bug Report: Can't Toggle Video Quality in HTML5 JW7 2 answers posted Nov 24, 2015 06:09PM EST

    JW7 HTML5 player can't toggle progressive download video, though the Flash Player has no issue: Try switching, it just goes to a loader graphic and never recovers...

  •   Keep Trying Until HLS Stream Starts 2 answers posted Nov 24, 2015 10:47AM EST

    I am having some issues with HLS Streams and version 7.2.2 I had previously asked here:

  •   Pause on beforeComplete (Prevent Stop event) 2 answers posted Nov 24, 2015 12:21AM EST

    playerInstance.on('beforeComplete', function(e){ //alert("before"); playerInstance.pause(true); console.log("tried to stop!"); }); The code above is meant to pause the player instead of allowing it to...

  •   Add YouTube URL to Playlist Using load() in JW 7 1 answers posted Nov 23, 2015 10:26AM EST

    I have code that uses load() to replace the "active" video in a player with a single file reference. When I try this using a URL to a YouTube video, I get the "Error: No suitable provider found." I'm using a cl...

  •   If Paused, Pause OnSeek, If Playing, Keep Playing OnSeek 6 answers posted Nov 21, 2015 05:28PM EST

    I'm stuck. I've figured out a way (finally) to get the player to respect the user has the video already paused when they seek, but now it pauses even when the user attempts to seek while playing. playerInsta...

  •   Multiple ads via API 2 answers posted Nov 19, 2015 03:08AM EST

    Is there a way to use playAd in order to play 2 ads in a row? without using ad pod / VAMP.

  •   Multiple captions on web 1 answers posted Nov 18, 2015 03:48PM EST

    I am looking for a way to house multiple captions in my jwplayer setup object. Right now the captions area of my setup object looks like: { captions: [ { file: "", kind: ...

  •   v7.1: "display:none" to make background appear transparent - no longer... 1 answers posted Nov 18, 2015 03:29AM EST

    hi, until jwplayer v7.0.3, we used what might be considered a hack in order to display the video player with a transparent background instead of the default black: using css, we added "display:none" to .jw...

Can't find what you're looking for? Log In here to ask our community a question.

Still don't have JW Player? Get It Here