Singer Ahmed Saad entered into a link of rapidly jokes, for the length of his assembly with the media Amr Adib on the “Al -Hakaya” program, within the presence of a necessity of artists, including composer Nader Hamdi.
Amr Adeeb, from the singer Ahmed Saad, called for a necessity of immediate jokes, and he came with funny avaires, to answer Ahmed Saad jokingly: “I am a salvation, and I invalidate.”
The proprietor of immediate jokes and the most
Amr Adeeb commented: This assembly will simplest rob feature when we hear Ahmed Saad, despite the truth that the jokes will be constructed from jokes, and it is that you would judge of that there is a necessity, why did you preserve for the starting build. ”
The singer Ahmed Saad concluded by saying: “I am your skills with your pocket, Abu Bakh, a necessity available within the market.”
feature replaceOembedWithHtml(side, sourceData) {
if (sourceData.provide.toLowerCase() === “youtube”) {
var html=”
‘;
replaceElementWithHtml(side, html);
} else if (sourceData.provide.toLowerCase() === “instagram”) {
var html=”
‘;
replaceElementWithHtml(side, html);
} else if (sourceData.provide.toLowerCase() === “twitter”) {
var html=”
‘;
replaceElementWithHtml(side, html);
} else if (sourceData.provide.toLowerCase() === “facebook”) {
var html=”
‘
replaceElementWithHtml(side, html);
} else {
replaceElementWithHtml(side, “”);
}
}
feature extractLinkFromOembed(side) {
return getUrlSource(side.getAttribute(“url”));
}
feature getUrlSource(url) {
var ytRegex = /http(?:s?)://(?:www.)?youtu(?:be.com/peep?v=|.be/)((w-_)*)(&(amp;)?(w?=)*)?/;
var instaRegex = /(https?://www.)?instagram.com(/p/(w+)/?)/;
var twitterRegex = /twitter.com/.*/feature(?:es)?/((^/?)+)/;
var fbRegex = /^https?://www.facebook.com.*/(video(s)?|peep|story|posts)(.php?|/).+$/;
if (ytRegex.test(url)) {
return {
provide: “Youtube”,
url: url,
identification: ytRegex.exec(url)(1)
};
}
if (instaRegex.test(url)) {
return {
provide: “Instagram”,
url: url,
identification: instaRegex.exec(url)(3)
};
}
if (twitterRegex.test(url)) {
return {
provide: “Twitter”,
url: url,
identification: twitterRegex.exec(url)(1)
};
}
if (fbRegex.test(url)) {
return {
provide: “Facebook”,
url: url,
identification: fbRegex.exec(url)(1)
};
}
return {
provide: “Unknown”,
url: url,
identification: “”
};
}
feature replaceElementWithHtml(side, html) {
var str = html;
var Obj = side; //any side to be absolutely modified
if (Obj.outerHTML) { //if outerHTML is supported
Obj.outerHTML = str; ///or now not it’s straightforward replace of total side with contents of str var
} else { //if outerHTML is now not supported, there is a abnormal nonetheless crossbrowsered trick
var tmpObj = document.createElement(“div”);
tmpObj.innerHTML = ‘‘;
ObjParent = Obj.parentNode; //Okey, side must be parented
ObjParent.replaceChild(tmpObj, Obj); //right here we placing our non eternal knowledge in wish to our target, so we can find it then and replace it into whatever we would like to interchange to
ObjParent.innerHTML = ObjParent.innerHTML.replace(‘
‘, str);
}
}
feature loadfbApi() {
var js = document.createElement(‘script’);
js.src=”
document.body.appendChild(js);
}
feature runYoutubeLazyLoad() {
/// youtube lazyload
var youtube = document.querySelectorAll(“.youtube”);
for (var i = 0; i < youtube.dimension; i++) { var provide = "https://img.youtube.com/vi/" + youtube(i).dataset.embed + "http://192.168.2.55/0.jpg"; var portray = unique Image(); portray.src = "https://www.elbalad.info/themes/elbalad/sources/photography/no.jpg"; portray.classList.add('lazyload'); portray.setAttribute("knowledge-src", provide); portray.setAttribute("alt", "youtube"); portray.addEventListener("load", feature () { youtube(i).appendChild(portray); }(i)); youtube(i).addEventListener("click on", feature () { var iframe = document.createElement("iframe"); iframe.setAttribute("frameborder", "0"); iframe.setAttribute("allowfullscreen", ""); iframe.setAttribute("src", "https://www.youtube.com/embed/" + this.dataset .embed + "?rel=0&showinfo=0&autoplay=1"); this.innerHTML = ""; this.appendChild(iframe); }); }; } (Tagstotranslate) Ahmed Saad (T) Amr Adeeb (T) The Anecdote (T) Immediate Jokes (T) Jokes (T) Tok Prove
Source link