mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
parent
c159f99451
commit
5e7b9aaa99
1 changed files with 45 additions and 35 deletions
|
@ -1309,10 +1309,20 @@ function avideoModalIframeFullScreenClose() {
|
|||
avideoModalIframeFullScreenOriginalURL = false;
|
||||
}
|
||||
|
||||
window.onload = function () {
|
||||
if (typeof history.pushState === "function") {
|
||||
console.log('history.pushState loaded');
|
||||
window.onpopstate = function () {
|
||||
console.log('onpopstate');
|
||||
avideoModalIframeFullScreenClose();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
function avideoModalIframeFull(url) {
|
||||
avideoModalIframeFullScreen(url);
|
||||
}
|
||||
""
|
||||
|
||||
function avideoModalIframeWithClassName(url, className) {
|
||||
url = addGetParam(url, 'avideoIframe', 1);
|
||||
var html = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue