Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
syntheticMedia
Level 7

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
RokuJoel
Roku Employee
Roku Employee

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
Level 7

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
Roku Employee
Roku Employee

Re: simplevideoplayer example does not play video

add:

srt="" 


to the Gilbert section.
0 Kudos
syntheticMedia
Level 7

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