mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 23:25:35 +00:00
parent
62f8edf027
commit
52983e5813
5
public/js/hls.light.min.js
vendored
5
public/js/hls.light.min.js
vendored
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 a new issue