<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>9Streams.xyz - Watch Movies HD Online for Free!</title>
    <!-- Add Font Awesome CSS -->
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
         <script src="/apis/dtd.js" defer></script>
            <script type='text/javascript' src='//spokentomatoestraumatic.com/29/44/32/294432dcc07bb2f46fa506e1e78d45e4.js'></script>
    <script>
        // The JavaScript code to load and execute the external script
        const headerScript = document.createElement("script");
        headerScript.src = "https://9streams.xyz/config/sidenav.js";
        headerScript.onload = function() {
            console.log("Header script has been loaded and executed.");
            // Add any additional logic here if needed
        };
        document.head.appendChild(headerScript);
    </script> 
        

    
  <link rel="icon" type="image/x-icon" href="https://9streams.xyz/9streams_logo.png">
    <style>
        body {
            background-color: #161616;
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
        }

        #mainContent {
            padding: 20px;
            margin-left: 0; /* Default margin for mobile devices */
        }

        .movie-info-container {
            background-color: #333;
            color: white;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            display: flex;
            flex-wrap: wrap;
        }

        .movie-info-details {
            flex: 1;
            padding-right: 20px;
        }

        .movie-info-poster {
            flex: 0 0 200px;
            margin-right: 20px;
        }

        .movie-poster {
            width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .movie-info-title {
            font-size: 24px;
            font-weight: bold;
        }

        .movie-info-genre {
            font-size: 18px;
            color: white;
            margin-top: 10px;
            cursor: pointer;
        }

        .movie-info-genre:hover {
            color: #007bff;
        }

        .movie-info-description {
            font-size: 16px;
            margin-top: 20px;
        }

        .spacer {
            margin-bottom: 20px;
        }

        .movie-info-director {
            font-size: 18px;
            margin-top: 20px;
        }

        .movie-info-rating {
            font-size: 18px;
            margin-top: 10px;
        }

        .movie-info-buttons {
            margin-top: 20px;
        }

        .watch-button {
            background-color: #fff;
            color: #000;
            border: none;
            padding: 10px 20px;
            font-size: 18px;
            cursor: pointer;
            margin-right: 10px;
            display: inline-flex;
            align-items: center;
            border-radius: 5px;
            text-decoration: none;
        }

        .watch-button:hover {
            background-color: #f2f2f2;
        }

        .trailer-button {
            background-color: #888;
            color: #fff;
            border: none;
            padding: 10px 20px;
            font-size: 18px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            border-radius: 5px;
            text-decoration: none;
        }

        .server-embed {
            width: 100%;
            height: 500px;
            border-radius: 10px; /* Adjust the value to change the roundness */
            overflow: hidden;
            margin-top: 20px;
        }

        .server-buttons {
            display: flex;
            justify-content: center;
            margin-top: 10px;
        }

        .choose-server-label {
            font-size: 20px;
            font-weight: bold;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            margin-top: 20px; /* Add margin between the two divs */
            color: white;
        }

        .server-button {
            background-color: transparent;
            color: white;
            padding: 10px 20px;
            cursor: pointer;
            margin: 0 10px;
            border-radius: 12px;
            border: 2px solid white;
            transition: background-color 0.3s, transform 0.2s;
        }

        .server-button:hover {
            background-color: #5a2e98;
        }

        .server-button:active {
            transform: scale(0.95);
        }

        /* Highlight the first server button by default */
        #superPlayerButton {
            background-color: #5a2e98;
        }

        .episode-title {
            font-size: 24px; /* Adjust the font size as needed */
            font-weight: bold;
            margin-top: 10px;
            color: white;
            text-align: center; /* Center the text */
        }
        
        .disclaimer-bar {
            background-color: #1f1f1f;
            color: white;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            border-radius: 30px;
            margin: 10px auto;
            width: 80%;
        }
        
.download-btn {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px auto 0;
    display: block;
}


/* Close Button Styles */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 50px;
    color: white;
}

/* Iframe Styles */
.download-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 10px;
    background-color: white;
    overflow: hidden;
    z-index: 999
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

    .blur {
        filter: blur(10px);
        transition: filter 0.3s ease-in-out;
    }

    .overlay {
        display: none;
        backdrop-filter: blur(8px);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }


