Linear

Playlist ItemID (Projekktor Core)

by Pv @, Belgium, Monday, June 18, 2012, 17:50 (338 days ago)

Hi There,

first of all, thanks for this great player!

Could you explain me how/where I should set the itemID in the a json Playlist? I would like to display a list of thumbnails and play the corresponding video in the list on click, but I don't see how to force to play a specific item.

Thanks in advance!


Pv

  542 views
Avatar

Playlist ItemID

by sascha ⌂ @, Tuesday, June 19, 2012, 12:45 (337 days ago) @ Pv

Hi Pv,

right now the "itemID" is just for tracking purposes. But you´re right. It absolutely makes sense to provide a possibility to address items by that ID.

Having this said today items are addressed by their playlist-index. The internal playlist pointer can be set via ".setActiveItem()".

- sascha

---
Help keeping free Projekktor support alive. Consider to buy supporter license: http://shop.projekktorxl.com/shop/supporter-license/

Tags:
setActiveItem, itemid, playlist

  619 views

Playlist ItemID

by Pv @, Belgium, Wednesday, June 20, 2012, 18:36 (336 days ago) @ sascha

Hi Sascha,

thanks for your response. Indeed I finally did it by using the index, but I think that would be great to be able to do that with key, because the order of the thumbnails could be different than the order of the playlist.

Cheers!

Pv

  497 views