mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 02:56:29 +00:00
parent
62f8edf027
commit
52983e5813
3 changed files with 8 additions and 1 deletions
3
public/js/hls.light.min.js
vendored
3
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) {
|
function playVideo(overlay) {
|
||||||
const video = overlay.parentElement.querySelector('video');
|
const video = overlay.parentElement.querySelector('video');
|
||||||
const url = video.getAttribute("data-url");
|
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) {
|
function insertBeforeLast(node, elem) {
|
||||||
node.insertBefore(elem, node.childNodes[node.childNodes.length - 2]);
|
node.insertBefore(elem, node.childNodes[node.childNodes.length - 2]);
|
||||||
}
|
}
|
||||||
|
@ -61,3 +62,4 @@ window.onload = function() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
// @license-end
|
||||||
|
|
Loading…
Reference in a new issue