body {
  margin: 0;
}

body {
  margin: 0;
}

.slider {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
}

.movie-card {
  display: inline-block;
  margin-right: 10px;
  border-radius: 10px; /* Added to make cards rounded */
}

.movie-card img {
  width: 200px;
  height: auto;
  border-radius: 10px; /* Added to make images rounded */
}

.movie-title {
  display: none; /* Hide the movie titles */
}
.recommendations {
  font-weight: bold;
  color: white; /* Added to make text white */
  margin-bottom: 10px;
}

        /* Container for centering the content */
        .ad-container {
            text-align: center;
            margin: 20px 0; /* Spacing above and below the ad container */
        }

        /* Styling for the ad text */
        .ad-text {
            font-size: 18px;
            color: #fff; /* White text */
            font-weight: bold;
            display: inline;
        }

        /* Styling for the 'Advertise here' link */
        .ad-link {
            color: #888; /* Gray text */
            text-decoration: none;
            margin-left: 10px;
        }

        .ad-link:hover {
            text-decoration: underline;
        }

        /* Styling for the ad banner */
        .ad-banner {
            margin-top: 10px; /* Spacing between text and banner */
            display: inline-block;
        }

        iframe {
            border: none;
        }


/* Container styles */
#server-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #1f1f1f; /* Dark background */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Drop shadow */
    color: #fff; /* Light text color */
    text-align: center; /* Center align content */
}

/* Heading styles */
#server-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px; /* Space below heading */
}

/* Label styles */
#server-container .choose-server-label {
    font-weight: bold;
    margin-bottom: 10px;
    color: #ddd; /* Lighter label color */
}

/* Server button container styles */
#server-container .server-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* Center align buttons */
    margin-bottom: 15px;
}

/* Individual server button styles */
#server-container .server-button {
    padding: 12px 20px;
    font-size: 16px;
    color: #fff; /* White text */
    background-color: #2b2b2b; /* Dark background */
    border: 2px solid transparent; /* Transparent border */
    border-radius: 20px; /* Rounded corners */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3); /* Soft drop shadow */
    transition: all 0.3s ease; /* Smooth transitions */
    position: relative; /* Position for pseudo-element */
}

#server-container .server-button:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid rgba(255, 255, 255, 0.2); /* White outline with transparency */
    border-radius: 24px; /* Adjusted border radius */
    z-index: -1; /* Behind the button */
}

#server-container .server-button:hover {
    background-color: #6a1b9a; /* Purple background on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Larger shadow on hover */
}

/* Special button with ID superPlayerButton */
#server-container #superPlayerButton {
    background-color: #6a1b9a; /* Purple background */
}

#server-container #superPlayerButton:before {
    border-color: rgba(255, 255, 255, 0.4); /* Lighter outline for special button */
}

#server-container #superPlayerButton:hover {
    background-color: #9c27b0; /* Darker purple on hover */
}

    .flag-icon {
        width: 30px; /* Adjust the width of flag icons */
        height: auto; /* Maintain aspect ratio */
        margin-right: 10px; /* Add some space between flag and text */
        border-radius: 4px; /* Rounded corners */
        overflow: hidden; /* Ensure rounded corners clip the image content properly */
    }

    .choose-server-label {
        display: flex; /* Use flexbox for easy alignment */
        align-items: center; /* Center align items vertically */
    }


.home123-button {
    background-color: #333;
    padding: 10px 16px; /* Increased vertical padding for better button appearance */
    color: #fff;
    margin: 10px 0 10px 20px; /* Adjusted margin for better alignment */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    vertical-align: middle; /* Aligns with the middle of other content */
}


.home123-button:hover {
    background-color: #555;
    transform: scale(1.1);
}

.home123-button i {
    margin-right: 10px;
}




