P
P
pmozil2019-07-02 21:14:26
css
pmozil, 2019-07-02 21:14:26

Why is the video through the iframe unavailable, but it plays normally on youtube?

I inserted a video on the site through an iframe, when I click on the play button, it says "this video is not available", but on YouTube the video plays without problems. Also, if you insert another video through an iframe, then everything works.
But that's exactly what I need.
embed code:

<div class="row">
             	<div class="col">
             		<div class="embed-responsive embed-responsive-16by9">
  						<iframe width="560" height="315" src="https://www.youtube.com/embed/AOcYIERhLKQ" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
             	</div>
            </div>

In what ways can the problem be solved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2019-07-02
@shambler81

1 you have X-Frame-Options SAMEORIGIN
2. why have an afire when there is a video tag? https://www.bustier.ru/video/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question