[WordPress] 外掛分享: Mmm Unity Loader

首頁外掛目錄 › Mmm Unity Loader
WordPress 外掛 Mmm Unity Loader 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
尚無評分
4095 天前
最後更新
問題解決
WordPress 3.4+ v1.0 上架:2015-02-11

內容簡介

這是一個簡單的外掛程式,使用 shortcode: [MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /],即可載入 unity3d 檔案。

參數:

src:unity3d 檔案的網址
height:播放器的高度
width:播放器的寬度
attributes:欲加入內嵌或物件輸出的內容應放在此處。
content:開始和結束 shortcode 標籤之間添加的任何內容,會顯示在 Unity 物件加載之前,作為一種「按一下以載入」的方式

使用範例:

[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /]

這將載入一個寬度為 640 像素,高度為 480 像素的檔案-因為未指定內容,一些簡單的文字「按此載入」將在物件被載入之前出現。

[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″]

[/MmmUnityLoader]

這將載入一個寬度為 640 像素,高度為 480 像素的檔案,並使用圖像而非預設的載入文字。

請參閱 http://berv.ca/ 上的使用示例!

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Mmm Unity Loader」→ 直接安裝(推薦)

原文外掛簡介

This is a simple plugin to load unity3d files in a using this shortcode: [MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /].
Parameters:

src: The url to your unity3d file
height: The height of the player
width: The width of the player
attributes: Any content you want added to the embed / object output add in here.
content: Any content added between the start and the end of the shortcode tag will appear before the Unity object is loaded as a sort of “click to load”

Usage Examples:
[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″ /]

This will load a file with a width of 640px by 480px – since no content was specified some simple text “Click here to load” will appear before the Object is loaded.

[MmmUnityLoader src=”yourfile.unity3d” width=”640″ heigh=”480″]
[/MmmUnityLoader]

This will load a file with a width of 640px by 480px and an image instead of the default loading text.

See it in use on http://berv.ca/!

文章
Filter
Apply Filters
Mastodon