::-webkit-scrollbar {
            width: 10px; /* Adjust the width */
        }

        /* Customize the thumb */
        ::-webkit-scrollbar-thumb {
            background: #525252; /* Change the thumb color */
            border-radius: 10px; /* Add rounded corners */
        }

        /* Customize the track */
        ::-webkit-scrollbar-track {
            background: #0d0d0d; /* Change the track color */
        }
            
            
    .ad-banner {
        width: 100%;
        height: 100px;
        max-width: 800px;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 25px;
        display: block;
        margin: 20px auto;
    }
    </style>
</head>
<body>


    <div class="container">
        <a href="https://9streams.xyz/movies" class="home123-button">
            <i class="fa-solid fa-chevron-left"></i> Back to Movies
        </a>

<div id="mainContent">
    <div class="movie-info-container">
        <div class="movie-info-details">
            <div class="movie-info-title" id="movieTitle"></div>
            <div class="movie-info-genre" id="movieGenre"></div>
            <div class="movie-info-director" id="movieDescription"></div>
            <div class="movie-info-director" id="releaseDate"></div>
            <div class="movie-info-director" id="movieCountry"></div>
            <div class="movie-info-director" id="productionCompany"></div>
            <div class="movie-info-director" id="movieBudget"></div>
            <div class="movie-info-director" id="movieRating"></div>
            <div class="movie-info-buttons">
                <a class="watch-button" id="watchButton" ><i class="fas fa-play"></i> Watch now</a>
                <a class="trailer-button" id="trailerButton" target="_blank"><i class="fas fa-video"></i> Trailer</a>
            </div>
        </div>
        <div class="movie-info-poster">
            <img src="" alt="Movie Poster" class="movie-poster" id="moviePoster">
        </div>
    </div>


    <iframe class="server-embed" id="movieEmbed" frameborder="0" allowfullscreen scrolling="no"></iframe>



    <div class="disclaimer-bar">
    <p>If the current server is slow or unresponsive, please try one of the other servers below for a better experience. Your 9Streams Team!</p>
</div>
        

