I need help understand this code
screen.SetContent({
Title: "My Video"
StreamFormat: "hls"
Stream: { URL: "http://ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/smil:bigbuckbunnyiphone.smil/playlist.m3u8"}
})
screen.Show()
Can you explain what the brackets are for in this code example Why not use one bracket:
screen.SetContent[color=#FF0000]([/color]
Title: "My Video"
StreamFormat: "hls"
Stream: { URL: "http://ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/smil:bigbuckbunnyiphone.smil/playlist.m3u8"}
[color=#FF0000])[/color]
Why do we need all of these brackets:
screen.SetContent[color=#FF0000]({[/color]
Title: "My Video"
StreamFormat: "hls"
Stream: [color=#BF0000]{[/color] URL: "http://ec2-184-72-239-149.compute-1.amazonaws.com:1935/demos/smil:bigbuckbunnyiphone.smil/playlist.m3u8"[color=#BF0000]}[/color]
[color=#FF0000]})[/color]
