bugfix
This commit is contained in:
parent
48f4a5654c
commit
09b78e025f
@ -26,6 +26,7 @@ bricks.VideoBody = class extends bricks.Layout {
|
|||||||
bricks.Video = class extends bricks.Layout {
|
bricks.Video = class extends bricks.Layout {
|
||||||
/*
|
/*
|
||||||
{
|
{
|
||||||
|
title:
|
||||||
vtype:
|
vtype:
|
||||||
url:
|
url:
|
||||||
fullscreen:
|
fullscreen:
|
||||||
@ -150,4 +151,19 @@ bricks.Video = class extends bricks.Layout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bricks.Iptv = class extends bricks.VBox {
|
||||||
|
/*
|
||||||
|
{
|
||||||
|
iptv_data
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
constructor(opts){
|
||||||
|
super(opts);
|
||||||
|
this.user_data = iptv_data;
|
||||||
|
this.video = new bricks.Video({url:opts.iptv_data.url});
|
||||||
|
this.title_w = new bricks.Text({text:opts.iptv_data.title, wrap:false});
|
||||||
|
this.add_widget(this.title_w);
|
||||||
|
this.add_widget(this.video);
|
||||||
|
}
|
||||||
|
}
|
||||||
bricks.Factory.register('Video', bricks.Video);
|
bricks.Factory.register('Video', bricks.Video);
|
||||||
|
Loading…
Reference in New Issue
Block a user