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: 
btpoole
Channel Surfer

Videoplayer App-Not showing jpg on poster

I have modifed the videoplayer app to read the xml files from my local server in order to play programs from my local network. All is well except none of the jpg will load. I enter channel, select a category ( I have modifed these and png shows up), categoryleaf shows as excepted, but under the categoryleaf the image does not show. The title shows up but pic is just a blank box basically with white dots making up a circle in middle of box. This is for all shows. The jpg I am pulling are coming from internet. I have parsed the img from html source and saved it to the xml file. I know it's a good link and properly formated. I can manually enter the url into browser and it takes me to jpg. Would this have something to do with size of jpg? Really lost on this. Can't get i
0 Kudos
3 REPLIES 3
RokuJoel
Binge Watcher

Re: Videoplayer App-Not showing jpg on poster

Well, it could be the size of the .jpg if the image is larger than the recommended sizes for roPosterScreen which you can find here:

http://sdkdocs.roku.com/display/sdkdoc/ ... ringasVoid

Another possibility is that your image has an SSL URL which would require you to call setCertificatesFile & InitClientCertificates for your poster screen component. Also possible is that the image is corrupt in some way that our library can't decode it. Or its a .jpg in name only, for example, you can save a file as a .png but rename it to .jpg and some software will still decode it, but not all.

- Joel
0 Kudos
Romans_I_XVI
Roku Guru

Re: Videoplayer App-Not showing jpg on poster

Just a thought. https:// links will not work by default. Extra steps are needed to handle encryption. Make sure your links start with http:// . I know this tripped me up the first time around.

Otherwise post your XML so we can see it.

Edit: Aww Joel beat me 😛
0 Kudos
btpoole
Channel Surfer

Re: Videoplayer App-Not showing jpg on poster

Thanks for the info. Done a little testing and turns out I have some out of place in the xml. The xml is being created by a php script and looks like I have something out of place. I was able to save the jpg to my server and use one of the xml file provided in the sdk. It worked fine. Just need to track thru the xml creation and find the bug.
Thanks again
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.