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?
Note: Error in code, missing a } to close out 'plugins'. This is not the problem, the code example above is only for illustration.