parent
62f8edf027
commit
52983e5813
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,4 @@
|
|||
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
|
||||
function playVideo(overlay) {
|
||||
const video = overlay.parentElement.querySelector('video');
|
||||
const url = video.getAttribute("data-url");
|
||||
|
@ -20,3 +21,4 @@ function playVideo(overlay) {
|
|||
});
|
||||
}
|
||||
}
|
||||
// @license-end
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
|
||||
function insertBeforeLast(node, elem) {
|
||||
node.insertBefore(elem, node.childNodes[node.childNodes.length - 2]);
|
||||
}
|
||||
|
@ -61,3 +62,4 @@ window.onload = function() {
|
|||
}
|
||||
});
|
||||
};
|
||||
// @license-end
|
||||
|
|
Loading…
Reference in New Issue