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: 
johnpane
Reel Rookie

Change font on Video Playback screen?

I want to change the font of the title in the video player (see here) but whatever I do doesn't seem to work. Where in the code do I need to change the font? This is my current code:

    m.Video = m.top.createChild("Video")
    m.Video.width = "1920"
    m.Video.height = "1080"
    m.Video.translation = "[0,0]"
    m.Video.visible = "false"
    m.Video.ObserveField("state","OnVideoPlayerStateChange")
    m.Video.ObserveField("contentIndex","OnPlayerContentIndexChange")

    m.Video.textFont = createObject("roSGNode", "Video")
    m.Video.textFont.uri = "pkg:/fonts/Amiri-Bold.ttf"
    m.Video.textFont.size = 30
    m.Video.textFont = textFont  

 Any help would be appreciated! 

 

0 Kudos
1 REPLY 1
chaklasiyanikun
Roku Guru

Re: Change font on Video Playback screen?

I'm Facing the same problem. Any update on this?

0 Kudos