Implements load method for multi-video widget

This commit is contained in:
hadi 2023-10-30 13:27:28 +01:00
parent 6ee162ccd5
commit 9b2d208e8e

View File

@ -121,6 +121,15 @@ class multi_video extends HTMLElement {
} }
} }
/**
* Calls load method for all its sub videos
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/load
*/
load()
{
this._videos.forEach(_item =>{_item.node.load()});
}
/** /**
* init/update video tags * init/update video tags
* @param _value * @param _value