Changeset 1185
- Timestamp:
- 07/28/10 09:11:48 (3 years ago)
- Location:
- plugins/sharing/v5/doc
- Files:
-
- 14 added
- 1 deleted
- 3 edited
- 1 copied
- 1 moved
-
Sharing.pdf (modified) (previous)
-
assets/exampleskins.png (added)
-
assets/facebookfeed.png (added)
-
assets/facebookshare.png (added)
-
assets/glow.zip (added)
-
assets/player.swf (added)
-
assets/playlist.xml (added)
-
assets/skinning.png (added)
-
assets/swfobject.js (added)
-
examples (added)
-
examples/basic.html (added)
-
examples/playlist.html (added)
-
examples/skinning.html (added)
-
guides (moved) (moved from plugins/sharing/v5/doc/rests)
-
guides/conf.py (modified) (1 diff)
-
guides/embedcodes.rst (added)
-
guides/facebook.rst (added)
-
guides/index.rst (modified) (1 diff)
-
guides/reference.rst (copied) (copied from plugins/sharing/v5/doc/rests/sharing.rst) (12 diffs)
-
guides/sharing.rst (deleted)
Legend:
- Unmodified
- Added
- Removed
-
plugins/sharing/v5/doc/guides/conf.py
r1178 r1185 77 77 # (source start file, target name, title, author, documentclass [howto/manual]). 78 78 latex_documents = [ 79 ('index','Sharing.tex','JW Player Sharing Plugin','www.longtailvideo.com',' howto',False)79 ('index','Sharing.tex','JW Player Sharing Plugin','www.longtailvideo.com','manual',False) 80 80 ] 81 81 -
plugins/sharing/v5/doc/guides/index.rst
r1178 r1185 1 Guide 2 ===== 1 Sharing Guides 2 ============= 3 3 4 4 .. toctree:: 5 5 :maxdepth: 2 6 7 sharing8 6 7 reference 8 facebook 9 embedcodes 9 10 10 11 .. ::12 13 Additional docs to write:14 15 * Setting up Facebook tutorial16 * Using short player codes tutorial17 * Skinning the plugin tutorial18 19 * Basic example20 * Custom skin example21 * Playlist example -
plugins/sharing/v5/doc/guides/reference.rst
r1178 r1185 1 Introduction 2 ============ 1 Sharing Plugin Reference 2 ======================== 3 3 4 4 The Sharing plugin for the JW Player for Flash contains two options for viral sharing of a video: … … 6 6 * The plugin can display a screen to share an *embed code* of the video, similar to Youtube or Vimeo. 7 7 * The plugin can display a screen to share a *share link* of the video, e.g. the URL of a page this video is included in. 8 9 8 10 9 The link sharing screen also provides a couple of shortcuts for easy sharing using popular services: … … 17 16 .. note:: 18 17 19 With Facebook, only the basic link is shared by default. However, it is possible to share the full video player to Facebook with some tinkering to your page HTML.18 With Facebook, only the basic link is shared by default. However, it is possible to share the full video player to Facebook by `setting some meta tags <http://wiki.developers.facebook.com/index.php/Facebook_Share/Specifying_Meta_Tags>`_ in the <head> of your page. 20 19 21 20 … … 23 22 24 23 Configuration Options 25 ===================== 24 --------------------- 26 25 27 26 The plugin is loaded with the **plugins=sharing-2** option in the JW Player. This ensures you load version 2 of the plugin, which includes the skinning and playlist support. In addition to the plugin assignor, two dedicated flashvars are supported: … … 31 30 URL to display in the **share** screen of the plugin. If no *link* is set, the **share** screen is not shown. Example: 32 31 33 code-block:: html32 .. code-block:: html 34 33 35 http://www.mywebsite.com/videos/12345/34 http://www.mywebsite.com/videos/12345/ 36 35 37 36 .. describe:: sharing.code ( undefined ) … … 49 48 50 49 Example 51 ------- 50 ^^^^^^^ 52 51 53 52 Here is a basic embed code example of a player using the sharing plugin. This example uses the SWFObject 2.0 embedding script: … … 72 71 73 72 Using Playlists 74 =============== 73 --------------- 75 74 76 75 In addition to setting them in the embed code, the two sharing options can also be set per playlist entry. The global configuration options should still be set: … … 97 96 98 97 Example 99 ------- 98 ^^^^^^^ 100 99 101 100 Here is a basic example; an RSS playlist with one entry that has both a *sharing.link* and *sharing.code* defined. … … 132 131 133 132 Skinning 134 ======== 133 -------- 135 134 136 135 This plugin can be skinned using the `PNG Skinning Model <http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/14/skinning-the-jw-player-5>`_ of the JW Player. Three aspects of the plugin can be skinned: … … 140 139 * The background of the **share** and **embed** screens. 141 140 142 The skinning functionality is basic and purely visual. It is not possible to rearrange the position of the various elements in the share and embed screens, or to add/remove elements. 141 The skinning functionality is basic and purely visual. It is not possible to rearrange the position of the various elements in the share and embed screens, or to add/remove elements. Here's two examples of what is possible with the skinning of this plugin: 143 142 144 The sharing screens must both be 300x140 pixels, since the plugin simply maps the coordinates of a mouse click to the action that should be executed. 143 .. image:: ../assets/exampleskins.png 144 :alt: Skinning examples. 145 146 The sharing screens must both be 300x140 pixels, since the plugin simply maps the coordinates of a mouse click to the action that should be executed. Here is an overview of the mappings: 147 148 .. image:: ../assets/skinning.png 149 :alt: Sharing plugin screens. 150 145 151 146 152 XML Block 147 --------- 153 ^^^^^^^^^ 148 154 149 155 Here is the full XML code block as supported by the sharing plugin: … … 166 172 167 173 Example Skins 168 ------------- 174 ^^^^^^^^^^^^^ 169 175 170 176 Here's a few skins that include a custom look for the *sharing* plugin (all using the dock, not the controlbar). Feel free to download these and/or tweak their looks: … … 178 184 179 185 180 Change s181 ======= 186 Changelog 187 --------- 182 188 183 189 Version 2.0 184 ----------- 190 ^^^^^^^^^^^ 185 191 186 * Switched from the 4.x to the 5.x plugin API. As of this version, the plugin cannot be loaded in the JW Player v4.192 * Switched from the 4.x to the 5.x plugin API. As of now, the plugin cannot be loaded in the JW Player v4. 187 193 * Added support for a *sharing.code* and *sharing.link* property per PlaylistItem. 188 194 * Added support for PNG skinning. As of this version, the buttons and the screens can be skinned.
Note: See TracChangeset
for help on using the changeset viewer.
