2014-01-24, 21:54
Hi,
After adding contents via addDirectoryObject to render the control list, is it possible to retrieve the selected list item? The reason is this, I have a JSON file which include all the info that I need to create the list item with the appropriate "info labels" but not the stream url, which require an additional http request. When I click on the ListItem, it grabs the stream and play it, but I like to pass along the listitem for the info. Or would it be easier to just pass all the relevant info to the function that play the video?
Thanks,[/code]
After adding contents via addDirectoryObject to render the control list, is it possible to retrieve the selected list item? The reason is this, I have a JSON file which include all the info that I need to create the list item with the appropriate "info labels" but not the stream url, which require an additional http request. When I click on the ListItem, it grabs the stream and play it, but I like to pass along the listitem for the info. Or would it be easier to just pass all the relevant info to the function that play the video?
Thanks,[/code]