Refused to display ‘url’ in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’

I faced the same error when displaying YouTube links.
For example: https://www.youtube.com/watch?v=8WkuChVeL0s

I replaced watch?v= with embed/ so the valid link will be:
https://www.youtube.com/embed/8WkuChVeL0s

It works well.

Try to apply the same rule to your case.

Update:
You may need to add ?enablejsapi=1 to the Url according to the comments guide below.
Like https://www.youtube.com/embed/8WkuChVeL0s?enablejsapi=1

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)