Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
syntheticMedia
Channel Surfer

simplevideoplayer example does not play video

Hello,

Basically as the title suggests, I have not had luck getting the simplevideoplayer to play video. I have tried unaltered from examples/zip, and also tried uncommenting several of the options in appMain.brs (even tried my own video, nothing seems to work). SDK is up to date 2.9. For example, the Carl Venter video debug suggests the srt is opened, then says play failed, but nothing more. The Dan Gilbert and buck bunny video indicates several <uninitialized> errors.

FWIW the same thing happens with videoplayer example as well.

Any suggestions? Thanks!
0 Kudos
4 REPLIES 4
RokuJoel
Binge Watcher

Re: simplevideoplayer examples do not play video

Try setting qualities to ["SD"] instead of ["HD"] if you are in SDTV mode.

- Joel
0 Kudos
syntheticMedia
Channel Surfer

Re: simplevideoplayer example does not play video

Thanks Joel that did the trick!

EDIT- worked for the Venter video but not for the Gilbert video (made sure to uncomment tshowSpringboardScreen(itemMpeg4)) and set to SD.

Apologies if i am missing something in the documentation

thanks!
0 Kudos
RokuJoel
Binge Watcher

Re: simplevideoplayer example does not play video

add:

srt="" 


to the Gilbert section.
0 Kudos
syntheticMedia
Channel Surfer

Re: simplevideoplayer example does not play video

Thanks Joel you have been a big help, this worked and has made me understand a few other things in the process, thanks for your time!
0 Kudos