venkatareddy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018
04:11 AM
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.
4 REPLIES 4
DadOfTwo
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018
09:13 AM
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?
Can you post some example code to give us a clue?
venkatareddy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018
09:46 PM
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_Ve1ByJY5N9emKZeXZvnrH2Yb9c/117_segment_2_twitch__nw_060515.mp4"
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
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_Ve1ByJY5N9emKZeXZvnrH2Yb9c/117_segment_2_twitch__nw_060515.mp4"
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
DadOfTwo
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2018
08:36 AM
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:
Or in your embedded Script or .brs file:
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
venkatareddy
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2018
12:49 AM
Re: progress bar is not diplaying in video
Hi
I have already used EnableUi in xml file but progress bar is not displaying
I have already used EnableUi in xml file but progress bar is not displaying