2

Is there a way to update the image: during playback? We are using it for live audio and I would like to update the player with the album art.

austinh
  • 1,061
  • 6
  • 13
  • 34

1 Answers1

0

If you're using a live audio stream, then you will need to identify some event on your page in order to fire the function to update the image. Once you identify the event you want to tie it to, you can update the image using the following code.

jwplayer('player').load({
          "image": "newimage.jpg"
      });

Your player needs some way of knowing when the song has changed, how do you plan on identifying that?

Elon Zito
  • 2,872
  • 1
  • 24
  • 28
  • If I use this in Chrome's console, it should work, right? It pauses the player whenever I use it there. As for the timing, we show title/artist info on the same page, so I have that trigger already made – austinh Jan 26 '16 at 19:03