Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
venkatareddy
Visitor

progress bar is not diplaying in video

Progress bar is not visible for the first video. When I press back button and play the video again, progress bar is visible.
Tags (1)
0 Kudos
4 REPLIES 4
DadOfTwo
Visitor

Re: progress bar is not diplaying in video

There's not enough information to help with this.

Can you post some example code to give us a clue?
Tags (1)
0 Kudos
venkatareddy
Visitor

Re: progress bar is not diplaying in video

We have the home panel. In home panel we have rowList if we click on rowlist we shows Details Screen in detailsScreen we have the play button if we click on play button video play 

Sub OnContentChange()
    videocontent = createObject("RoSGNode", "ContentNode")
    videocontent.title = "testTitle"
     videocontent.streamformat = "mp4"
    videocontent.url = "http://roku.content.video.llnw.net/smedia/59021fabe3b645968e382ac726cd6c7b/Gb/siCt-V7LOSU08W_Ve1ByJY..."
    m.video.content = videocontent
End Sub

function playButtonClick() as void
            m.video.visible = true
            m.video.setFocus(true)
            m.video.control = "play"
            m.video.observeField("state", "OnVideoPlayerStateChange")
end function
Tags (1)
0 Kudos
DadOfTwo
Visitor

Re: progress bar is not diplaying in video

Hi

The param on the Video Node to display the video progress bar is called enableUI.

You can define this in the XML in SG:

<Video id="videoId" enableUI="true" />    


Or in your embedded Script or .brs file:

sub init()
m.video = m.top.findNode("videoId")
m.video.enableUI = true
end sub
Tags (1)
0 Kudos
venkatareddy
Visitor

Re: progress bar is not diplaying in video

Hi 
I have already used EnableUi in xml file but progress bar is not displaying
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!