Changeset 1773 for plugins/sharing/v5/doc/embedcodes.html
- Timestamp:
- 04/29/11 03:19:02 (2 years ago)
- File:
-
- 1 edited
-
plugins/sharing/v5/doc/embedcodes.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/sharing/v5/doc/embedcodes.html
r1749 r1773 82 82 allowfullscreen="true" 83 83 height="270" 84 src="http:// server.com/players/12345.swf"84 src="http://example.com/videos/12345.swf" 85 85 width="480" 86 86 /> … … 133 133 </ul> 134 134 135 <h2>Iframes</h2> 136 137 <p>Since HTML5 video is used more and more, the <embed> tag is not the ideal way to share content. An emerging alternative is the <iframe> tag. With an iframe, it is possible to offer device-specific embed codes, while still keeping the code short. Example:</p> 138 139 <pre> 140 <iframe 141 src="http://example.com/videos/12345/" 142 width="480" 143 height="300" 144 frameborder="0" 145 scrolling="auto" 146 ></iframe> 147 </pre> 148 149 <p>This example embeds an HTML file (<em>http://example.com/videos/12345/</em>) in a 480x300 pixels frame without borders or scrollbars. The HTML file itself can contain a full <a href="http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/15995/jw-embedder-reference-guide">JW Embedder setup</a>, including fallbacks to various devices. If the player inside the HTML file is also 480x300 pixels, 150 users will not see the player is actually loaded into an iframe.</p> 151 152 <p>In terms of redirecting the <em>12345</em> and doing the database lookup, this example can work exactly like the redirected <embed> example from the previous section.</p>
Note: See TracChangeset
for help on using the changeset viewer.
