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

How to set retrievingBar position / translation manually

Hello Team,

I am using Video player with custom width and height and at specified location on my screen.

 m.player.width=900
 m.player.height=640
 m.player.translation="[910,210]"

Now where there is "retrievingBar" displayed its position seems relative to Video position like 1920x1080 resolution.
As my player is just 900x640, I want to show that bar on top of my video playback.

I have tried 'm.player.retrievingBar.translation="[10,20]"' but it is not working.

Can we set custom position/translation for retrievingBar / progress bar?

Looking forward for quick support.

Thanks,
Hardik
0 Kudos
3 REPLIES 3
Hardik
Visitor

Re: How to set retrievingBar position / translation manually

@Roku support team,

Is there no one can help to solve issues faced while developing Roku applications?
That will be great if someone atleast give direction to whom to contact when some developer stuck with issue.

Please someone update.

Regards,
Hardik
0 Kudos
norcaljohnny
Roku Guru

Re: How to set retrievingBar position / translation manually

I will try. 

You want to add this line of code inside your video tag 
enableUI="false"

and then you can see the custom settings here https://sdkdocs.roku.com/display/sdkdoc/Video
under UI settings.
0 Kudos
Hardik
Visitor

Re: How to set retrievingBar position / translation manually

Hi, Thanks for reply.

I have already tried this , when we set enableUI=false, it do not show any controls even if we set Width/height.
enableUI="false"


Even I have tried following
 m.player.bufferingbarvisibilityauto=FALSE
 m.player.bufferingBar.translation=[110,900]
 m.player.bufferingBar.width = 100
 m.player.bufferingBar.height = 50
  
 m.player.retrievingbarvisibilityauto=FALSE
 m.player.retrievingBar.translation=[110,900]
 m.player.retrievingBar.width = 100
 m.player.retrievingBar.height = 50
Can you please try and suggest me if I am missing something or something really interesting we need to do in ROKU
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.