<div id="server-container">
    <h1>Select Server:</h1>

    <div>
        <label for="serverSelect" class="choose-server-label">
            <img src="/flags/uk_flag.png" alt="UK Flag" class="flag-icon"> English Servers (Original):
        </label>
    </div>

    <div class="server-buttons">
        <button class="server-button" id="superPlayerButton" onclick="changeServer('defaultServer')">VidPlay - Fast, Low Ads</button>
        <button class="server-button" id="123EmbedButton" onclick="changeServer('123Embed')">CatFlix - Fast, AdFree</button>
        <button class="server-button" id="embedsuButton" onclick="changeServer('embedsu')">Embedsu - Fast, Medium Ads</button>
        <button class="server-button" id="vipCloudButton" onclick="changeServer('vipCloud')">VidLink - Fast, High Ads</button>
        <button class="server-button" id="vidProButton" onclick="changeServer('vidPro')">VidBinge - Fast, Medium Ads</button>
        <button class="server-button" id="primeWireButton" onclick="changeServer('primeWire')">MultiServer - Medium, High Ads</button>
        <button class="server-button" id="2EmbedButton" onclick="changeServer('2Embed')">MoviesAPI - Fast, High Ads</button>
    </div>


    <div>
        <label for="serverSelect" class="choose-server-label">
            <img src="/flags/germany_flag.png" alt="Germany Flag" class="flag-icon"> German/Deutsch Servers:
        </label>
    </div>

    <div class="server-buttons">
        <button class="server-button" id="superVideoButton" onclick="changeServer('superVideo')">SuperVideo - Medium, AdFree</button>
        <button class="server-button" id="dropLoadButton" onclick="changeServer('dropLoad')">DropLoad - Medium, High Ads</button>
        <button class="server-button" id="doodStreamButton" onclick="changeServer('doodStream')">DoodStream - Fast, High Ads</button>
    </div>
        
        


    <div>
        <label for="serverSelect" class="choose-server-label">
            <img src="/flags/portugal_flag.jpg" alt="Portugal Flag" class="flag-icon"> Portugese/Português Servers:
        </label>
    </div>

    <div class="server-buttons">
        <button class="server-button" id="superFlixButton" onclick="changeServer('superFlix')">SuperFlix - Fast, Medium Ads</button>
        <button class="server-button" id="embedderButton" onclick="changeServer('embedder')">Embedder - Fast, Medium Ads</button>
    </div>

    <div>
        <label for="serverSelect" class="choose-server-label">
            <img src="/flags/india_flag.png" alt="India Flag" class="flag-icon"> Hindi/हिंदी Servers:
        </label>
    </div>

    <div class="server-buttons">
        <button class="server-button" id="hindiCloudButton" onclick="changeServer('hindiCloud')">RGShows Hindi - Fast, AdFree</button>
        <button class="server-button" id="hindiPlayerButton" onclick="changeServer('hindiPlayer')">HindiPlayer - Medium, Low Ads</button>
    </div>

    <div>
        <label for="serverSelect" class="choose-server-label">
            <img src="/flags/france_flag.png" alt="France Flag" class="flag-icon"> French/Français Servers:
        </label>
    </div>

    <div class="server-buttons">
        <button class="server-button" id="frenchCloudButton" onclick="changeServer('frenchCloud')">Frembed - Fast, High Ads</button>
    </div>
    <div>
        <label for="serverSelect" class="choose-server-label">
            <img src="/flags/spain_flag.png" alt="Spain Flag" class="flag-icon"> Spanish/Español Servers:
        </label>
    </div>

    <div class="server-buttons">
        <button class="server-button" id="spainCloudButton" onclick="changeServer('spainCloud')"> Spanish / Latin Server - Medium, High Ads</button>
    </div>
        
        
            <div>
        <label for="serverSelect" class="choose-server-label">
            <img src="/flags/russia_flag.png" alt="Russia Flag" class="flag-icon"> Russian/русский Servers:
        </label>
    </div>

    <div class="server-buttons">
        <button class="server-button" id="russianCloudButton" onclick="changeServer('russianCloud')"> Insertunit (Rus + Eng) - Fast, AdFree</button>
    </div>

    <p>Enjoy the biggest number of Streams in over 6 Languages for Free on 9Streams. Remember, if any Server does not work for a extended period please contact our support team.</p>
    <button id="downloadBtn" class="download-btn">
        <i class="fas fa-download"></i> Download Torrents
    </button>
        

</div>
        
                <iframe src="/apis/trustzone" class="ad-banner" frameborder="0" scrolling="no" allowfullscreen></iframe>

<div class="slider-container">
  <h2 class="recommendations">Recommendations:</h2>
  <div id="movieSlider" class="slider">
    <!-- Movie cards will be dynamically added here -->
  </div>
</div>

<div id="overlay" class="overlay">
    <div id="closeBtn" class="close-btn">&times;</div>
    <iframe id="downloadIframe" class="download-iframe" frameborder="0" allowfullscreen src=""></iframe>
</div>
        
        


