繁体   English   中英

有没有办法在谷歌网站 2021 中嵌入 .swf 文件并弄乱 flash 播放器?

[英]Is there a way to embed .swf files and ruffle flash player in google sites 2021?

我目前正在使用旧的 flash 游戏开发类似 miniclip-newgrounds 的网站。 我现在真的不知道如何嵌入 flash 文件,新的 UI 让我感到困惑。 当然,flash 将不再工作,所以我必须嵌入褶边 flash 模拟器。

我该怎么做这些东西?

谢谢。

这实际上是可能的。 在新的谷歌网站中,您已经嵌入了允许您嵌入褶边的组件。 下面的代码段应该可以工作。 您可以将 script src 替换为您的 ruffle 脚本,但我已经为您放了一个。 将对象的高度和宽度更改为您喜欢的任何内容。 将值 src 更改为 flash 游戏 swf 文件。 将嵌入 src 更改为您的 flash 游戏 swf 文件。 EG https://sites.google.com/view/penguinpoint/community加载需要一些时间。

 <script src="https://flash-games.penguinbotcoder.repl.co/ruffle/ruffle.js"></script> <object width="600" height="400"> <param name="movie" value="https://flash-games.penguinbotcoder.repl.co/flashgames/thinice.swf"> <embed src="https://flash-games.penguinbotcoder.repl.co/flashgames/thinice.swf"> </embed> </object>

非常感谢您提供此代码。 我很高兴在我的网站中使用它,这样我就可以再次运行数百个旧但不错的 swf 文件! 我想知道是否可以在这段代码中添加“自动播放”或“自动启动”功能。

<script src="https://www.sinapsi.org/public/ruffle/ruffle.js"></script>
<object width="750" height="550">
<param name="movie" value="https://www.sinapsi.org/public/espressione01.swf">
<embed src="https://www.sinapsi.org/public/espressione01.swf">
</embed>
</object>

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM