Add Channel support (#144)
* Add Channel support * Cross fade * add todo
This commit is contained in:
1 parent
38a054a46a
commit
f452bf23de
16 files changed
+347
-60
No files matched your search
@@ -7,6 +7,7 @@ import "pkg:/source/utils/ErrorUtils.bs"
|
||||
import "pkg:/components/Dialog/DialogUtils.bs"
|
||||
import "pkg:/components/VideoPlayer/VideoUtils.bs"
|
||||
import "pkg:/components/PlaylistView/PlaylistUtils.bs"
|
||||
import "pkg:/components/ChannelView/ChannelUtils.bs"
|
||||
|
||||
function Init()
|
||||
m.pendingLoadTasks = {}
|
||||
@@ -78,6 +79,7 @@ function OnRowItemSelected(event as object)
|
||||
else if rowItem.type = "channel"
|
||||
authorId = rowItem.authorId
|
||||
m.log.info("Open channel: " + authorId)
|
||||
ChannelUtils.Open(rowItem)
|
||||
else if rowItem.type = "action"
|
||||
if rowItem.action = "LoginDialog"
|
||||
dialog = CreateObject("roSGNode", "LoginDialog")
|
||||
|
||||
Reference in new issue
Block a user