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

后端 未结 6 797
既然无缘
既然无缘 2020-12-08 00:31

Screenshot of t

6条回答
  •  再見小時候
    2020-12-08 00:37

    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 on your case.

提交回复
热议问题