jkard
14 years agoVisitor
Video "gets stuck" when loading on roVideoScreen
Hey friends,
Hoping I'm doing something stupid on this. I have a test video hosted at Akamai, and am trying to get it to play via a roVideoScreen, but it gets "stuck" about 1/3 way when trying to load. It's a MP4 file and loads just fine in a browser.
Code
Image:

Any thoughts on what is going on or why it won't fully load?
Thanks
Jay
PS - Here is the link to the raw video http://assets.c2mx.com/95786e665c4944f5 ... 5B4600.mp4
Hoping I'm doing something stupid on this. I have a test video hosted at Akamai, and am trying to get it to play via a roVideoScreen, but it gets "stuck" about 1/3 way when trying to load. It's a MP4 file and loads just fine in a browser.
Code
Function ShowVideoScreen(TitleArray As Object)
'Print to Debugger
Print("Initalize Video Screen - [ scr_VideoScreen.ShowVideoScreen() ]")
'Create Video Screen
video = CreateObject("roVideoScreen")
'Create Port
port = CreateObject("roMessagePort")
'Set The Port
video.SetMessagePort(port)
'Associative Array Of Video Values
aa_Video = CreateObject("roAssociativeArray")
'Set Video Attributes
aa_Video.Stream = {url:TitleArray.Lookup("streamURL")}
aa_Video.IsHD = true
aa_Video.Qualities = "HD"
aa_Video.HDBranded = true
aa_Video.StreamFormat = "mp4"
aa_Video.Title = TitleArray.Lookup("Title")
'Set Content To The Video Player
video.SetContent(aa_Video)
'Load And Show The Video
video.Show()
'Set Listener
while true
'Set Msg From Video
msg = Wait(0, video.GetMessagePort())
'Determine User Action
if type(msg) = "roVideoScreenEvent"
if msg.isScreenClosed()
'User Exited
exit while
end if
end if
end while
End Function
Image:

Any thoughts on what is going on or why it won't fully load?
Thanks
Jay
PS - Here is the link to the raw video http://assets.c2mx.com/95786e665c4944f5 ... 5B4600.mp4