Function
Name | Description | |
---|---|---|
![]() |
nil VideoResource(string title, string url, string description, string thumbnail, int duration) | sends a video "link" to the media device |
Shortcut Name | ||
![]() |
_vr() |
Example
VideoResource("Video", "http://www.url.com/video.mp4", "Video Description", "http://www.url.com/video.jpg", 10000); --the URL field can also accept code: VideoResource("Video", "func:nameOfFunction", "Video Description", "http://www.url.com/video.jpg", 10000); VideoResource("Video", "code:_SPECIAL_resolve_xml=ResolveXML('http://www.url.com/video.mp4');", "Video Description", "http://www.url.com/video.jpg", 10000); VideoResource("Video", "exec:Script Name.lua", "Video Description", "http://www.url.com/video.jpg", 10000); --to include the date of a video, add the special XML to the description VideoResource("Video", "http://www.url.com/video.mp4", 'Video Description<special date=\"1.0\"><year>2009</year><month>11</month><day>23</day></special>', "http://www.url.com/video.jpg", 10000); |