roku

Redirect to Home page After Clicked Save button using bright script?

橙三吉。 提交于 2019-12-23 07:12:54
问题 I have created Login Screen and setting URL Screen in bright script with the credential username, password in Login screen and setting URL in setting URL Screen with two buttons save and setting. Here simply my Login Screen: Login Screen ''''''''''''''''''''''''''''''''''''''''''''''''''' UserName: TextBox1 Password: TextBox2 Save Setting ''''''''''''''''''''''''''''''''''''''''''''''''''' I Click the Setting Button open setting URL Screen it's here: URL Screen '''''''''''''''''''''''''''''''

How to display HTML page using BrightScript

回眸只為那壹抹淺笑 提交于 2019-12-14 02:38:05
问题 I would like to display a single HTML web page on a Roku channel. I have no need to follow hyperlinks, but the page does have periodic updates. Is it possible to write a BrightScript application that uses Gecko to render the page, or would I have to draw the page myself? I see plenty of information as well as examples in the Roku SDK that describe how to provide user navigation and play video on a Roku box using BrightScript, but I can't find any information about displaying a single HTML

Change default font roFontRegistry in Roku

一世执手 提交于 2019-12-13 06:07:12
问题 I have created a page with roImageCanvas ,and i am trying to change its default font with another one.bellow is my code but this won't work.Please help me to resolve this error.thanks in advance. canvas = CreateObject("roImageCanvas") port = CreateObject("roMessagePort") canvas.SetMessagePort(port) items = [] FontInterface=CreateObject("roFontRegistry") 'create global font access Fontinterface.Register("pkg:/source/Univers.ttf") Font=FontInterface.GetFont("Univers",36,false,false) FontSmall

How feasible is Roku app development with Marmalade?

久未见 提交于 2019-12-13 02:09:46
问题 Marmalade can be used to make Roku apps in C++. From their website, they seem to encourage game dev in Roku. If I want to make a normal TV channel app in Roku with some graphics, how feasible will it be to make the app using Marmalade? 回答1: App development is possible, though Marmalade is very game tailored. However, can't make a TV channel, since in Marmalade there is no video streaming API (i.e. cannot play network stream). Moreover, the UI will be a pain - you'll have to create your own

C or C++ development in Roku

时光毁灭记忆、已成空白 提交于 2019-12-12 17:50:52
问题 Is it possible to develop applications for Roku in C or C++ as the SDK is written in C ? If yes, how? If no, then which languages other than Brightscript can apps be developed in? 回答1: My understanding is yes, at least with games and the Marmalade SDK https://www.roku.com/developer. I actually just downloaded the SDK and have not looked at it in much detail yet, but as it seems, developing for Roku involves a mix of Brightscript, C++ and Java (Android). Hope that helps! 来源: https:/

Trouble playing vid pre-roll ad in Roku

自古美人都是妖i 提交于 2019-12-12 04:22:29
问题 I'm trying to add VAST video pre-roll ads to the SThree sample Roku SDK project (the "Simple Grid with Video and Details page (.zip)" version). I can get it to work on app start by putting the following code into main.brs : library "Roku_Ads.brs" ... Sub RunUserInterface() ... raf = Roku_Ads() raf.setAdPrefs(false) 'disable back-filled ads raf.setDebugOutput(true) raf.setAdUrl("http://pubads.g.doubleclick.net/gampad/ads?slotname=/82114269/Video/fallbacktest&sz=1920x1080&url=[http://roku.com

Roku: Playback is not smooth on Roku-4 device for 1080p@60fps HEVC content

老子叫甜甜 提交于 2019-12-12 02:14:16
问题 I am running "customvideoplayer" sample application present inside roku SDK on a Roku-4 device. I got the roku SDK from this link: http://wwwimg.roku.com/static/sdk/RokuSDK.zip I am testing a 1080p@60fps HEVC stream. The Roku-4 is connected to a 1080p@60fps TV. The issue is that the playback is not smooth. I can see some frames are rendered for more time compare to others. My questions are: 1) According to Roku documentation(Link: https://sdkdocs.roku.com/display/sdkdoc/Video+Encoding

Why the items in all the rows of row list are getting repeated in brightscript

你离开我真会死。 提交于 2019-12-12 01:23:35
问题 I am trying to use rowlist which contain 3 rows. Each row will contain 11 items. But when it is getting displayed, after 11 items, again items are getting repeated in all the rows. Below are the XML files. BrowseScreen.xml <?xml version="1.0" encoding="utf-8" ?> <component name="BrowseScreen" extends="Group"> <children> <!-- The main content --> <RowList id="BrowseRowList" itemComponentName="customItem" focusXOffset="[0]" itemSize="[1920,500]" numRows="3" drawFocusFeedback="false"

How can I stream Youtube videos in my Roku Channel? [closed]

吃可爱长大的小学妹 提交于 2019-12-11 13:07:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I am trying to create a Roku channel that could stream video content from a Youtube Channel. I am aware of a Linux command-line program (youtube-dl) that can let me programmatically download videos that I can potentially reference via Youtube video ids obtained by the Youtube API results. My issue with youtube-dl

Maintain Focus with two textbox and button using Brightscript

拟墨画扇 提交于 2019-12-11 08:48:32
问题 I created a one Login Form in the bright script. It's following ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' TextBox 1 ' Here the focus is active I set by default in TextBox field active = true TextBox 2 ' Here the press down key to active true Button 1 ' Here again press down key to focus true ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''