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

Episode Description

I have made an app for a friend that plays live video from his CDN and I want to add a description to the bottom that says "If stream doesnt load, Please try again later" can this be done? Thanks
0 Kudos
1 Reply
Highlighted
Roku Employee
Roku Employee

Re: Episode Description

Where do you want to add this message? If you want to add it to the video playback screen you really can't, unless you want to make the message part of the video title set by the Title content meta data value:

metaData = {
ContentType: "episode",
Title: "[Video Name] (If this doesn't play...)",
Stream: {
Url: m.appInfo.video_url
},
StreamFormat: m.appInfo.stream_format
}

videoScreen.SetContent( metaData )
0 Kudos