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: 
priya_sp
Visitor

video progress bar problem

progress bar is missing in video .can anyone help me ? can you please tel me where am i going wrong ?
i have created a panel and inside the panel i have created the video component.my video is playing but only the play,retrieving ,pause bar are not coming.
please guide me

<?xml version = "1.0" encoding = "utf-8" ?>

<!--********** Copyright 2015 Roku Corp.  All Rights Reserved. **********-->

<component name = "Panel3" extends = "Panel" >

  <script type="text/brightscript" >

    <![CDATA[

    sub init()
      m.top.panelSize = "medium"
      m.top.focusable = true
      m.top.hasNextPanel = true
      videocontent = createObject("RoSGNode", "ContentNode")
      videocontent.title = "Example Video"
      videocontent.streamformat = "mp4"
      videocontent.url = "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/f8de8daf2ba34aeb90edc55b2d380c3f/b228eeaba0f248c48e01e158f99cd96e/rr_123_segment_1_072715.mp4"

      m.video = m.top.findNode("exampleVideo")
      m.video.content = videocontent
      m.video.setFocus(true)
      m.video.control = "play"
      m.video.loop = true
      m.video.enableUI = true

      print "state"

    end sub


    ]]>

  </script>

  <children>

    <Rectangle
      id = "infoRectangle"
      translation = "[0, 0 ]"
      height = "460"
      width = "520"
      color = "0x101010C0" >

      <Label
        id = "infoLabel"
        translation = "[ 15, 15 ]"
        text = "panel 3"
        height = "430"
        width = "490"
        wrap = "true"
        font = "font:MediumBoldSystemFont" />
        <Video id = "exampleVideo"   height = "460"
              width = "500"/>
    </Rectangle>

  </children>

</component>
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.