Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference-test-app/components/MainScene/MainScene.brs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ sub initPosterGrid()
m.mediaGrid = m.top.findNode("contentPosterGrid")
m.mediaGrid.itemComponentName = "SimpleRowListItem"
m.mediaGrid.numRows = 1
m.mediaGrid.itemSize = [itemWidth * getSourceDescriptionArray().Count() + 20 * 2, itemHeight]
m.mediaGrid.itemSize = [(itemWidth + 30) * 4, itemHeight]
m.mediaGrid.rowHeights = [itemHeight]
m.mediaGrid.rowItemSize = [itemWidth, itemHeight]
m.mediaGrid.itemSpacing = [ 0, 80 ]
Expand Down
6 changes: 3 additions & 3 deletions reference-test-app/components/MainScene/MainScene.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<script type="text/brightscript" uri="pkg:/components/configs/Content.brs"/>

<children>
<ComponentLibrary id="THEOsdk" uri="https://cdn.myth.theoplayer.com/roku/10.6.0/THEOplayerSDK.pkg" />
<ComponentLibrary id="THEOConvivaConnector" uri="https://cdn.myth.theoplayer.com/roku/10.6.0/THEOConvivaConnector.pkg" />
<ComponentLibrary id="THEOComscoreConnector" uri="https://cdn.myth.theoplayer.com/roku/10.6.0/THEOComscoreConnector.pkg" />
<ComponentLibrary id="THEOsdk" uri="https://cdn.myth.theoplayer.com/roku/10.8.0/THEOplayerSDK.pkg" />
<ComponentLibrary id="THEOConvivaConnector" uri="https://cdn.myth.theoplayer.com/roku/10.8.0/THEOConvivaConnector.pkg" />
<ComponentLibrary id="THEOComscoreConnector" uri="https://cdn.myth.theoplayer.com/roku/10.8.0/THEOComscoreConnector.pkg" />

<Rectangle color="0xffffff11" width="1920" height="1080"/>

Expand Down
14 changes: 12 additions & 2 deletions reference-test-app/components/configs/Content.brs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
' ===== Sources and Content Metadata =====
function getSourceDescriptionArray() as object
defaultPosterUrl = "http://devtools.web.roku.com/samples/images/Landscape_1.jpg"
defaultPosterUrl = "https://placehold.co/1920x1080.png?text=THEOplayer+Roku"
hlsMimeType = "application/x-mpegurl"
dashMimeType = "application/dash+xml"
content = [
Expand Down Expand Up @@ -35,11 +35,21 @@ function getSourceDescriptionArray() as object
{
"poster": defaultPosterUrl,
"live": false,
"title": "Big Buck Bunny - VOD",
"title": "Big Buck Bunny - HLS VOD",
"sources": {
"src": "https://contentserver.prudentgiraffe.com/videos/hls/big_buck_bunny/big_buck_bunny.m3u8",
"type": hlsMimeType

}
},
{
"poster": defaultPosterUrl,
"live": false,
"title": "Angel One - DASH VOD",
"sources": {
"src": "https://storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd",
"type": dashMimeType

}
}
]
Expand Down