Forum Discussion

btpoole's avatar
btpoole
Channel Surfer
11 years ago

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

3 Replies

  • 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
  • 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 😛
  • btpoole's avatar
    btpoole
    Channel Surfer
    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