帖子和页面中的作品
将游戏添加到博客文章、关于页面、活动页面或会员资源部分。

Squarespace 游戏小部件
Squarespace 发布商可以使用代码块添加浏览器游戏。粘贴 Games I Know iframe,在移动设备上预览页面,即可在博客文章、着陆页或资源部分中为访客提供无需下载的游戏。
代码块 embed
博客和页面支持
响应式 iframe
无需插件
简答
在 Squarespace 中,添加一个代码块,粘贴 Games I Know 和 iframe,然后使用 /embed/{gameSlug}/frame/ 并附上您的租户 ID。发布前,请在移动设备宽度下预览。
可以将下面的 iframe 模式粘贴到 Squarespace 代码块中。
Squarespace网站所有者和创建者
Squarespace 用户通常想要的是带有一个交互式模块的精美页面,而不是完全自定义的页面。
将游戏添加到博客文章、关于页面、活动页面或会员资源部分。
如果 Squarespace 允许您的套餐包含自定义代码,则可以直接粘贴 iframe 标记。
Games I Know 框架是为普通内容列内的纵向手机布局而构建的。
设置流程
编辑页面,插入代码块,粘贴 iframe,并在发布前预览。
步骤 1
打开游戏所在的页面或博客文章。
步骤 2
插入代码块,并将 Games I Know iframe 代码片段粘贴到您已批准的域名中。
步骤 3
在方块的上下方添加填充,使游戏不会与相邻部分过于拥挤。
步骤 4
在手机和电脑上预览,然后在 iframe 加载并正确播放后发布。
执行
Squarespace 主题控制列宽,因此在发布游戏之前,请在实际模板中测试游戏。
避免使用过窄的侧边区域。iframe 的宽度应与主图或视频的宽度相同。
Squarespace 的部分套餐限制了代码块的使用。请确认您的网站已启用自定义代码。
添加标题和简短介绍,以便页面对读者和搜索引擎保持有用性。
可玩游戏
Tic Tac Toe
Embed for same-screen play on your site, or send players to Games I Know to challenge a friend remotely with a room link.
Embed 设置
Four in a Row
Embed for local two-player drops on one screen, or link friends to play Four in a Row online from anywhere.
Embed 设置
Bingo
Same-screen Bingo in your embed, or host a remote room so players can join from their own devices.
Embed 设置
I Know
Quick trivia in your embed on one screen, or run a live room so friends can answer from anywhere.
Embed 设置
Sudoku
Embed a solo Sudoku puzzle for calm brain breaks on blogs, school pages, and waiting-room screens.
Embed 设置
Word Search
Embed a solo Word Search puzzle for quick brain breaks on blogs, school pages, and waiting-room screens.
Embed 设置
常问问题
使用 /embed/{gameSlug}/frame/ 作为 iframe 的 src。该路由是为网站 embed 和 postMessage 事件构建的轻量级游戏框架。/embed/{gameSlug}/ 路由是面向用户的公开预览和 SEO 页面,不应放置在 iframe 内。
不。访客可以在手机、平板电脑、笔记本电脑或台式机上的浏览器iframe内进行游戏。只有安装embed的网站所有者才需要合作伙伴帐户。
是的。Games I Know 和 embed 是围绕注册网站和域名受限的租户设置设计的,因此复制的 iframe 代码不能在未经授权的网站上随意重复使用。
Tic Tac Toe、Four in a Row、Bingo 和 I Know 可作为 embed 浏览器游戏使用。embed 文档在所有受支持的游戏中使用相同的事件模型。
是的。在文章正文中添加一个代码块,然后粘贴iframe代码片段。保留周围的文本,以确保文章的可读性和可索引性。