mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-06 03:55:36 -05:00
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
|
||||
|
||||
Reference in New Issue
Block a user