"RokuMarkn" wrote:
campbellwang, from the logs it looks like you may be setting the StreamFormat to "mp4" rather than "hls". Can you check that, and if you think that's not the issue, please post or PM me the code you're using to create your VideoScreen.
--Mark
"RokuMarkn" wrote:
campbellwang, from the logs it looks like you may be setting the StreamFormat to "mp4" rather than "hls". Can you check that, and if you think that's not the issue, please post or PM me the code you're using to create your VideoScreen.
--Mark
"PRIZM" wrote:
Tried like this <streamFormat>mp4</streamFormat> and still got the progress bar starting to load then back to springboard,. Hmmm...
"RokuMarkn" wrote:
The important thing is what is in your episode object. You must set episode.StreamFormat = "hls".
For a working example using your URL, you can modify the SimpleVideoPlayer example like this:
1. Edit appMain.brs and change the line
videoclip.StreamFormat = "mp4"
to
videoclip.StreamFormat = "hls"
2. Change the line
urls = ["http://video.ted.com/talks/podcast/DanGilbert_2004_480.mp4"]
to
urls = ["http://iphoned5.akamai.com.edgesuite.net/mhbarron/nasatv/nasatv_all.m3u8"]
3. Rebuild the zip file and install it on your Roku box.
--Mark
"PRIZM" wrote:
Im basing this off of the videoplayer example by using an XML would this still apply the same way or how would it be passed to the roVideoScreen object from the XML????"RokuMarkn" wrote:
The important thing is what is in your episode object. You must set episode.StreamFormat = "hls".
For a working example using your URL, you can modify the SimpleVideoPlayer example like this:
1. Edit appMain.brs and change the line
videoclip.StreamFormat = "mp4"
to
videoclip.StreamFormat = "hls"
2. Change the line
urls = ["http://video.ted.com/talks/podcast/DanGilbert_2004_480.mp4"]
to
urls = ["http://iphoned5.akamai.com.edgesuite.net/mhbarron/nasatv/nasatv_all.m3u8"]
3. Rebuild the zip file and install it on your Roku box.
--Mark
"RokuPatrick" wrote:
It would work the same way, but you've got to parse the XML, pull out the relevant fields and set up the roAssociativeArray for the video player."PRIZM" wrote:
Im basing this off of the videoplayer example by using an XML would this still apply the same way or how would it be passed to the roVideoScreen object from the XML????"RokuMarkn" wrote:
The important thing is what is in your episode object. You must set episode.StreamFormat = "hls".
For a working example using your URL, you can modify the SimpleVideoPlayer example like this:
1. Edit appMain.brs and change the line
videoclip.StreamFormat = "mp4"
to
videoclip.StreamFormat = "hls"
2. Change the line
urls = ["http://video.ted.com/talks/podcast/DanGilbert_2004_480.mp4"]
to
urls = ["http://iphoned5.akamai.com.edgesuite.net/mhbarron/nasatv/nasatv_all.m3u8"]
3. Rebuild the zip file and install it on your Roku box.
--Mark