"priya_sp" wrote:
im getting this error when i try to deploy the brightscript code in atom editor..anyone can help?
should i install node.js??
getting this error
Exception when creating zip file
EPERM: operation not permitted, open 'D:\scene graph\SceneGraphXMLTutorial\source\main.brs'
"EnTerr" wrote:
Has the contraption been known/tested to work with "/spaces in the path/and file.name"?
"hclapp_1" wrote:
Seems like node not installed in his machine.....
<component name = "PanelExample" extends = "Panel" initialFocus="exampleVideo">
<interface >
<field id = "description" type = "string" onChange = "showdescription" />
</interface>
<script type = "text/brightscript" >
<![CDATA[
sub init()
m.top.panelSize = "full"
m.top.focusable = true
m.top.hasNextPanel = true
m.top.isFullScreen = false
end sub
sub showdescription()
videocontent = createObject("RoSGNode", "ContentNode")
videocontent.title = "Example Video"
print videocontent.title
videocontent.streamformat = "mp4"
'videocontent.url = "http://roku.cpl.delvenetworks.com/media/59021fabe3b645968e382ac726cd6c7b/f8de8daf2ba34aeb90edc55b2d380c3f/b228eeaba0f248c48e01e158f99cd96e/rr_123_segment_1_072715.mp4"
videocontent.url = m.top.description
print m.top.description
m.video = m.top.findNode("exampleVideo")
m.video.content = videocontent
m.video.setFocus(true)
print m.video.hasFocus()
m.video.control = "play"
m.video.loop = true
print "state"
[size=85][font=Helvetica Neue, Helvetica, Arial, sans-serif] end sub[/font][/size]
</script>
<children >
<Rectangle
id = "infoRectangle"
translation = "[ 0, 10 ]"
height = "460"
width = "1020"
color = "0x101010C0">
<Video id = "exampleVideo" height = "560"
width = "1020"/>
</Rectangle>
</children>
</component>