在Google文档中显示YouTube视频的弹出窗口 [英] Show Popup of YouTube video within Google Doc

查看:274
本文介绍了在Google文档中显示YouTube视频的弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将YouTube视频显示为在Google文档上弹出显示. 因此,如果我在我的Google文档中保留一个YouTube链接,然后单击该链接,则YouTube视频应显示/播放为弹出窗口.

I want to show YouTube video as pop over on Google Doc. So, if I keep a YouTube link within my Google Doc and then click on the link then the YouTube video should show / play as pop up.

推荐答案

尽管您可以使用Apps脚本创建一个包含YouTube视频的自定义对话框,但是您无法从Google文档中的链接启动Apps脚本.您必须在文档中添加一个菜单项,该菜单项将在文档中查找所有YouTube链接,并使用户能够选择要播放的YouTube链接.

Although you could use Apps Script to create a custom dialog with the YouTube video in it, you can't initiate Apps Script from a link in a Google Doc. You'd have to add a menu item to the doc which would look for all the YouTube links in the doc and give the user the ability to select which one to play.

这篇关于在Google文档中显示YouTube视频的弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