內容簡介
嵌入來自 Bambuser 的直播和影片。
用法
展示單一影片
在文章中輸入 ‘[bambuser id=”012345″]’ 簡碼。 id 編號是 bambuser 網址末尾的數字 (例如,網址‘http://bambuser.com/channel/user/broadcast/012345’ 中的 012345)
如果需要,可以通過在簡碼中添加值來設定播放器的高度和寬度,例如 [bambuser id=”012345″ height=”300″ width=”400″]
展示頻道
在文章中輸入 ‘[bambuser channel=”user”]’ 簡碼。 channelname 是帳戶的用戶名,可以在 bambuser 網址末尾找到 (例如,網址‘http://bambuser.com/channel/user/’ 中的 user)
如果需要,可以通過在簡碼中添加值來設定播放器的高度和寬度,例如 [bambuser channel=”user” height=”300″ width=”600″]。如果沒有設置高度值,則外掛會自動將高度設置為 500。
參數
id — 影片串流 ID。必須是數字。預設值:空字符串
channel — 顯示特定用戶的所有影片。 — 預設值:空字符串
playlist — 選項:show / hide — 預設值:hide
width — 播放器寬度 — 預設值:230
height — 播放器高度 — 預設值:276
debug — 選項:on / silent / off — 預設值:off
外掛標籤
開發者團隊
原文外掛簡介
Embed livestreams and videos from Bambuser.
Usage
Show a single video
Enter the ‘[bambuser id=”012345″]’ short code into your post. The id number is the numbers in the end of the bambuser url (ex. 012345 in the url ‘http://bambuser.com/channel/user/broadcast/012345’)
If you want, you can set the height and width of the player by adding the values to the shortcode like this, [bambuser id=”012345″ height=”300″ width=”400″]
Show a channel
Enter the ‘[bambuser channel=”user”]’ short code into your post. The channelname is the accounts username that you find in the end of the bambuser url (ex. user in the url ‘http://bambuser.com/channel/user/’)
If you want, you can set the height and width of the player by adding the values to the shortcode like this, [bambuser channel=”user” height=”300″ width=”600″]. If you dont set a heightvalue the plugin will automaticly set the height to 500.
Parameters
id – Videostream ID. Must be numeric. Default: empty string
channel – Show all videos from a specific user. – Default: empty string
playlist – Options: show / hide – Default: hide
width – Width of the player – Default: 230
height – Height of the player – Default: 276
debug – Options: on / silent / off – Default: off
