no-google-adsense-in-youtube

How To Create programming using PHP that does not include YouTube Google AdSense?


No Google AdSense in YouTube video

Today we will create a project on YouTube in My Programming in which we will not get any Google AdSense we will be able to enjoy YouTube without any ads. This is a blog created to learn new Programming, so no one should report and enjoy YouTube without any AdSense, see and follow my steps.

In a nutshell, how to enjoy YouTube without any Google AdSense. First of all, we will create an HTML structure and create a form in it. Now we will give name = “name” in the first input and name = “submit” in the second input then we will start PHP (<?php) and add some PHP code in PHP Now let’s close PHP (php>).

  • How to use:-
    1. First, open your XAMPP server then Start Apache and MySql.
    2. Open Youtube and open any video song then Copy Embed code this video.
    3. Now paste the copied code in the input file inside the index.php file
    4. This Page Scroll and enjoy the video.

Step1:- Create index.php File.

<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<style type="text/css">
    iframe{
        width: 100%;
        height: 100vh;
    }
    form{
        text-align: center;
        padding: 50px;
    }
    form input{
        padding: 5px 10px;
        height: 40px;
        background: #606060;
    }
    input::placeholder{
        color: #000;
        font-weight: 600;
    }
</style>
<body>
<h1>NO YouTube Google AdSense NO WASTE TIME Create By MYPROGRAMING.COM</h1>



<form action="#" method="POST">
<input type="text" name="name" placeholder="Copy link Paste Here"><br><br>
    <input  type="submit" name="submit">
</form>

<?php 
if (isset($_POST['submit'])) {
    $name =$_POST['name'];

    echo "<iframe 
src='https://www.youtube.com/embed/$name'>
</iframe>";
}

?>
</body>
</html>

Step2:- Open YouTube and Copy Embed Code

Step3:- Open your index.php File your Browser and Paste Copy Code.

Step4:- Scroll This index.php Page and Enjoy your Video song.

Output:-


Related Posts

One thought on “How To Create programming using PHP that does not include YouTube Google AdSense?

Leave a Reply

Your email address will not be published. Required fields are marked *