外掛說明
Integrate the xtendx simplex player with a shortcode.
Generates an embed code and displays the simplex player in a responsive iframe.
Shortcode examples
/* cid, aid, pid */
[embed-simplex-player cid=”2″ aid=”3945″ pid=”65009″]
/* cid, aid, pid, width, height */
[embed-simplex-player cid=”2″ aid=”3945″ pid=”65009″ width=”600″ height=”600″]
/* cid, aid, pid, embed, width, height */
[embed-simplex-player cid=”2″ aid=”3945″ pid=”65009″ embed=”0″ width=”600″ height=”800″]
/* url, cid, aid, pid */
[embed-simplex-player url=”https://media10.simplex.tv/” cid=”2″ aid=”3945″ pid=”65009″]
/* replace http with https & add trailing slash */
[embed-simplex-player url=”http://media10.simplex.tv” cid=”2″ aid=”3945″ pid=”65009″]
/* cid, aid, pid, get */
[embed-simplex-player cid=”2″ aid=”3945″ pid=”65009″ get=”&muteVideo=1&autostart=1&themeColor=FF0000″]
/* cid, aid, pid, style_wrapper */
[embed-simplex-player cid=”2″ aid=”3945″ pid=”65009″ style_wrapper=”border:2px solid green;”]
/* cid, aid, pid, style_iframe */
[embed-simplex-player cid=”2″ aid=”3945″ pid=”65009″ style_iframe=”border:2px solid blue;”]
/* cid, aid, pid, thumbnail */
[embed-simplex-player cid=”2″ aid=”3945″ pid=”65009″ thumbnail=”1″]
Embed code example
<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"><iframe style=" position: absolute; top: 0; left: 0; width: 100%; height: 100%;" width="1280" height="720" src="https://media10.simplex.tv/content/2/3945/65009/?embed=1" frameborder="0" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no"></iframe></div>
simplex player
Check out https://www.xtendx.com for further information on how to use the simplex player.
安裝方式
Log in to your WordPress dashboard, navigate to the Plugins menu and click Install.
Upload and activate the plugin (embed-simplex-player.zip).
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial release.
1.0.1
- Fixed issue with get attributes.
1.0.2
- Additional parameter “thumbnail” loads video iframe after a click on the thumbnail image.
1.0.3
- Fixed issues with parameters “thumbnail”, “width”, “height”.
1.0.4
- Fixed issues with parameters “width”, “height”.
1.0.5
- General update.