I know that there is already an answer for this, but I have 'embed' in the URL and it is not working. I have tried using 'watch', I have copied the URL directly from the source, I have deleted all of the styles, etc. There are about 7 videos total in all of the slides and the first one loads and works, but all the videos after it do not. All the slides are getting the content from Prismic.io.
I get the error: Refused to display 'https://www.youtube.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
and my code is:
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item"
src="https://www.youtube.com/embed/m1mHOcNilag?rel=0&showinfo=0"
allowfullscreen></iframe>
</div>
Sometimes this error will show up with it: "The service worker navigation preload request was cancelled before 'preloadResponse' settled. If you intend to use 'preloadResponse', use waitUntil() or respondWith() to wait for the promise to settle."
Just throwing this in there, not sure if it has any effect, but I also get this warning in the console: "chromewebdata/:7290 crbug/1173575, non-JS module files deprecated."