#lds-66a1696fb0de3avideoLoader-wrapper { position: fixed; left: 0 !important; width: 100% !important; height: 100% !important; z-index: 1000; margin: 0 !important; } #lds-66a1696fb0de3avideoLoader { display: block; position: relative; left: 50%; top: 50%; width: 150px; height: 150px; margin: -175px 0 0 -75px; border-radius: 50%; border: 3px solid transparent; border-top-color: #3498db; -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ z-index: 1001; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } #lds-66a1696fb0de3avideoLoader:before { content: ""; position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px; border-radius: 50%; border: 3px solid transparent; border-top-color: #e74c3c; -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ } #lds-66a1696fb0de3avideoLoader:after { content: ""; position: absolute; top: 15px; left: 15px; right: 15px; bottom: 15px; border-radius: 50%; border: 3px solid transparent; border-top-color: #f9c922; -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */ animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */ } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(0deg); /* IE 9 */ transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ } 100% { -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(360deg); /* IE 9 */ transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ } } @keyframes spin { 0% { -webkit-transform: rotate(0deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(0deg); /* IE 9 */ transform: rotate(0deg); /* Firefox 16+, IE 10+, Opera */ } 100% { -webkit-transform: rotate(360deg); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: rotate(360deg); /* IE 9 */ transform: rotate(360deg); /* Firefox 16+, IE 10+, Opera */ } } #lds-66a1696fb0de3avideoLoader-wrapper .lds-66a1696fb0de3avideoLoader-section { position: fixed; top: 0; width: 50%; height: 100%; background: #00000077; z-index: 1000; -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(0); /* IE 9 */ transform: translateX(0); /* Firefox 16+, IE 10+, Opera */ } #lds-66a1696fb0de3avideoLoader-wrapper .lds-66a1696fb0de3avideoLoader-section.section-left { left: 0; } #lds-66a1696fb0de3avideoLoader-wrapper .lds-66a1696fb0de3avideoLoader-section.section-right { right: 0; } #lds-66a1696fb0de3avideoLoader-wrapper .lds-66a1696fb0de3avideoLoader-section.section-left { -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(0); /* IE 9 */ transform: translateX(0); /* Firefox 16+, IE 10+, Opera */ -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); } #lds-66a1696fb0de3avideoLoader-wrapper .lds-66a1696fb0de3avideoLoader-section.section-right { -webkit-transform: translateX(0); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(0); /* IE 9 */ transform: translateX(0); /* Firefox 16+, IE 10+, Opera */ -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000); } /* Loaded */ .loaded #lds-66a1696fb0de3avideoLoader-wrapper .lds-66a1696fb0de3avideoLoader-section.section-left { -webkit-transform: translateX(-100%); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(-100%); /* IE 9 */ transform: translateX(-100%); /* Firefox 16+, IE 10+, Opera */ } .loaded #lds-66a1696fb0de3avideoLoader-wrapper .lds-66a1696fb0de3avideoLoader-section.section-right { -webkit-transform: translateX(100%); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateX(100%); /* IE 9 */ transform: translateX(100%); /* Firefox 16+, IE 10+, Opera */ } .loaded #lds-66a1696fb0de3avideoLoader { opacity: 0; } .loaded #lds-66a1696fb0de3avideoLoader-wrapper { visibility: hidden; -webkit-transform: translateY(-100%); /* Chrome, Opera 15+, Safari 3.1+ */ -ms-transform: translateY(-100%); /* IE 9 */ transform: translateY(-100%); /* Firefox 16+, IE 10+, Opera */ -webkit-transition: all 0.3s 1s ease-out; transition: all 0.3s 1s ease-out; }
.epgProgress.progress-bar-primary{opacity: 0.5;}.epgProgress:hover{opacity: 1.0;}.epgProgressText{border-right: 1px solid #FFF; height:100%;}
body.fullScreen{overflow: hidden;}
.liveVideo{
position: relative;
}
.liveVideo .liveNow, .liveVideo .liveFuture{
position: absolute;
bottom: 5px;
right: 5px;
}
#availableLiveStream{
width: 350px;
overflow: hidden;
max-height: 75vh;
overflow-y: auto;
}
#availableLiveStream li a div{
overflow: hidden;
}
0:12:47
Vusi1-1
13 Views
1 year ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
This young man can speak for himself and needs no introduction. Mixed with humour there is a lot of truth so pay attention
0:41:06
ORCHESTRATED CRIMES AGAINST HUMANITY: SOPHISTICATED EVIL-6
2 Views
1 year ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
Before "science" was humanity (That is Humanity predates Science) and even before humanity was creation so "Science" is neither creation nor holds the answer to creation so simply treat it as a tool for effectively getting by in your reality and never worship it. As an "Expert" only knows that to which they claim "expertise" in it and often times knows virtually little about other things so "Wisdom" is not something they may posses so do not let them steer your hand or mind.
These people DO IT because THEY CAN, and THEY CAN simply because YOU AID and ABET them as if YOU, in the first place, did not give them ROOM to strongly believe they can do it and get away with it they would NOT do it. So, in effect the real challenge is YOU and your MINDSET as the role of the MINION is often filled with YOU as without the MINIONS they are powerless as it is the MINIONS (YOU) that do the dirty work FOR THEM. MINIONS are the soldiers, the police, the clandestine agents, the unquestionable servants lustfully bonded in servitude as it is YOU that gives them the power to do to YOU what they want to DO to YOU! So in your analyse THINK objectively and honestly as both the key and cure lies in all honesty in YOUR HANDS.
============================================================================================================================================================
Let us apply the 5WH Thinking Frame Work to get us started:
WHAT are these people in this video talking about?
WHO are these people in this video?
WHEN did this whole planning start?
WHERE is this whole planning taking place?
WHY are they even planning this in the first place?
HOW are they going to go about achieving their objectives?
The Idris 5WH Thinking Framework speaks for itself always make sure you habituate applying it to anything and everything in your world.
0:21:18
THEY STEAL EVERYTHING FROM OTHERS
18 Views
1 year ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
YES! IT IS AFRICA THAT HAS FOR CENTURIES NOW BEEN THE SOURCE OF THEIR WEALTH
There is an African proverb that says when Elephants fight it is always the grass at the bottom that suffers. Lets hope this fight ends well!
0:25:11
WHAT THEY DONT TELL YOU ABOUT THE USE OF NON PROFIT ORGANIZATIONS
2 Views
1 year ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
The Rich Families Club. Amazing how these sick people think simply because they are privy to finances then some how they are "special" and above all others. There must be something deficient in the brain that makes anyone amputate their minds to this level. But then do not BLAME them blame yourself as it is your own brothers and sisters, mothers and fathers, cousins and nieces etc. who put these sort of creatures on pedestals and thus glorify them....as the real problem starts with the peoples MINDSET!
0:18:37
YOU BELIEVED IN THEIR JAB AND TOOK IT
2 Views
1 year ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
As is no wclear as day to see...tehy PATENTED you! So what does this mean: Well for starters total subservience and obedience or they flip the switch that can cause you immense illness or even die! One has to ask WHY would anyone not be able to see through this SCAM? This is the greatest scam ever which was so obvious yet many fell for it! You better start thinking how you can limit the damage they can do to you remotely from this madness they have got you into. Think of all the "components" they need to make it work and start working backwards from their on your solution to helping to keep yourself alive long enough!
0:33:07
THE BEST OF ALL CORBET HAS SAID TO DATE
2 Views
1 year ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
Mr Corbet has for a long while been doing the research and explaining in depth to the people and this summarizes all that he has learned over 15 years of trying to communicate to the public their wider reality.
These lessons are genuine lessons worth anyone who understands the greater dynamics and has experience themselves of the mindset of the "masses" to acknowledge. Well done James as these are very true statements!!
1:06:51
WHEN REALITY OF ONES OWN ACTIONS HITS HOME IT TRULY HURTS
1 Views
1 year ago
Add to
Want to watch this again later?
Sign in to add this video to a playlist.
Login
They "Believed" and like teh many that perish they fell prey to liars. How ironic that people are jsut so gullible and will go along with "any" thing they are told by "AUTHORITY" to do. Here ar ethe sad stories of those who fell for the greatest SCAM of all times!
var showPleaseWaitTimeOut = 1000;
var avideoLoader = ' ';
var webSiteRootURL = 'http://lusquan11.com/';
var my_users_id = 0;
var my_identification = "Unknown User";
var mediaId = 0;
var player;
var _serverTime = "1721854319";
var _serverDBTime = "1721861519";
var _serverTimeString = "2024-07-24 20:51:59";
var _serverDBTimeString = "2024-07-24 22:51:59";
var _serverTimezone = "Africa/Abidjan";
var avideoModalIframeFullScreenCloseButton = "\n \n \n \n \n <\/svg> \n <\/button>\n\n\n\n\n";
var avideoModalIframeFullScreenCloseButtonSmall = "\n \n \n \n \n <\/svg>\n <\/button>\n\n\n\n\n";
var PHPSESSID = "odc46hs5jm7n4n1sj5c6slb15v";
var img1 = new Image();img1.src="http://lusquan11.com/view/img/video-placeholder-gray.png";
var playLiveInFullScreen = true
var autoPlayAjax=false;
var _adWasPlayed = 0;
$(document).ready(function () {
YPTHidenavbar();
});
async function refreshGetLiveImage(selector) {
$(selector).find('.thumbsImage img').each(function (index) {
var src = $(this).attr('src');
src = addGetParam(src, 'cache', Math.random());
$(this).attr('src', src);
});
setTimeout(function () {
$(selector).slideDown();
}, 1000); // give some time to load the new images
}
var _processLiveStats_processingNow = 0;
async function processLiveStats(response) {
if(_processLiveStats_processingNow){
return false;
}
_processLiveStats_processingNow = 1;
setTimeout(function(){_processLiveStats_processingNow=0;},200);
if (typeof response !== 'undefined') {
if (isArray(response)) {
for (var i in response) {
if (typeof response[i] !== 'object') {
continue;
}
//console.log('processLiveStats is array', response[i]);
processApplicationLive(response[i]);
}
} else {
//console.log('processLiveStats not array', response);
processApplicationLive(response);
}
if (!response.countLiveStream) {
availableLiveStreamNotFound();
} else {
$('#availableLiveStream').removeClass('notfound');
}
$('.onlineApplications').text($('#availableLiveStream > div').length);
}
setTimeout(function () {
if (typeof linksToFullscreen === 'function') {linksToFullscreen('.liveVideo a, #availableLiveStream a');} }, 200);
}
function getStatsMenu(recurrentCall) {
if (avideoSocketIsActive()) {
return false;
}
availableLiveStreamIsLoading();
$.ajax({
url: webSiteRootURL + 'plugin/Live/stats.json.php?Menu',
success: function (response) {
//console.log('getStatsMenu processLiveStats', response);
processLiveStats(response);
if (avideoSocketIsActive()) {
//console.log('getStatsMenu: Socket is enabled we will not process ajax result');
return false;
}
if (recurrentCall) {
var timeOut = 60000;
setTimeout(function () {
getStatsMenu(true);
}, timeOut);
}
}
});
}
async function processApplicationLive(response) {
if (typeof response.applications !== 'undefined') {
var applications = response.applications;
response.applications = [];
for (let key in applications) {
if (applications[key].hasOwnProperty('html')) {
response.applications.push(applications[key]);
}
}
if (typeof onlineLabelOnline == 'function' && response.applications.length) {
//console.log('processApplicationLive 1', response.applications, response.applications.length);
for (i = 0; i < response.applications.length; i++) {
//console.log('processApplicationLive 1 title', response.applications[i].title);
processApplication(response.applications[i]);
if (!response.applications[i].comingsoon) {
if (typeof response.applications[i].live_cleanKey !== 'undefined') {
selector = '.liveViewStatusClass_' + response.applications[i].live_cleanKey;
onlineLabelOnline(selector);
}
if (typeof response.applications[i].key !== 'undefined') {
selector = '.liveViewStatusClass_' + response.applications[i].key;
onlineLabelOnline(selector);
}
}
}
mouseEffect();
}else{
//console.log('processApplicationLive ERROR', response);
}
}
// check for live servers
var count = 0;
while (typeof response[count] !== 'undefined') {
//console.log('processApplicationLive 2',count, response[count].applications, response[count].applications.length);
for (i = 0; i < response[count].applications.length; i++) {
processApplication(response[count].applications[i]);
}
count++;
}
}
function availableLiveStreamIsLoading() {
if ($('#availableLiveStream').hasClass('notfound')) {
availableLiveStreamEmpty();
}
}
function availableLiveStreamNotFound() {
$('#availableLiveStream').addClass('notfound');
availableLiveStreamEmpty();
}
async function availableLiveStreamEmpty() {
$('#availableLiveStream').empty();
}
var linksToEmbedTimeout;
async function processApplication(application) {
href = application.href;
title = application.title;
name = application.name;
user = application.user;
photo = application.photo;
if (application && typeof application.key == 'string') {
key = application.key.replace(/[&=]/g, '');
} else {
key = '';
}
////console.log('processApplication', application.className);
callback = '';
if (typeof application.callback === 'string') {
callback = application.callback;
}
isPrivate = application.isPrivate;
if (application.type === 'Live') {
online = application.users.online;
views = application.users.views;
} else {
online = 0;
views = 0;
}
if (typeof application.html != 'undefined') {
var notificationHTML = $(application.html);
var notificatioID = (notificationHTML.attr('id') + '_notification').replace(/[&=]/g, '');
if (typeof key !== 'undefined') {
////console.log('processApplication remove class .live_' + key);
$('.live_' + key).remove();
}
if (!$('#' + notificatioID).length) {
notificationHTML.attr('id', notificatioID);
if (application.comingsoon) {
//console.log('application.comingsoon 1', application.comingsoon, application.method);
$('#availableLiveStream').append(notificationHTML);
} else {
$('#availableLiveStream').prepend(notificationHTML);
}
animateChilds('#availableLiveStream', 'animate__bounceInRight', 0.05);
} else {
////console.log('processApplication is already present '+notificatioID, application.className);
}
var html;
html = application.htmlExtra;
var id = $(html).attr('id').replace(/[&=]/g, '');
if ($('#' + id).length) {
//console.log('processApplication key found', id);
return false;
}
//console.log('processApplication key NOT found', id);
if (application.comingsoon) {
////console.log('application.comingsoon 2', application.comingsoon, application.method);
$('#liveScheduleVideos .extraVideos').append(html);
$('#liveScheduleVideos').slideDown();
} else {
$('#liveVideos .extraVideos').prepend(html);
$('#liveVideos').slideDown();
}
setTimeout(function () {
lazyImage();
}, 1000);
if (callback) {
eval("try {" + callback + ";} catch (e) {console.log('processApplication application.callback error',e.message);}");
}
} else {
//console.log('application.html is undefined');
}
clearTimeout(linksToEmbedTimeout);
linksToEmbedTimeout = setTimeout(function () {
if (typeof linksToFullscreen === 'function') {linksToFullscreen('.liveVideo a, #availableLiveStream a');} avideoSocket();
}, 500);
if (application.users && typeof application.users.views !== 'undefined') {
$('.views_on_total_on_live_' + application.users.transmition_key + '_' + application.users.live_servers_id).text(application.users.views);
}
}
function socketLiveONCallback(json) {
//console.log('socketLiveONCallback processLiveStats', json);
processLiveStats(json.stats);
var selector = '.live_' + json.live_servers_id + "_" + json.key;
$(selector).slideDown();
if (typeof onlineLabelOnline == 'function') {
selector = '#liveViewStatusID_' + json.key + '_' + json.live_servers_id;
onlineLabelOnline(selector);
selector = '.liveViewStatusClass_' + json.key + '_' + json.live_servers_id;
onlineLabelOnline(selector);
selector = '.liveViewStatusClass_' + json.cleanKey;
////console.log('socketLiveOFFCallback 3', selector);
onlineLabelOnline(selector);
}
// update the chat if the history changes
var IframeClass = ".yptchat2IframeClass_" + json.key + "_" + json.live_servers_id;
if ($(IframeClass).length) {
var src = $(IframeClass).attr('src');
if (src) {
avideoToast('Loading new chat');
var newSRC = addGetParam(src, 'live_transmitions_history_id', json.live_transmitions_history_id);
$(IframeClass).attr('src', newSRC);
}
}
if(isInLive(json)){
playerPlay();
showImage('prerollPoster', json.cleanKey);
}
}
function socketLiveOFFCallback(json) {
//console.log('socketLiveOFFCallback', json);
var selector = '.live_' + json.live_servers_id + "_" + json.key;
selector += ', .liveVideo_live_' + json.live_servers_id + "_" + json.key;
selector += ', .live_' + json.key;
////console.log('socketLiveOFFCallback 1', selector);
$(selector).slideUp("fast", function () {
$(this).remove();
});
if (typeof onlineLabelOffline == 'function') {
selector = '#liveViewStatusID_' + json.key + '_' + json.live_servers_id;
////console.log('socketLiveOFFCallback 2', selector);
onlineLabelOffline(selector);
selector = '.liveViewStatusClass_' + json.key + '_' + json.live_servers_id;
////console.log('socketLiveOFFCallback 3', selector);
onlineLabelOffline(selector);
selector = '.liveViewStatusClass_' + json.cleanKey;
////console.log('socketLiveOFFCallback 3', selector);
onlineLabelOffline(selector);
}
setTimeout(function () {
//console.log('socketLiveOFFCallback processLiveStats');
processLiveStats(json.stats);
setTimeout(function () {
hideExtraVideosIfEmpty();
}, 500);
}, 500);
if(isInLive(json)){
showImage('postrollPoster', json.cleanKey);
}
}
async function hideExtraVideosIfEmpty() {
$('#liveScheduleVideos .extraVideos').each(function (index, currentElement) {
var somethingIsVisible = false;
$(this).children('div').each(function (index2, currentElement2) {
if ($(this).is(":visible")) {
somethingIsVisible = true;
return false;
}
});
if (!somethingIsVisible) {
$('#liveScheduleVideos').slideUp();
}
});
$('#liveVideos .extraVideos').each(function (index, currentElement) {
var somethingIsVisible = false;
$(this).children('div').each(function (index2, currentElement2) {
if ($(this).is(":visible")) {
somethingIsVisible = true;
return false;
}
});
if (!somethingIsVisible) {
$('#liveVideos').slideUp();
}
});
}
$(document).ready(function () {
if (!avideoSocketIsActive()) {
availableLiveStreamIsLoading();
getStatsMenu(true);
}
processLiveStats({"total":0,"applications":[],"countLiveStream":0,"timezone":"Africa\/Abidjan"}); });
$(function () {
$("#navBarFlag").change(function () {
var selfURI = "http://lusquan11.com/view/trending.php";
window.location.href = addGetParam(selfURI, 'lang', $(this).val());
});
});
$(document).ready(function () {
loadPL('883','66a1696fc7b11');
});
$(document).ready(function () {
loadPL('316','66a1696fca5f1');
});
$(document).ready(function () {
loadPL('527','66a1696fd02f8');
});
$(document).ready(function () {
loadPL('256','66a1696fd75b6');
});
$(document).ready(function () {
loadPL('483','66a1696fdced2');
});
$(document).ready(function () {
loadPL('282','66a1696fe3c10');
});
$(document).ready(function () {
loadPL('29','66a1696feab7c');
});
$(document).ready(function () {
loadPL('134','66a1696ff1763');
});
$(document).ready(function () {
loadPL('278','66a16970032e1');
});
$(document).ready(function () {
loadPL('521','66a169700914e');
});
$(function () {
/** showAlertMessage !requestComesFromSafePlace **/ });
var playListsAdding = false;
var playList = [];
function reloadPlayLists() {
if (!isOnline()) {
return false;
}
//console.log('reloadPlayLists');
$.ajax({
url: webSiteRootURL + 'objects/playlists.json.php',
success: function (response) {
playList = response;
reloadPlayListButtons();
}
});
}
function reloadPlayListButtons() {
//console.log('reloadPlayListButtons');
$('.watchLaterBtnAdded').hide();
$('.favoriteBtnAdded').hide();
$('.watchLaterBtn').show();
$('.favoriteBtn').show();
for (var i in playList) {
if (!playList[i].id || (playList[i].status !== 'watch_later' && playList[i].status !== 'favorite')) {
continue;
}
for (var x in playList[i].videos) {
if (typeof (playList[i].videos[x]) === 'object') {
if (playList[i].status === 'watch_later') {
$('.watchLaterBtn' + playList[i].videos[x].videos_id).hide();
$('.watchLaterBtnAdded' + playList[i].videos[x].videos_id).show();
} else if (playList[i].status === 'favorite') {
$('.favoriteBtn' + playList[i].videos[x].videos_id).hide();
$('.favoriteBtnAdded' + playList[i].videos[x].videos_id).show();
}
}
}
}
}
loadPlayListsResponseObject = {timestamp: 0, response: false};
function loadPlayLists(videos_id, crc) {
//console.log('loadPlayLists');
if (loadPlayListsResponseObject.timestamp + 5000 < Date.now()) {
loadPlayListsResponseObject.timestamp = Date.now();
loadPlayListsResponseObject.response = [];
setTimeout(function () {
$.ajax({
url: 'http://lusquan11.com/objects/playlists.json.php',
cache: true,
success: function (response) {
loadPlayListsResponseObject.response = response;
loadPlayListsResponse(loadPlayListsResponseObject.response, videos_id, crc);
}
});
;
}, 500);
} else {
if (loadPlayListsResponseObject.response) {
loadPlayListsResponse(loadPlayListsResponseObject.response, videos_id, crc);
} else {
setTimeout(function () {
loadPlayLists(videos_id, crc);
}, 1500);
}
}
}
async function loadPlayListsResponse(response, videos_id, crc) {
//console.log('loadPlayListsResponse');
//console.log(response, videos_id, crc);
$('.searchlist' + videos_id + crc).html('');
for (var i in response) {
if (!response[i].id) {
continue;
}
var icon = "fa fa-lock"
if (response[i].status == "public") {
icon = "fa fa-globe"
} else if (response[i].status == "watch_later") {
icon = "fas fa-clock"
} else if (response[i].status == "favorite") {
icon = "fas fa-heart"
}
var checked = "";
for (var x in response[i].videos) {
if (typeof (response[i].videos[x]) === 'object' && response[i].videos[x].videos_id == videos_id) {
checked = "checked";
}
}
var randId = (("_" + response[i].id) + videos_id) + Math.random();
$(".searchlist" + videos_id + crc).append(' '
+ response[i].name_translated + '
');
}
$('.searchlist' + videos_id + crc).btsListFilter('#searchinput' + videos_id + crc, {itemChild: 'span'});
$('.playListsVideosIds' + videos_id).change(function () {
if (playListsAdding) {
return false;
}
playListsAdding = true;
addVideoToPlayList(videos_id, $(this).is(":checked"), $(this).val());
return false;
});
}
function addVideoToPlayList(videos_id, isChecked, playlists_id) {
//console.log('addVideoToPlayList');
modal.showPleaseWait();
$.ajax({
url: webSiteRootURL + 'objects/playListAddVideo.json.php',
method: 'POST',
data: {
'videos_id': videos_id,
'add': isChecked,
'playlists_id': playlists_id
},
success: function (response) {
reloadPlayLists();
//console.log(".playListsIds_" + playlists_id + '_videos_id_' + videos_id);
$(".playListsIds_" + playlists_id + '_videos_id_' + videos_id).prop("checked", isChecked);
modal.hidePleaseWait();
setTimeout(function () {
playListsAdding = false
}, 500);
}
});
}
$(document).ready(function () {
reloadPlayLists();
});
var webSocketSelfURI = 'http://lusquan11.com/view/trending.php';
var webSocketVideos_id = '0';
var webSocketLiveKey = 'false';
var webSocketServerVersion = '3.3';
var webSocketToken = '';
var webSocketURL = '';
var webSocketTypes = {"OPEN_CONNECTION":"OPEN_CONNECTION","NEW_CONNECTION":"NEW_CONNECTION","NEW_DISCONNECTION":"NEW_DISCONNECTION","DEFAULT_MESSAGE":"DEFAULT_MESSAGE","ON_VIDEO_MSG":"ON_VIDEO_MSG","ON_LIVE_MSG":"ON_LIVE_MSG","TESTING":"TESTING"};
function onUserSocketConnect(response) {
try {
callerNewConnection(response);socketNewConnection(response); } catch (e) {
console.log('onUserSocketConnect:error', e.message);
}
}
function onUserSocketDisconnect(response) {
try {
callerDisconnection(response);socketDisconnection(response); } catch (e) {
console.log('onUserSocketConnect:error', e.message);
}
}
$(document).ready(function () {
});
function onlineLabelOnline(selector) {
selector = selector.replace(/[&=]/g, '');
//console.log("Change video to Online ", selector);
//console.trace();
$(selector).removeClass('label-warning');
$(selector).removeClass('label-danger');
$(selector).addClass('label-success');
$(selector).text("ONLINE");
if ($('#indexCol1 div.panel-heading .label-success').length) {
isOnlineLabel = true;
}
}
function onlineLabelPleaseWait(selector) {
selector = selector.replace(/[&=]/g, '');
console.log("Change video to please wait", selector);
if (!$('#indexCol1 div.panel-heading .label-success').length) {
isOnlineLabel = false;
}
$(selector).removeClass('label-success');
$(selector).removeClass('label-danger');
$(selector).addClass('label-warning');
$(selector).text("Please Wait ...");
if (!$('#indexCol1 div.panel-heading .label-success').length) {
isOnlineLabel = false;
}
}
function onlineLabelOffline(selector) {
selector = selector.replace(/[&=]/g, '');
console.log("Change video to offline", selector);
console.trace();
$(selector).removeClass('label-warning');
$(selector).removeClass('label-success');
$(selector).addClass('label-danger');
$(selector).text("OFFLINE");
if (!$('#indexCol1 div.panel-heading .label-success').length) {
isOnlineLabel = false;
}
}
function onlineLabelFinishing(selector) {
selector = selector.replace(/[&=]/g, '');
console.log("Change video to finishing", selector);
$(selector).removeClass('label-warning');
$(selector).removeClass('label-success');
$(selector).addClass('label-danger');
$(selector).text("Finishing Live...");
if (!$('#indexCol1 div.panel-heading .label-success').length) {
isOnlineLabel = false;
}
}
var liveLinkAppsCalled = {};
function liveLinkApps($liveLi, className, live_starts) {
if (new Date(live_starts).getTime() < new Date().getTime()) {
return false;
}
if (typeof liveLinkAppsCalled[className] !== 'undefined') { // do not call it twice
//return false;
}
//console.log('liveLinkApps', $liveLi, className, live_starts, $liveLi.find('.liveNow'));
liveLinkAppsCalled[className] = live_starts;
$liveLi.find('.liveNow').html("Starts in " + live_starts + "");
$liveLi.find('.liveNow').attr("class", 'label label-primary liveFuture');
//console.log('liveLinkApps', '.'+className+' '+live_starts);
startTimerToDate(live_starts, '.Timer_' + className, false);
return $liveLi;
}
$(function () { if(typeof linksToEmbed === 'function'){ linksToEmbed('.liveVideo a.galleryLink'); } });
$(function () {setTimeout(function(){if(typeof $("#mainNavBar").autoHidingNavbar == "function"){$("#mainNavBar").autoHidingNavbar();}},5000);});
$(function () {
$("#mainNavBar").on("show.autoHidingNavbar", function () {
if ($(window).scrollTop() < 10) {
$("body").removeClass("nopadding");
}
});
$("#mainNavBar").on("hide.autoHidingNavbar", function () {
if ($(window).scrollTop() < 10) {
$("body").addClass("nopadding");
}
});
});
var checkFooterTimout;
$(function () {
checkFooter();
$(window).scroll(function () {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 100);
});
$(window).resize(function () {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 100);
});
$(window).mouseup(function () {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 100);
});
});
function checkFooter() {
$("#mainFooter").fadeIn();
if (getPageHeight() <= $(window).height()) {
clearTimeout(checkFooterTimout);
checkFooterTimout = setTimeout(function () {
checkFooter();
}, 1000);
$("#mainFooter").css("position", "fixed");
} else {
$("#mainFooter").css("position", "relative");
}
}
function getPageHeight() {
var mainNavBarH = 0;
if ($('#mainNavBar').length) {
mainNavBarH = $('#mainNavBar').height();
}
var mainFooterH = 0;
if ($('#mainFooter').length) {
mainFooterH = $('#mainFooter').height();
}
var containerH = getLargerContainerHeight();
return mainNavBarH + mainFooterH + containerH;
}
function getLargerContainerHeight() {
var conteiners = $('body > .container,body > .container-fluid');
var height = 0;
for (var item in conteiners) {
if (isNaN(item)) {
continue;
}
var h = $(conteiners[item]).height();
if (h > height) {
height = h;
}
}
return height;
}
$(document).ready(function () {
$container = $('.results').infiniteScroll({
path: '.pagination__next',
append: '.searchResult',
status: '.scroller-status',
hideNav: '.pagination',
});
$container.on('append.infiniteScroll', function (event, response, path, items) {
mouseEffect();
lazyImage();
});
mouseEffect();
lazyImage();
});