Changeset 1915
- Timestamp:
- 07/14/11 10:48:42 (23 months ago)
- Location:
- plugins/sharing/doc
- Files:
-
- 6 edited
-
assets/facebookfeed.png (modified) (previous)
-
assets/facebookshare.png (modified) (previous)
-
assets/sharing.png (modified) (previous)
-
embedcodes.html (modified) (1 diff)
-
facebook.html (modified) (3 diffs)
-
reference.html (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/sharing/doc/embedcodes.html
r1773 r1915 1 <html> 2 <head> 3 <title>Setting Clean Embed Codes</title> 4 <style> 5 body { padding: 50px 100px; width: 660px; font: 13px/20px Arial; background: #FFF; } 6 a , h1, h2{ color: #369; } 7 h1 { font-size: 32px; } 8 h2 { margin-top: 50px; } 9 h3 { margin-top: 25px; } 10 img, #player { -webkit-box-shadow: 0 0 5px #999; margin: 0 10px; } 11 pre { font-size: 12px; background: #E5F3C8; padding:5px 10px; border: 1px solid #D3EAA4; } 12 dd { color: #333; font-style: italic; } 13 </style> 14 </head><body> 15 16 <h1>Setting Clean Embed Codes</h1> 17 18 19 20 1 21 <p>Viral sharing has become one of the most important aspects of video online. The JW Player supports viral sharing options through several plugins, for example:</p> 2 22 -
plugins/sharing/doc/facebook.html
r1749 r1915 1 <html> 2 <head> 3 <title>Facebook Video Sharing</title> 4 <style> 5 body { padding: 50px 100px; width: 660px; font: 13px/20px Arial; background: #FFF; } 6 a , h1, h2{ color: #369; } 7 h1 { font-size: 32px; } 8 h2 { margin-top: 50px; } 9 h3 { margin-top: 25px; } 10 img, #player { -webkit-box-shadow: 0 0 5px #999; margin: 0 10px; } 11 pre { font-size: 12px; background: #E5F3C8; padding:5px 10px; border: 1px solid #D3EAA4; } 12 dd { color: #333; font-style: italic; } 13 </style> 14 </head><body> 15 16 <h1>Facebook Video Sharing</h1> 17 18 19 1 20 <p>Facebook provides a simple but effective mechanism for sharing web pages with your friends:</p> 2 21 … … 56 75 <p>Here's an image that shows two instances of the Facebook <em>share</em> page. In the first example, the metatags are not included on the page that is shared, in the second example they are. As you can see, the second example is a lot richer in content:</p> 57 76 58 <p><img src=" http://www.longtailvideo.com/support/sites/default/files/facebooksharenew.png" alt="facebook sharing dialogs" /></p>77 <p><img src="assets/facebookshare.png" alt="facebook sharing dialogs" style="margin-left: 10px" /></p> 59 78 60 79 … … 71 90 <p>Here's how a video player will look in the news feed of a person who shared it:</p> 72 91 73 <p><img src=" http://www.longtailvideo.com/support/sites/default/files/facebookfeednew.png" alt="video player on Facebook profile"/></p>92 <p><img src="assets/facebookfeed.png" alt="video player on Facebook profile" style="margin-left: 60px"/></p> 74 93 75 94 <p>Clicking the thumbnail will replace the description with your actual videoplayer, so people can watch your video inline.</p> -
plugins/sharing/doc/reference.html
r1910 r1915 1 <html> 2 <head> 3 <title>Sharing Plugin Reference</title> 4 <style> 5 body { padding: 50px 100px; width: 660px; font: 13px/20px Arial; background: #FFF; } 6 a , h1, h2{ color: #369; } 7 h1 { font-size: 32px; } 8 h2 { margin-top: 50px; } 9 h3 { margin-top: 25px; } 10 img, #player { -webkit-box-shadow: 0 0 5px #999; margin: 0 10px; } 11 pre { font-size: 12px; background: #E5F3C8; padding:5px 10px; border: 1px solid #D3EAA4; } 12 dd { color: #333; font-style: italic; } 13 </style> 14 </head><body> 15 16 17 <h1>Sharing Plugin Reference</h1> 18 19 1 20 <p>The purpose of this guide is to be a reference for you as you get started with the latest version of the <a href="http://www.longtailvideo.com/addons/plugins/110/Sharing">Sharing plugin for the JW Player</a>.</p> 2 21 … … 26 45 <dd>URL to display in the Video Link field of the plugin, for example <em>http://www.mywebsite.com/videos/12345/</em>. If no <b>link</b> is set, the page URL is automatically used.</dd> 27 46 <dt><b>sharing.code</b> ( <em>undefined</em> )</dt> 28 <dd>Embed code to display in the Embed Code field of the plugin. If no <b>code</b> is set, the field is not shown. Example code: 47 <dd>Embed code to display in the Embed Code field of the plugin. If no <b>code</b> is set, the field is not shown. Example code:</dd> 29 48 <pre> 30 <embed src="http://mysite.com/player123.swf" width="480" height="270" allowfullscreen="true" /> 31 </pre></dd> 49 <embed 50 src="http://example.com/player.swf" 51 width="480" 52 height="270" 53 allowfullscreen="true" /> 54 </pre> 32 55 33 56 <p>Since the embed code may contain special characters like <em><</em>, <em>"</em> or <em>&</em>, you should <strong>URIEncode</strong> the string in the embed code of your player. The JW Player will automatically decode your string when it is loaded. <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12536/configuration-options">See the beginning of this guide</a> for more info.</p> 34 57 35 <h 4>Example</h4>58 <h3>Example</h3> 36 59 37 60 <p>Here is a basic embed code example of a player using the sharing plugin. This example uses the <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/15995/jw-embedder-reference-guide">JW Embedder</a>:</p> … … 47 70 plugins: { 48 71 "sharing-3": { 49 code: "%3Cembed src%3D%22http%3A%2F%2F www.website.com%2Fembeds%2F1775.swf%2250 width%3D%22320 %2F%3E",72 code: "%3Cembed src%3D%22http%3A%2F%2Fexample.com%2Fembeds%2F123.swf 73 %22width%3D%22320 %2F%3E", 51 74 link: "http://www.website.com/videos/1775/" 52 75 } … … 69 92 </ul> 70 93 71 <h 4>Example</h4>94 <h3>Example</h3> 72 95 73 96 <p>Here is a basic example; an RSS playlist with one entry that has both a <b>sharing.link</b> and <b>sharing.code</b> defined.</p> … … 86 109 <jwplayer:sharing.code> 87 110 <![CDATA[ 88 <embed src="http:// video.longtailvideo.com/players/nPripu9l-ALJ3XQCI.swf"111 <embed src="http://example.com/players/nPripu9l-ALJ3XQCI.swf" 89 112 width="480" height="270" allowfullscreen="true" /> 90 113 ]]> … … 96 119 </pre> 97 120 98 Since the embed code may contain special characters like <em><</em>, <em>"</em> or <em>&</em>, you should enclose it in CDATA tags in the playlist, as displayed in the above example. Otherwise, the XML syntax of the playlist will be broken. `See the playlist support guide <http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12537/xml-playlist-support>`_for more info.121 Since the embed code may contain special characters like <em><</em>, <em>"</em> or <em>&</em>, you should enclose it in CDATA tags in the playlist, as displayed in the above example. Otherwise, the XML syntax of the playlist will be broken. <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12537/xml-playlist-support">See the playlist support guide</a> for more info. 99 122 100 123 … … 110 133 <h2>Changelog</h2> 111 134 112 <h 4>Version 3.0</h4>135 <h3>Version 3.0</h3> 113 136 114 137 <ul> … … 118 141 <li>Removed both the MySpace and Email buttons. Enlarged the Facebook and Twitter buttons.</li> 119 142 </ul> 143 144 145 </body> 146 </html>
Note: See TracChangeset
for help on using the changeset viewer.
