Roku Developer Program

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

HD Flag is not visible

Howdy,

I'm having trouble getting the HD flag to appear on my springboard screen. I tried setting the IsHD flag on the content item but it doesn't seem to work. Here's my code:


port = CreateObject("roMessagePort")
screen = CreateObject("roSpringboardScreen")

print "showSpringboardScreen"

screen.SetMessagePort(port)
screen.AllowUpdates(false)

screen.SetDescriptionStyle("movie")
screen.ClearButtons()
screen.AddButton(1,"Play")
screen.SetStaticRatingEnabled(false)
screen.AllowUpdates(true)
screen.Show()

if item.IsHD then
print "This item is HD so the icon better be showing"
end if

if item <> invalid and type(item) = "roAssociativeArray"

item.ContentType = "episode"
item.Length = strtoi(item.Runtime)

screen.SetContent(item)
endif


I see my print statement on the console, but I don't get the HD icon (neither on the springboard OR the video loading progress bar). From the docs, this appears the way to make this happen.

Thanks!
Joe
0 Kudos
2 Replies
renojim
Level 10

Re: HD Flag is not visible

Did you try HDBranded?

-JT
0 Kudos
breakmedia
Level 7

Re: HD Flag is not visible

That worked - Thanks!
0 Kudos