I have a problem with iframe and my YouTube videos not playing on my website anymore. Not sure what has changed. Code is below. Shows up just black screen

<?php get_header(); ?>

        <section class="welcome clearfix">

            <div class="content">
	     
		<!-- 
		<div class="video">
		<iframe width="560" height="315" src="https://www.youtube.com/embed/N1ISDPGDL_0"
		</div>
		<!-- /video -->

 
		<div class="video">
                    <a href="https://www.youtube.com/embed/N1ISDPGDL_0" class="video-thumb">
                        <i class="fa fa-play-circle-o"></i>
                        <img src="http://maidayproductions.com/site/wp-content/uploads/2021/02/dsfsdfsd.jpg" alt="Welcome Video">
                    </a>
                </div>
		<!--/video-->

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Ok thank you!!!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.