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: 
newchannel
Roku Guru

Grid with HLS?

Trying to add hls to a grid row. When I click play my popup says "could not connect to server". The url works...what do I have incorrect in the following code or what have I left out?

<row title="test">
<item type="video"    title= "test" sdposterurl="http://xxxxx140x94.jpg" hdposterurl="http://xxxxx210x158.jpg"     length="" 
url="http://xxxxx/playlist.m3u8" contentid="test" 
streamFormat="hls" streamquality="SD" streambitrate="">     <!--  -->
                  <description>test              </description>
 
     </item> </row>
http://www.victoryNOWfilmsandtv.com
0 Kudos
5 REPLIES 5
newchannel
Roku Guru

Re: Grid with HLS?

Fixed it by making streamFormat to streamformat. 

It played one of my channel streams  but when I tested with one of my own channel links for a channel I have (a ustream channel) it didn't play. Not sure how to get it to work for that link..ugh
http://www.victoryNOWfilmsandtv.com
0 Kudos
EnTerr
Roku Guru

Re: Grid with HLS?

"newchannel" wrote:
Fixed it by making streamFormat to streamformat.

Wait... are you saying that ro-graphy is case-sensitive (regarding XML element and attribute names)?
WAT?!
[spoiler=WAT:2tcbn4ft][/spoiler:2tcbn4ft]
0 Kudos
TheEndless
Channel Surfer

Re: Grid with HLS?

"EnTerr" wrote:
"newchannel" wrote:
Fixed it by making streamFormat to streamformat.

Wait... are you saying that ro-graphy is case-sensitive (regarding XML element and attribute names)?
WAT?!

That's not SceneGraph.  It looks like it's probably a modified version of the videoplayer example.  That aside, XML is case-sensitive, so yes, SceneGraph XML is also case-sensitive, at least with respect to the element names.. I don't think attributes are case-sensitive, though.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
newchannel
Roku Guru

Re: Grid with HLS?

I just know I tried the link and it wouldn't play then I noticed I had streamFormat and once I made the change to streamformat the link played perfectly.

But, I can't get my ustream link to play. Am I missing some parameter or have pieces of the code in the wrong place? 

Can someone help me with this?
http://www.victoryNOWfilmsandtv.com
0 Kudos
EnTerr
Roku Guru

Re: Grid with HLS?

"TheEndless" wrote:
... XML is case-sensitive, so yes, SceneGraph XML is also case-sensitive, at least with respect to the element names.. I don't think attributes are case-sensitive, though.

Hmmm. XML being case-preserving does not create semantical "mandate" for roSG that uses it to be case-sensitive. Two illustrations: 
    (a) roXmlElement is not case-sensitive (unless you want it to)
    (b) your observation that roSG currently is case-sensitive for elements but case-insensitive for attributes shows it can do whatever the heck it wants (XML is innocent)
So seems it's been the road of least resistance for roSG on this so far, not a matter of principle.

This diversion aside, whoever knows something on OP's question, should answer.
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.