Reply
Visitor
tspreng
Posts: 6
Registered: ‎03-15-2012
0 Kudos

Dynamically load a playlist via Smart Player API possible?

Hi,

 

is it somehow possible to load a new playlist into a existing player via the Smart Player API?

 

I have designed a player (template) which features a single video playlist and displays fine using SWF and HTML5. Now I would like to dynamically switch the content of the playlist using Javascript. Can anyone tell me if this is even possible and if yes, what's the preferred way?

 

Thanks for any tips.

Brightcove Team
BC-Jonathan
Posts: 235
Registered: ‎09-30-2011
0 Kudos

Re: Dynamically load a playlist via Smart Player API possible?

Hello,

I think you will find this example useful: http://files.brightcove.com/BCL_SmartPlayerAPI_multiple-playlists1.html

Take a look at the source code. I hope this helps.

Thanks
Visitor
tspreng
Posts: 6
Registered: ‎03-15-2012
0 Kudos

Re: Dynamically load a playlist via Smart Player API possible?

Thanks for the example but that's not quite what I meant.

 

I don't want to display a playlist by adding DOM to the page using Javascript. What I am trying to do is, to poplate the playlist inside the player, which is defined using BEML.

 

Is this possible do so?

Brightcove Team
BC-Jonathan
Posts: 235
Registered: ‎09-30-2011
0 Kudos

Re: Dynamically load a playlist via Smart Player API possible?

So you want to dynamically change the content of a Brightcove playlist and not your own custom playlist in HTML?

 

 

Thanks

Visitor
tspreng
Posts: 6
Registered: ‎03-15-2012
0 Kudos

Re: Dynamically load a playlist via Smart Player API possible?

Yes, exactly.

 

I've checked the Smart Player API documentation, but I couldn't find any references to Brightcove playlists.

Brightcove Team
BC-Jonathan
Posts: 235
Registered: ‎09-30-2011
0 Kudos

Re: Dynamically load a playlist via Smart Player API possible?

Correct.  It is encouraged to do something like the first example I sent you because it is all JS/HTML, so mobile/iOS friendly.  

 

Making flash based playlists viewable/navigable on iOS/HTML5 is a more challenging task.

 

I hope this helps.

 

 

Thanks

Regular Contributor
HG
Posts: 104
Registered: ‎07-19-2011
0 Kudos

Re: Dynamically load a playlist via Smart Player API possible?

Hi Jonathan,

 

I understand your desire to encourage developers to take care of their own play lists, but how about those of use who are using your playlist supported template?

 

Thanks,

Helmut