docs: add remove_iframe_sandbox tips

This commit is contained in:
DIYgod 2019-11-29 02:26:42 +08:00
parent 1d29996a77
commit 2a8bb0bee9
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 6 additions and 0 deletions

View File

@ -388,6 +388,12 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
## Youtube
::: tip Tiny Tiny RSS 用户请注意
Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性,导致无法加载 Youtube 内嵌视频,如果需要使用内嵌视频请为 Tiny Tiny RSS 安装 [remove_iframe_sandbox](https://github.com/DIYgod/ttrss-plugin-remove-iframe-sandbox) 插件
:::
### 用户
<Route author="DIYgod" example="/youtube/user/JFlaMusic/" path="/youtube/user/:username/:disableEmbed?" :paramsDesc="['用户名', '默认为开启内嵌视频, 任意值为关闭']" radar="1"/>