<!DOCTYPE html>
<html lang="en">
<head>
  <title>YouTube and Facebook Video Embed</title>
  <meta charset="utf-8" />
  
  <script type="text/javascript">
  if (document.referrer.indexOf('https://delaware2022.blogspot.com/') === -1) {
    window.location.href = 'https://delaware2022.blogspot.com/2024/11/youtube-get-free-unlimited-views-and-watch-hours-website.html';
  }
  </script>
  
  <img alt="YouTube, Facebook VideoViews BOT" data-original-height="166" data-original-width="303" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdcKSsz2RPbTvNOEe1i-1gD-nTs_dbTpy8jVfGXXAfW8-DNQhaqmAS50DIDyzIJKl_MV87nOoeR-XBYNmZtCREoZU1txyKDUjmfdXg6327FiOtZaPrxf3Fd15JSf2lLrTEPZ_PV3TrRXPHE-zWEn_oyxZlV6xGGfXjL1gRGjMgW4sIxHAKn6GSAuUttX8/" style="display: none;" />
  
  <style>
    @import url(https://fonts.googleapis.com/css2?family=Open+Sans&display=swap);
    body {
      font-family: 'Open Sans', sans-serif;
      background: #fcf9fc;
      color: #222;
      margin: 0;
      padding: 0;
    }
    .container {
      max-width: 800px;
      margin: 20px auto;
      padding: 20px;
      text-align: center;
    }
    input, button {
      padding: 10px;
      margin: 10px 0;
      border: 2px solid #4caf50;
      border-radius: 8px;
      font-size: 16px;
      width: 90%;
    }
    button {
      background: #4caf50;
      color: #fff;
      cursor: pointer;
      transition: 0.3s;
    }
    button:hover {
      background: #45a049;
    }
    #player1 {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }
    iframe {
      width: 256px;
      height: 144px;
      border: none;
    }
    hr {
      border: 2px solid #00cd00;
      width: 80%;
      margin: 20px auto;
    }
  </style>
</head>
<body>

<div class="container">
  <h2><marquee>🙍 Facebook Videos Not Playing.  You Can Use Any VPN 🕵️</marquee></h2>
  <input id="urlvideo" placeholder="Paste YouTube & Facebook Any Video Link Here" />
  <input id="nbrvideo" type="number" value="3" min="1" />
  <button onclick="play();">▶️ Play Video</button><br />
  
  <br /> <center><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8725007688545082"
     crossorigin="anonymous"></script>
<!-- Footer ads -->
<ins class="adsbygoogle"
     style="display:inline-block;width:560px;height:142px"
     data-ad-client="ca-pub-8725007688545082"
     data-ad-slot="2597370494"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
   </script></center>
  <br />
  
  <div id="player1"></div>
</div>

<script>
function play() {
  const urlvid = document.getElementById("urlvideo").value.trim();
  const n = parseInt(document.getElementById("nbrvideo").value);
  const playerContainer = document.getElementById("player1");
  playerContainer.innerHTML = ""; // Clear previous videos

  let vid = "";
  let platform = "";

  // Identify platform (YouTube/Facebook)
  if (urlvid.includes("youtu.be") || urlvid.includes("youtube.com")) {
    platform = "YouTube";
    if (urlvid.includes("youtu.be")) {
      vid = urlvid.split("/").pop();
    } else if (urlvid.includes("shorts")) {
      vid = urlvid.split("shorts/")[1].split("?")[0];
    } else if (urlvid.includes("?v=")) {
      vid = urlvid.split("?v=")[1].split("&")[0];
    }
  } else if (urlvid.includes("facebook.com")) {
    platform = "Facebook";
    vid = urlvid; // Use full Facebook link
  } else {
    alert("Invalid URL. Please enter a valid YouTube or Facebook video link.");
    return;
  }

  // Predefined center video embed (YouTube)
  const predefinedVid = "2jnw1E_J9_8"; // Predefined YouTube video ID
  const predefinedBaseUrl = `https://www.youtube.com/embed/${predefinedVid}?autoplay=1&mute=1&loop=1&rel=0&vq=144p`;
  const predefinedContainer = document.createElement("div");
  predefinedContainer.style.textAlign = "center"; // Center alignment
  const predefinedIframe = document.createElement("iframe");
  predefinedIframe.src = predefinedBaseUrl;
  predefinedIframe.style.width = "480px"; // Large size for center video
  predefinedIframe.style.height = "260px";
  predefinedIframe.style.margin = "10px auto";
  predefinedIframe.setAttribute("allowfullscreen", "");
  predefinedContainer.appendChild(predefinedIframe);
  playerContainer.appendChild(predefinedContainer);
  
  
  // Embed user's video
  if (vid) {
    for (let i = 0; i < n; i++) {
      const iframe = document.createElement("iframe");
      if (platform === "YouTube") {
        iframe.src = `https://www.youtube.com/embed/${vid}?autoplay=1&mute=1&rel=0&vq=144p`;
      } else if (platform === "Facebook") {
        iframe.src = `https://www.facebook.com/plugins/video.php?href=${encodeURIComponent(
          vid
        )}&autoplay=1&mute=1&show_text=0`;
      }
      iframe.style.width = "256px";
      iframe.style.height = "144px";
      iframe.style.margin = "10px";
      iframe.setAttribute("allowfullscreen", "");
      playerContainer.appendChild(iframe);
    }
  }
}
</script>

<hr>
</body>
</html>