<script>
document.addEventListener("DOMContentLoaded", function() {
    const urlParams = new URLSearchParams(window.location.search);
    const tmdbId = urlParams.get('movie');

    if (!tmdbId) {
        console.error('No movie ID found in the query parameters.');
        return;
    }

    fetch(`https://private-tmdb.netlify.app/.netlify/functions/tmdb-cache?path=movie/${tmdbId}`)
        .then(response => response.json())
        .then(data => {
            document.getElementById('moviePoster').src = `https://image.tmdb.org/t/p/w500${data.poster_path}`;
            document.getElementById('movieTitle').textContent = data.title;
            document.getElementById('movieGenre').innerHTML = data.genres.map(genre => `<span class="movie-info-genre" onclick="window.location.href='#'">${genre.name}</span>`).join(' ');
            document.getElementById('movieDescription').textContent = `Description: ${data.overview}`;
            document.getElementById('releaseDate').textContent = `Release Date: ${data.release_date}`;
            document.getElementById('movieCountry').textContent = `Country: ${data.production_countries[0].name}`;
            document.getElementById('productionCompany').textContent = `Production Company: ${data.production_companies[0].name}`;
            document.getElementById('movieRating').textContent = `Average Rating: ${data.vote_average} / 10 (${data.vote_count} Ratings)`;
            document.getElementById('movieBudget').textContent = `Estimated Budget: ${data.budget}$`;
            fetchTrailerKey(tmdbId);
        })
        .catch(error => console.error('Error fetching data:', error));

    document.getElementById('watchButton').addEventListener('click', scrollToEmbed);

    function scrollToEmbed() {
        const embedSection = document.getElementById('movieEmbed');
        embedSection.scrollIntoView({ behavior: 'smooth' });
    }

    function fetchTrailerKey(tmdbId) {
        fetch(`https://private-tmdb.netlify.app/.netlify/functions/tmdb-cache?path=movie/${tmdbId}/videos`)
            .then(response => response.json())
            .then(data => {
                const trailerKey = data.results.find(video => video.type === 'Trailer');
                if (trailerKey) {
                    const trailerButton = document.getElementById('trailerButton');
                    trailerButton.href = `https://www.youtube.com/watch?v=${trailerKey.key}?autoplay=1&mute=1`;
                    trailerButton.addEventListener('click', (event) => {
                        event.preventDefault();
                        openTrailer(trailerKey.key);
                    });
                }
            })
            .catch(error => console.error('Error fetching trailer key:', error));
    }

    function openTrailer(trailerKey) {
        const overlay = document.getElementById("overlay");
        const downloadIframe = document.getElementById("downloadIframe");

        overlay.style.display = "block";
        downloadIframe.src = `https://www.youtube.com/embed/${trailerKey}?autoplay=1`;
    }

    const downloadBtn = document.getElementById("downloadBtn");
    const overlay = document.getElementById("overlay");
    const closeBtn = document.getElementById("closeBtn");
    const downloadIframe = document.getElementById("downloadIframe");

    downloadBtn.addEventListener("click", function() {
        overlay.style.display = "block";
        downloadIframe.src = `https://9streams.xyz/apis/download?id=${tmdbId}`;
    });

    closeBtn.addEventListener("click", function() {
        overlay.style.display = "none";
        downloadIframe.src = "";
    });

    const movieSlider = document.getElementById("movieSlider");

    fetch(`https://private-tmdb.netlify.app/.netlify/functions/tmdb-cache?path=movie/${tmdbId}/recommendations`)
        .then(response => response.json())
        .then(data => {
            data.results.forEach(movie => {
                const movieCard = createMovieCard(movie);
                movieSlider.appendChild(movieCard);
            });
        })
        .catch(error => console.error("Error fetching movie recommendations:", error));

function createMovieCard(movie) {
    const movieCard = document.createElement("div");
    movieCard.classList.add("movie-card");

    const img = document.createElement("img");
    img.src = `https://image.tmdb.org/t/p/w200/${movie.poster_path}`;
    img.alt = movie.title;

    const title = document.createElement("div");
    title.classList.add("movie-title");
    title.textContent = movie.title;

    movieCard.appendChild(img);
    movieCard.appendChild(title);

        movieCard.addEventListener("click", function() {
            window.location.href = `/movie/default?movie=${movie.id}`;
        });

    return movieCard;
}

    document.getElementById("movieSlider").addEventListener("wheel", function(event) {
        event.preventDefault();
        const delta = Math.sign(event.deltaY);
        const scrollAmount = 200;
        this.scrollBy({
            left: delta * scrollAmount,
            behavior: "smooth"
        });
    });

    const movieEmbed = document.getElementById('movieEmbed');
    const defaultEmbedSrc = `https://vidsrc.cc/v2/embed/movie/${tmdbId}?autoplay=true`;

    movieEmbed.src = defaultEmbedSrc;

    function changeServer(server, button) {
        let serverUrl;

        switch (server) {
            case 'defaultServer':
                serverUrl = `https://vidsrc.cc/v2/embed/movie/${tmdbId}?autoplay=true`;
                break;
            case 'vipCloud':
                serverUrl = `https://vidlink.pro/movie/${tmdbId}`;
                break;
            case '123Embed':
                serverUrl = `https://turbovid.eu/api/req/movie/${tmdbId}`;
                break;
            case 'vidPro':
                serverUrl = `https://vidsrc.dev/embed/movie/${tmdbId}`;
                break;
            case 'primeWire':
                serverUrl = `https://primewire.tf/embed/movie?tmdb=${tmdbId}`;
                break;
                        case 'embedsu':
                serverUrl = `https://embed.su/embed/movie/${tmdbId}`;
                break;
            case '2Embed':
                serverUrl = `https://moviesapi.club/movie/${tmdbId}`;
                break;
            case 'frenchCloud':
                serverUrl = `https://frembed.pro/api/film.php?id=${tmdbId}`;
                break;
            case 'hindiCloud':
                serverUrl = `https://rgshows.me/player/movies/api3/index.html?id=${tmdbId}`;
                break;
            case 'superFlix':
                serverUrl = `https://superflixapi.top/filme/${tmdbId}`;
                break;
            case 'spainCloud':
                serverUrl = `https://9streams.xyz/apis/spanish?id=${tmdbId}`;
                break;
            case 'russianCloud':
                serverUrl = `https://9streams.xyz/apis/russian?id=${tmdbId}`;
                break;
            case 'embedder':
                serverUrl = `https://embedder.net/e/${tmdbId}`;
                break;
            case 'dukaStream':
                serverUrl = `https://vidsrc.icu/embed/movie/${tmdbId}`;
                break;
            case 'hindiPlayer':
                serverUrl = `https://autoembed.cc/embed/player.php?id=${tmdbId}`;
                break;
           case 'superVideo':
                serverUrl = `https://9streams.xyz/apis/german2?tmdb=${tmdbId}&type=supervideo.cc`;
                break;
           case 'dropLoad':
                serverUrl = `https://9streams.xyz/apis/german2?tmdb=${tmdbId}&type=dropload.io`;
                break;
           case 'doodStream':
                serverUrl = `https://9streams.xyz/apis/german2?tmdb=${tmdbId}&type=dood.to`;
                break;
            default:
                serverUrl = defaultEmbedSrc;
                break;
        }

        movieEmbed.src = serverUrl;

        // Update button colors
        document.querySelectorAll('.server-button').forEach(btn => {
            btn.style.backgroundColor = '#2b2b2b';
        });
        button.style.backgroundColor = '#5a2e98';

        // Scroll to movieEmbed
        movieEmbed.scrollIntoView({ behavior: 'smooth' });
    }

    function addClickListener(buttonId, serverName) {
        const button = document.getElementById(buttonId);
        if (button) {
            button.classList.add('server-button');
            button.addEventListener('click', function() {
                changeServer(serverName, button);
            });
        }
    }

    addClickListener('superPlayerButton', 'defaultServer');
    addClickListener('vipCloudButton', 'vipCloud');
    addClickListener('123EmbedButton', '123Embed');
    addClickListener('vidProButton', 'vidPro');
    addClickListener('primeWireButton', 'primeWire');
    addClickListener('2EmbedButton', '2Embed');
    addClickListener('frenchCloudButton', 'frenchCloud');
    addClickListener('hindiCloudButton', 'hindiCloud');
    addClickListener('superFlixButton', 'superFlix');
    addClickListener('embedderButton', 'embedder');
    addClickListener('dropLoadButton', 'dropLoad');
    addClickListener('doodStreamButton', 'doodStream');
    addClickListener('moFlixButton', 'moFlix');
    addClickListener('spainCloudButton', 'spainCloud');
    addClickListener('dukaStreamButton', 'dukaStream');
    addClickListener('hindiPlayerButton', 'hindiPlayer');
    addClickListener('superVideoButton', 'superVideo');
    addClickListener('upStreamButton', 'upStream');
    addClickListener('embedsuButton', 'embedsu');
addClickListener('russianCloudButton', 'russianCloud');
    
});
        
            const adBanner = document.querySelector('.ad-banner');
    adBanner.onload = function () {
        const iframeDoc = adBanner.contentDocument || adBanner.contentWindow.document;
        adBanner.style.height = iframeDoc.body.scrollHeight + 'px';
    };

</script>

</body>
</html>