Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

getPlayListItem on the iPad

1 reply [Last post]
Reply

Hello,

I'm running a number of videos with a playlist and I want to store the filename of the video that is currently playing using the following line of code:

var thisFile = jwplayer().getPlaylistItem()["file"];

This works great on the desktop; the filename is stored in the variable and I can use javascript to work with it.

However, it doesn't work on the iPad.

After running many tests I found the culprit. If I run

var thisFile = jwplayer().getPlaylistItem()

the iPad does receive [object Object]

However, once I attach the ["file"], nothing is returned.

Any ideas on how I can get the filename from the object on the iPad?

Thanks.

DEM

Reply

perhaps try asking this in the Apple iPAD forum

http://www.ipadforums.net/

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options