內容簡介
增加了2個短碼,以便使用Scribd Docs Reader將Scribd文件或Scribd支援的文件(例如PDF、MS Office、ePub和其他許多)嵌入到網頁中。這些短碼提供了超越Jetpack by WordPress.com提供的標準scribd嵌入短碼的功能。
版本2 現在在編輯器中包括短碼按鈕和配置器,因此您可以輕鬆輸入嵌入文檔所需的信息。請參閱屏幕截圖以查看它們。
[scribd-doc]短碼:
允許您嵌入已上傳到Scribd的文檔。
Scribd文檔可以是公開或私人的。
需要文檔ID和文檔密鑰:
[scribd-doc doc=”DOCID” key=”KEY”]
[scribd-url]短碼:
允許您從公開可訪問的URL創建Scribd Reader。
必須自然支持Scribd的文檔類型。
需要文檔URL和您的Scribd發布者API密鑰:
[scribd-url url=”FULL-URL” pubid=”YOUR-SCRIBD-PUBLISHER-ID”]
這兩個短碼都支持Scribd API提供的許多選項參數:
width:定義Reader的寬度(以像素為單位)。
height:定義Reader的高度(以像素為單位)。
page:設置Reader要加載的頁面號。
mode:定義播放器模式(“list”或“slideshow”)
share:定義是否顯示工具欄中的共享按鈕,覆蓋默認值(“true”或“false”)
seamless:如果設置為“true”,則將播放器放入無縫模式
(僅s scribd-doc支援無縫)
如果未設置高度或寬度,Scribd Reader將嘗試正確地調整大小。
注意:您需要一個Scribd帳戶和Scribd API密鑰才能使用此插件。
您可以在http://www.scribd.com上註冊Scribd帳戶。
使用Scribd帳戶,您可以在http://www.scribd.com/developers上獲取API密鑰。
外掛標籤
開發者團隊
原文外掛簡介
Adds 2 shortcodes so Scribd documents or documents supported by Scribd (e.g. PDF, MS Office, ePub, and many others) can
be embedded into a web page using the Scribd Docs Reader. These shortcodes provide functionality beyond the standard scribd
embed shortcode provided in Jetpack by WordPress.com.
Version 2 Now includes shortcode button and configurator in the editor so you easily enter the information you need to embed you documents. Take a look at the screenshots to see them.
[scribd-doc] Shortcode:
Allows you to embed a document that has been uploaded to Scribd.
The Scribd document can be public or private.
Requires both the document ID and the document key:
[scribd-doc doc=”DOCID” key=”KEY”]
[scribd-url] Shortcode:
Allows you to create a Scribd Reader from a publicly accessible URL.
Naturally requires that the document type be supported by Scribd.
Requires both the document URL and your Scribd Publisher API key:
[scribd-url url=”FULL-URL” pubid=”YOUR-SCRIBD-PUBLISHER-ID”]
Both shortcodes support many optional parameters provided by the Scribd API:
width: Define the width of the Reader in pixels.
height: Define the height of the Reader in pixels.
page: Set a page number for the Reader to load on.
mode: Define the player mode (either “list” or “slideshow”)
share: Defines whether the share button in the toolbar is shown, overriding the default (either “true” or “false”)
seamless: If set to “true”, puts the player into seamless mode
(seamless is only supported by scribd-doc)
If height or width are not set, the Scribd Reader will attempt to size itself correctly.
Note: You will need a Scribd account and a Scribd API key for this plugin to work.
You can sign up for a Scribd account at http://www.scribd.com.
With a Scribd account, you can get your API key at http://www.scribd.com/developers
