matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2018
07:44 AM
RSG Channel wrap icons horizontally down on screen
Hello, I'm hoping this is an easy change but I am using the Roku SG template here - https://github.com/rokudev/videoplayer-channel and I am looking to find out if on the clips screen "The Screen after clicking on a category" if you can have the clips auto wrap horizontally on the screen?
For example, after clicking on 'Entertainment' from the "The Categories Screen" which then loads https://devtools.web.roku.com/videoplayer/xml/music.xml there are 4 clips in it. Only 3 fit on the screen horizontally and you have to scroll over to the right to see the forth clip. So if you have 30 clips then you have to scroll all the way, so I am hope there is an option in the code to just have the clips wrap the screen? I am fine with scrolling down to see the extra clips. Thank you
EDIT: Do I have to add a RowList command like (rowFocusAnimationStyle) somewhere?- https://sdkdocs.roku.com/display/sdkdoc ... LComponent
For example, after clicking on 'Entertainment' from the "The Categories Screen" which then loads https://devtools.web.roku.com/videoplayer/xml/music.xml there are 4 clips in it. Only 3 fit on the screen horizontally and you have to scroll over to the right to see the forth clip. So if you have 30 clips then you have to scroll all the way, so I am hope there is an option in the code to just have the clips wrap the screen? I am fine with scrolling down to see the extra clips. Thank you
EDIT: Do I have to add a RowList command like (rowFocusAnimationStyle) somewhere?- https://sdkdocs.roku.com/display/sdkdoc ... LComponent
5 REPLIES 5
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018
05:40 AM
Re: Hope simple change to wrap channel clips
Not sure if there are any coders here on the Forum but just wondering if this is possible to do? Thanks
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018
09:04 AM
Re: Hope simple change to wrap channel clips
I took a glance at the example code, but I'm just getting into SG myself, so I didn't want to try to give a definitive answer. That being said, I don't think what you want to do is possible with a RowList. If you're wanting to have separate categories on one screen the way they do ("Global Issues" with a bunch of videos, "The Mind" with a bunch of videos, etc.) then I think you're out of luck. You could eliminate the row title labels and have multiple rows with only a few videos in each row, but I think the counter for each row would start at 1, although you could turn off the row counter entirely.
You might want to look into a PosterGrid, but that wouldn't be an easy change for this example. They probably have another example that uses something other than RowList.
-JT
You might want to look into a PosterGrid, but that wouldn't be an easy change for this example. They probably have another example that uses something other than RowList.
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018
09:54 AM
Re: Hope simple change to wrap channel clips
Hi JT, thanks for responding, is it possible to have multiple <feed>'s in one XML list file? Will that start a new line for every feed?
So if I wanted to have 3 videos on one line then can I do?,
EDIT: This option does not work 😞
EG:
So if I wanted to have 3 videos on one line then can I do?,
EDIT: This option does not work 😞
EG:
<feed>
<resultLength>3</resultLength>
<endIndex>3</endIndex>
<item ---------
</item>
<item ---------
</item>
<item ---------
</item>
</feed>
<feed>
<resultLength>3</resultLength>
<endIndex>3</endIndex>
<item ---------
</item>
<item ---------
</item>
<item ---------
</item>
</feed>
renojim
Community Streaming Expert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2018
09:27 PM
Re: Hope simple change to wrap channel clips
I can't say that I follow the code and all the XML feeds enough to offer any advice. This SG stuff makes it damn near impossible to follow someone else's code. :evil: I'd say just try it and see what happens. I suspect it will only take the first <feed> entry and ignore the rest.
-JT
-JT
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
matrixebiz
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2018
09:59 AM
Re: Hope simple change to wrap channel clips
Is there anyone familiar with this RSG channel Template that can show me how to have the video icons wrap the screen if there are too many to fit horizontally when loaded from the Feed XML file.
Thank you
Thank you