function getIframe(a)
{
return'<iframe src="'+a+'" scrolling="no" frameborder="0" allowfullscreen="" webkitallowfullscreen="" mozallowfullscreen=""></iframe>'
}
$(document).on("click","[data-load-embed]",function()
{
var a=$(this).attr("data-load-embed");
var b=$(this).attr("data-load-embed-host");
$("[data-load-embed]").removeClass("active");
$(this).addClass("active");
var c="https://v1.nontongo.win/embed/movie/getEmbed.php?id="+a+"&sv="+b+"&embed=true";
$("#autoembed").html(getIframe(c));
$("#autoembed").addClass("active");
$("#mainautoembed").addClass("hidden")
}
);
$(document).on("click","#showMainButton",function()
{
var a=$("#mainautoembed");
var b=$("#autoembed");
if(a.hasClass("hidden"))
{
a.removeClass("hidden");
b.removeClass("active")
}
else
{
a.addClass("hidden");
b.addClass("active")
}
}
);
© 2023 Quttera Ltd. All rights reserved.