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

Forums

/

The Grid; Javascript API problem. Possible Bug

3 replies [Last post]
Reply

Hello Experts!,

Using 5.8, and Grid-2.

Possible bug: While the Grid is displayed and I callplaylistItem(index), you can hear the video playing, but no video shows, the Grid screen remains.

Example:

// Set up Player
jwplayer('container').setup({
  flashplayer: '/jwplayer/player.swf',
  height: 270,
  width: 480,
  'dock': 'true',
  'plugins': {
  'grid-2': {}
});

// Load a playlist

jwplayer("container").load(
[
   { title: 'cool video1',  file: '/uploads/video.mp4', image: '/uploads/video1.jpg' },
   { title: 'cool video2', file: '/uploads/bbb.mp4', image: '/uploads/video2.jpg' },
   { title: 'cool video3', file: '/uploads/ed.mp4', image: '/uploads/video3.jpg' }
]
);

Make the following API call:

jwplayer("container").playlistItem(1);

The Grid screen remains and we hear the audio of the video being played, but no video showing. :-(

How are you supposed to play a item from the playlist using Grid and the Javascript API?

Reply

Note: Error in code, missing a } to close out 'plugins'. This is not the problem, the code example above is only for illustration.

Reply

Please see a sample of the problem here:

http://www.globaltourcreatives.com/gtcforce/creatives/share/gridtest.php?token=3a9a29f511613ccb3b682...

Just click on any Blue play button and you will see the problem…

Thanks :-D

Reply

The player loads fine here for me, but if you close and open the examples, I do see what you are talking about. Unfortunately, I don't believe this plugin does anything with the API and doesn't send any events, so this won't work correctly I'm afraid.

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