Google 课堂插件现已面向开发者正式推出!如需了解详情,请参阅
插件文档。
链接升级 iframe
链接升级 iframe 是教师在同意将链接附件升级为插件附件后看到的视图。如需详细了解此功能,请参阅有关升级插件附件的链接的指南。
链接升级流程
在作业创建页面中,教师可以在“添加链接”对话框中添加一个链接。
![教师在作业中添加链接附件](https://developers.google.cn/static/classroom/add-ons/images/link-attachment.png?hl=zh-cn)
图 1. 在作业创建页面上显示的对话框,供教师创建链接附件。
如果“链接”与您提供的网址格式匹配,则教师会看到一个对话框,提示他们将“链接”升级为插件附件。如果双方同意,“链接升级”iframe 将会打开并显示相关的 iframe 查询参数。创建附件后,iframe 便会关闭,且教师会看到附件包含在作业创建页面中。
如需详细了解此流程中的用户体验注意事项,请参阅有关升级插件附件链接的指南的“建议的用户体验”部分。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-24。
[null,null,["最后更新时间 (UTC):2024-06-24。"],[[["The Link Upgrade iframe allows teachers to upgrade Link attachments to add-on attachments, streamlining the process of incorporating interactive elements into assignments."],["When a teacher adds a link that matches a predefined URL pattern, they are prompted to upgrade to an add-on attachment, enhancing the functionality of the link within the assignment."],["Upon teacher confirmation, the Link Upgrade iframe opens, facilitating the creation of the add-on attachment using relevant parameters before seamlessly integrating it into the assignment."]]],[]]