32 lines
570 B
Plaintext
32 lines
570 B
Plaintext
|
{
|
||
|
"id":"channel_list",
|
||
|
"widgettype":"HBox",
|
||
|
"options":{
|
||
|
"size_hint":[1,1]
|
||
|
},
|
||
|
"subwidgets":[
|
||
|
{
|
||
|
"widgettype":"urlwidget",
|
||
|
"options":{
|
||
|
"url":"{{entire_url('./channels_show.ui')}}"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id":"vplayer",
|
||
|
"widgettype":"urlwidget",
|
||
|
"options":{
|
||
|
"url":"{{entire_url('./video.ui')}}"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"binds":[
|
||
|
{
|
||
|
"wid":"search_result",
|
||
|
"event":"on_selected",
|
||
|
"actiontype":"script",
|
||
|
"target":"vplayer",
|
||
|
"script":"self.set_source(args[1].row_data['url'])"
|
||
|
}
|
||
|
]
|
||
|
}
|