Commit 45a2a699 authored by Ahoy's avatar Ahoy

Kodik https, fix AdBlock iframe

parent ce900630
Pipeline #8906414 passed with stages
in 57 seconds
...@@ -49,7 +49,6 @@ function yo() { ...@@ -49,7 +49,6 @@ function yo() {
if (window.top.location.protocol == 'https:') { if (window.top.location.protocol == 'https:') {
options.player = options.player options.player = options.player
.replace('kodik', '')
.replace('allserials', '') .replace('allserials', '')
} }
...@@ -153,6 +152,7 @@ function showPlayer(iframe, element, buttons) { ...@@ -153,6 +152,7 @@ function showPlayer(iframe, element, buttons) {
yohohoLoading.style.display = 'none'; yohohoLoading.style.display = 'none';
},2000); },2000);
var yohohoIframe = document.querySelector('#yohoho-iframe'); var yohohoIframe = document.querySelector('#yohoho-iframe');
yohohoIframe.style.display = 'block';
yohohoIframe.setAttribute('src', iframe); yohohoIframe.setAttribute('src', iframe);
if (typeof element.setAttribute === 'function') { if (typeof element.setAttribute === 'function') {
var yohohoActive = document.querySelectorAll('.yohoho-active'); var yohohoActive = document.querySelectorAll('.yohoho-active');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment