Your 2nd Add-On: Online Videos!
#47
It's 2017 now and im checking the updated code in github. I noticed that for this example, setArt is called once the ListItem is created. What if I don't have those information / data yet (image url)? when do i call setArt() ?

while checking for docs, I can see some snippets like: self.list.getSelectedItem().setArt({ 'poster': 'poster.png', 'banner' : 'banner.png' }) but they its always 1-liner and i don't know what class this refers to? At first i was thinking to do a while look at the end of the script and keep checking what is the current selected item, but for obvious reasons, its just wrong.

Thanks in advance. Great sample!
Reply


Messages In This Thread
Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:28
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-20, 15:33
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-11-30, 14:42
RE: Your 2nd Add-On: Online Videos! - by zag - 2015-12-01, 12:58
RE: Your 2nd Add-On: Online Videos! - by zag - 2016-01-18, 14:37
RE: Your 2nd Add-On: Online Videos! - by jaywidanem - 2017-06-02, 19:04
RE: Your 2nd Add-On: Online Videos! - by pa79 - 2020-09-09, 19:59
Logout Mark Read Team Forum Stats Members Help
Your 2nd Add-On: Online Videos!2