1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

jwplayer to stay in fullscreen when playing playlist

Discussion in 'JavaScript' started by stephan2307, May 26, 2017.

  1. #1
    Hi,

    Building a little elearning tool using jwplayer

    I am using the jwplayer to play a playlist containing mp3 audios and images which looks like a powerpoint presentation. ie audio1.mp3 plays while image1.png is displayed then audio2.mp3 while image2.png is displayed etc etc

    Everything works well except that if I view it in full screen mode and audio1.mp3 is finished, the player exits the full screen and I have to turn full screen mode on manually for the next track.

    Does anyone know if it is possible to stay in fullscreen mode when tracks change?
    SEMrush
    Thanks
     
    stephan2307, May 26, 2017 IP
    SEMrush
  2. akhileshbc

    akhileshbc Active Member

    Messages:
    88
    Likes Received:
    1
    Best Answers:
    5
    Trophy Points:
    75
    #2
    If you are using in HTML5 mode, try calling the setFullscreen() method when each file is finished playing:
    jwplayer().setFullscreen(true);
    Code (JavaScript):
    See if it works.
     
    akhileshbc, May 26, 2017 IP
  3. stephan2307

    stephan2307 Active Member

    Messages:
    1,227
    Likes Received:
    22
    Best Answers:
    7
    Trophy Points:
    90
    #3
    Thanks.

    Tried your solution and unfortunately the screen goes small and then large again. Not an effect that I am looking for. Will come up with a different solution.
     
    stephan2307, Jun 1, 2017 IP