bugfix
This commit is contained in:
parent
9bf8eea56f
commit
6384917c61
@ -22,8 +22,8 @@ event:
|
||||
domoff: remove from dom
|
||||
*/
|
||||
bricks.dom_on_off_observer=new MutationObserver((mutations)=>{
|
||||
for (let mutation of mutations) {
|
||||
for (let n of mutation.removedNodes) {
|
||||
for (let m of mutations) {
|
||||
for (let n of m.removedNodes) {
|
||||
if (n.bricks_widget){
|
||||
var w = n.bricks_widget;
|
||||
w.dispatch('domoff');
|
||||
|
||||
@ -1,4 +1,11 @@
|
||||
|
||||
var bricks = window.bricks || {}
|
||||
/*
|
||||
use hls to play m3u8
|
||||
https://cdn.jsdelivr.net/npm/hls.js@latest
|
||||
use dash to play dash
|
||||
https://cdn.dashjs.org/latest/dash.all.min.js
|
||||
*/
|
||||
|
||||
bricks VideoPlayer = class extends bricks.VBox {
|
||||
constructor(opts) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user