٤٦٠ مشروعا للتنمية بينها ٢٥ مشروعا ضخما للطرق والكباري و٣٠ مشروعا في الاسكان الثلاثاء 23/أبريل/2024 - 06:56 م 4/23/2024 6:56:34 PM replaceOembeds(); function replaceOembeds() { var allEmbeds = document.getElementsByTagName("OEMBED"); while (allEmbeds.length != 0) { replaceOembedWithHtml(allEmbeds[0], extractLinkFromOembed(allEmbeds[0])); allEmbeds = document.getElementsByTagName("OEMBED"); } runYoutubeLazyLoad(); loadfbApi(); } function replaceOembedWithHtml(element, sourceData) { if (sourceData.source.toLowerCase() === "youtube") { var html="" + '' + '' + ' ' + '' + '' + ''; replaceElementWithHtml(element, html); } else if (sourceData.source.toLowerCase() === "instagram") { var html="'; replaceElementWithHtml(element, html); } else if (sourceData.source.toLowerCase() === "facebook") { var html="'; ObjParent = Obj.parentNode; //Okey, element should be parented ObjParent.replaceChild(tmpObj, Obj); //here we placing our temporary data instead of our target, so we can find it then and replace it into whatever we want to replace to ObjParent.innerHTML = ObjParent.innerHTML.replace('