I add a YouTube video to the training slides I made by Prismic. It shows the first video but from the second to the end, it returns the following error (on Chrome):
Refused to display 'https://www.youtube.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
On the Firefox, instead of the video plays, the following error shows:
To protect your security, www.youtube.com will not allow Firefox to display the page if another site has embedded it.
and let me click on a button that opens the link of the YouTube video and plays the video on the YouTube channel instead of my website. Is there any suggestion to fix the error?