So youtube somehow automatically changes your html? Or you are using some package?
Sep 11, 2022
14
Level 2
the content must be served over HTTPS.
Hi I am trying to show video from YOUTUBE in the Blade. by the following code:
<div class="col-lg-5 offset-lg-1 col-md-6 col-12">
<!-- About Video -->
<div class="modern-img-feature">
<img src="{{url('frontend/img/IoT.jpeg')}}" alt="#">
<div class="video-play pt-2">
<a href="{{url('https://www.youtube.com/watch?v=hZV0U6fi8YM')}}" class="video video-popup mfp-iframe">
<i class="fa fa-play"></i>
</a>
</div>
</div>
<!--/End About Video -->
</div>
When I use this with hostinger server the video embed works , but when I use the same code with siteground server the video embed is not working Console shows the following error:
jquery.min.js:3
Mixed Content: The page at 'https://rakeeza.net/aboutus' was loaded over HTTPS, but requested an insecure frame 'http://www.youtube.com/embed/hZV0U6fi8YM?autoplay=1'. This request has been blocked; the content must be served over HTTPS.
Please or to participate in this conversation.