Deviantart Iframe embedding

Allows external links named "[iframe-embed]" to replace the deviation image with an iframe of the link.

目前為 2016-04-16 提交的版本,檢視 最新版本

作者
RSGmaker
評價
0 0 0
版本
0.11
建立日期
2016-04-16
更新日期
2016-04-16
尺寸
5.3 KB
授權條款
未知
腳本執行於

This script allows external content to be shown on DeviantArt deviations as well as sta.sh content.
The primary reason I made this was to allow html5 games to appear right on the deviation page, but you can use it to show just about anything.

To use it just include a link in your description(or within the text, if it's a journal/text entry) and call it "[iframe-embed]", it will then load whatever the link points to right on the deviation page itself, if it's an art deviation, it will replace the display image.


When it loads a warning box will appear allowing the user to review the url, before deciding whether or not to allow the content to load.

You can also specify a width and height of the embed
eg; [iframe-embed width="800" height="600"]