I’m trying to modify mySimpleVideoPlayer to play local MP4 videos stored on my network drive (WD Passport Drive). The NAS drive is visible from my Win 7 development machine running Eclipse with the BrighScript tool. The drive is attached to my Netgear wireless router USB port.
Is this possible?
The original mySimpleVideoPlayer call is:
'Swap the commented values below to play different video clips…
'urls = [“http://video.ted.com/talks/podcast/CraigVenter_2008_480.mp4”]
'qualities = [“HD”]
'StreamFormat = “mp4”
'title = “Craig Venter Synthetic Life”
'srt = “file://pkg:/source/craigventer.srt”
My modified call is:
'Swap the commented values below to play different video clips…
urls = [“file://READYSHARE/USB_Storage/media/IMG_0081.MOV”]
qualities = [“HD”]
StreamFormat = “mp4”
title = “Test Video”
srt = “”
When I export (side load) the application I receive an invalid URL error in the console window:
Button pressed: 2 0
------ Running ------
Type args = roAssociativeArray
Type args.url = Invalid
showSpringboardScreen
Screen closed
As shown, I substituted “http” with “file” in the URL address. I also changed SRT to an empty string. Is this type of streaming from file supported?
Thanks
------ Running ------
Type args = roAssociativeArray
Type args.url = Invalid
showSpringboardScreen
Screen closed
