Playlist ItemID (Projekktor Core)
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
Playlist ItemID
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/
Playlist ItemID
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
