Qatar rail hyperlink – Journey And Tour World
Tuesday, October 14, 2025
Qatar approves a 100km rail hyperlink from Doha to Saudi Arabia, connecting to the Gulf Railway and boosting regional journey and transport effectivity.
Copyright © Journey And Tour World – All Rights Reserved
We use cookies on our web site to provide the most related expertise by remembering your preferences and repeat visits. By clicking “Settle for”, you consent to using ALL the cookies.
Handle consent
`;
doc.physique.appendChild(popup);
if (!doc.querySelector(‘hyperlink(href*=”font-awesome”)’)) {
var fa = doc.createElement(“hyperlink”);
fa.rel = “stylesheet”;
fa.href = “https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css”;
doc.head.appendChild(fa);
}
const miniPlayer = doc.getElementById(“yt-mini-player”);
const closeBtn = doc.getElementById(“yt-close-btn”);
const fullscreenBtn = doc.getElementById(“yt-fullscreen-btn”);
const iframe = doc.getElementById(“yt-live-frame”);
fullscreenBtn.addEventListener(“click on”, operate (e) {
e.stopPropagation();
miniPlayer.classList.toggle(“fullscreen”);
});
closeBtn.addEventListener(“click on”, operate (e) {
e.stopPropagation();
miniPlayer.take away();
});
setupYTAPI();
}
operate setupYTAPI() {
if (!window.YT) {
var tag = doc.createElement(‘script’);
tag.src = “https://www.youtube.com/iframe_api”;
doc.head.appendChild(tag);
window.onYouTubeIframeAPIReady = initYTPlayer;
} else {
initYTPlayer();
}
}
let ytPlayer;
operate initYTPlayer() {
ytPlayer = new YT.Participant(‘yt-live-frame’, {
occasions: {
‘onStateChange’: onPlayerStateChange,
‘onError’: onPlayerError
}
});
}
operate onPlayerStateChange(occasion) {
if (occasion.knowledge === YT.PlayerState.ENDED) {
console.log(“Dwell ended. Closing participant.”);
const participant = doc.getElementById(“yt-mini-player”);
if (participant) participant.take away();
}
}
operate onPlayerError() {
console.log(“Error taking part in reside stream. Closing participant.”);
const participant = doc.getElementById(“yt-mini-player”);
if (participant) participant.take away();
}
checkLiveAndShowPlayer();
}, 5000); // Delay popup for five seconds
};