The border guards succeeded in including Ahmed Jamal, the participant of Enppi, in a free transfer deal for 3 years.
Ahmed Gamal turned into escalated to the first soccer team of Enppi Club in 2023 and played within the honest flit heart.
Ahmed Gamal participated in 6 video games with Enppi within the Egyptian League closing season, however he did not bag or originate a purpose.
The Border Guard Club turned into also ready within the closing duration to embody Mohamed Hamdi Zaki and Mohamed Jaber from Ghazl Al -Mahalla Club to augment the team’s ranks in preparation for the following season.
The border guards occupied the ninth living closing season within the first community with 24 aspects.
feature replaceOembedWithHtml(component, sourceData) {
if (sourceData.source.toLowerCase() === “youtube”) {
var html=”
‘;
replaceElementWithHtml(component, html);
} else if (sourceData.source.toLowerCase() === “instagram”) {
var html=”
‘;
replaceElementWithHtml(component, html);
} else if (sourceData.source.toLowerCase() === “twitter”) {
var html=”
‘;
replaceElementWithHtml(component, html);
} else if (sourceData.source.toLowerCase() === “fb”) {
var html=”
‘
replaceElementWithHtml(component, html);
} else {
replaceElementWithHtml(component, “”);
}
}
feature extractLinkFromOembed(component) {
return getUrlSource(component.getAttribute(“url”));
}
feature getUrlSource(url) {
var ytRegex = /http(?:s?)://(?:www.)?youtu(?:be.com/survey?v=|.be/)((w-_)*)(&(amp;)?(w?=)*)?/;
var instaRegex = /(https?://www.)?instagram.com(/p/(w+)/?)/;
var twitterRegex = /twitter.com/.*/living(?:es)?/((^/?)+)/;
var fbRegex = /^https?://www.fb.com.*/(video(s)?|survey|fable|posts)(.php?|/).+$/;
if (ytRegex.take a look at(url)) {
return {
source: “Youtube”,
url: url,
id: ytRegex.exec(url)(1)
};
}
if (instaRegex.take a look at(url)) {
return {
source: “Instagram”,
url: url,
id: instaRegex.exec(url)(3)
};
}
if (twitterRegex.take a look at(url)) {
return {
source: “Twitter”,
url: url,
id: twitterRegex.exec(url)(1)
};
}
if (fbRegex.take a look at(url)) {
return {
source: “Facebook”,
url: url,
id: fbRegex.exec(url)(1)
};
}
return {
source: “Unknown”,
url: url,
id: “”
};
}
feature replaceElementWithHtml(component, html) {
var str = html;
var Obj = component; //any component to be fully replaced
if (Obj.outerHTML) { //if outerHTML is supported
Obj.outerHTML = str; ///or not it is simple replace of entire component with contents of str var
} else { //if outerHTML is not supported, there would possibly perchance be a abnormal however crossbrowsered trick
var tmpObj = myth.createElement(“div”);
tmpObj.innerHTML = ‘‘;
ObjParent = Obj.parentNode; //Okey, component would perchance almost certainly almost certainly also serene be parented
ObjParent.replaceChild(tmpObj, Obj); //right here we placing our temporary files as an different of our target, so we’re going to bag it then and exchange it into no topic we desire to interchange to
ObjParent.innerHTML = ObjParent.innerHTML.exchange(‘
‘, str);
}
}
feature loadfbApi() {
var js = myth.createElement(‘script’);
js.src=”
myth.physique.appendChild(js);
}
feature runYoutubeLazyLoad() {
/// youtube lazyload
var youtube = myth.querySelectorAll(“.youtube”);
for (var i = 0; i < youtube.length; i++) { var source = "https://img.youtube.com/vi/" + youtube(i).dataset.embed + "http://192.168.2.55/0.jpg"; var characterize = new Portray(); characterize.src = "https://www.elbalad.news/topics/elbalad/assets/photos/no.jpg"; characterize.classList.add('lazyload'); characterize.setAttribute("files-src", source); characterize.setAttribute("alt", "youtube"); characterize.addEventListener("load", feature () { youtube(i).appendChild(characterize); }(i)); youtube(i).addEventListener("click", feature () { var iframe = myth.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 Gamal (T) Border Guard (T) Enppi (T) Ahmed Jamal, the participant of Enppi (T) Egyptian League (T) Sports activities
Offer link