【问题标题】:Is there anyway to embed a game from Coolmathgames.com to my site?有没有办法将 Coolmathgames.com 上的游戏嵌入我的网站?
【发布时间】:2020-07-14 14:36:22
【问题描述】:

我尝试通过代码找到嵌入游戏的内容,如下所示:

<iframe1 src="https://www.coolmathgames.com/0-ovo/play" class="square" width="800px" height="600px" id="html5game" scrolling="no"></iframe1>

但它不起作用,我想将酷数学游戏中的游戏嵌入到我的网站上 喜欢有什么方法可以得到这个游戏:https://coolmathgames.com/0-ovo 或来自这个网站的任何游戏:https://coolmathgames.com 并将其嵌入到网站中

【问题讨论】:

  • 不以什么方式工作?控制台说什么?该网站可能将X-Frame-Options 标头设置为SAMEORIGIN,这意味着没有人可以对该网站进行iframe。
  • 你能去coolmathgames.com/0-ovo/play看看你能不能得到游戏的原始html文件或swf文件,这是它使用的类型,所以我可以嵌入游戏而不是网站本身,我试过了通过代码寻找主要代码但找不到它,如果你知道我的意思就像游戏文件本身一样

标签: html embed


【解决方案1】:

使用网址https://m.coolmathgames.com/0-ovo。 “移动”的“m”使其自动全屏显示。

【讨论】:

    猜你喜欢
    • 2012-06-04
    • 2013-11-22
    • 1970-01-01
    • 2012-09-17
    • 2021-10-20
    • 2010-11-19
    • 2021-06-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多