Changeset 2315
- Timestamp:
- 07/11/12 06:49:44 (11 months ago)
- Location:
- branches/jw6/doc
- Files:
-
- 18 edited
-
about.html (modified) (5 diffs)
-
accessible.html (modified) (3 diffs)
-
browsers.html (modified) (7 diffs)
-
captions.html (modified) (8 diffs)
-
crossdomain.html (modified) (2 diffs)
-
embedding.html (modified) (6 diffs)
-
feeds.html (modified) (2 diffs)
-
index.html (modified) (3 diffs)
-
logo.html (modified) (2 diffs)
-
media.html (modified) (3 diffs)
-
notes.html (modified) (4 diffs)
-
quickstart.html (modified) (3 diffs)
-
rtmp.html (modified) (1 diff)
-
script-reference.html (modified) (11 diffs)
-
scripting.html (modified) (3 diffs)
-
skinning.html (modified) (3 diffs)
-
skins.html (modified) (2 diffs)
-
troubleshooting.html (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/jw6/doc/about.html
r2269 r2315 43 43 <td>AAC, MP3</td> 44 44 <td>Yes</td> 45 <td> HLS,RTMP</td>45 <td>RTMP</td> 46 46 </tr><tr> 47 47 <td>Chrome</td> … … 49 49 <td>AAC, MP3, Vorbis</td> 50 50 <td>Yes</td> 51 <td> HLS,RTMP</td>51 <td>RTMP</td> 52 52 </tr><tr> 53 53 <td>Firefox</td> … … 55 55 <td>AAC, MP3</td> 56 56 <td>Yes</td> 57 <td> HLS,RTMP</td>57 <td>RTMP</td> 58 58 </tr><tr> 59 59 <td>Safari</td> … … 94 94 <li>An automated and elegant model for <a href="modes.html">selecting HTML5 or Flash</a> for rendering the media.</li> 95 95 <li>An extensive list of options for easily <a href="embedding.html">configuring layout and behavior</a> of the player.</li> 96 <li>Comprehensive <a href="playlists.html">playlist support</a> for loading multiple media items, file formats and quality levels.</li>97 <li>Display of <a href="captions.html">captions or subtitles</a> using MP4 text tracks or external SRT/DFXP files.</li>98 96 </ul> 99 97 … … 105 103 106 104 <ul> 107 <li>Live and adaptive streaming through the <a href="">Apple HLS</a> and <a href="rtmp.html">Adobe RTMP</a> protocols.</li> 108 <li>Analytics callbacks to <a href="">Google Analytics</a> or any custom analytics backend.</li> 109 <li>Content discovery through the display of <a href="">Related Videos</a> or <a href="">Social Sharing</a> options.</li> 110 <li>In-stream advertising using the <a href="">Vast/VPaid standards</a> or <a href="">Self Hosted Ads</a>.</li> 105 <li>Adaptive streaming through the <a href="rtmp.html">Adobe RTMP</a> protocol, plus support for <a href="pseudo.html">pseudo-streaming</a> in Flash.</li> 106 <li>Comprehensive <a href="playlists.html">playlist support</a> for loading multiple media items, file formats and quality levels.</li> 107 <li>Display of <a href="captions.html">captions or subtitles</a> using embedded MP4 text tracks or external WebVTT text files.</li> 111 108 </ul> 112 109 113 <p>Extensive integrations with the popular <a href=" ">Drupal CMS</a> and <a href="">WordPress CMS</a> are available. They enable easy setup of JW Player and embedding of audio/video content into your site.</p>110 <p>Extensive integrations with the popular <a href="http://drupal.org/project/jwplayermodule">Drupal CMS</a> and <a href="http://wordpress.org/extend/plugins/jw-player-plugin-for-wordpress/">WordPress CMS</a> are available. They enable easy setup of JW Player and embedding of audio/video content into your site.</p> 114 111 115 112 -
branches/jw6/doc/accessible.html
r2223 r2315 110 110 </ul> 111 111 112 <p>Note the example does not contain an audio description. JW Player 6 does not yet support audio descriptions (see below). This should not be a problem, since audio descriptions are not needed in the far majority of cases.</p>112 <p>Note the example does not contain an audio description. JW Player 6 does not yet support audio descriptions (see below).</p> 113 113 114 114 … … 122 122 <li>When Flash is used for rendering, it is not possible to <em>tab in</em> or <em>tab out</em> of the player using your keyboard. This is a major issue, since it essentially breaks keyboard access. Luckily, screen readers like JAWS do provide the option to enter/exit Flash elements. In HTML5, this problem does not exist.</li> 123 123 <li>On mobile devices, captions cannot yet be rendered by JW Player. This because there's no way to display anything on top of (full-screen) video on these devices. There is a workaround for iOS, using embedded <a href="captions.html">TX3G text tracks</a>.</li> 124 <li> For HTML5 in general, getting audio descriptions to work properly has proven very hard. On mobile devices, this is not possible at all, while on desktops sync issues are present.</li>124 <li>Audio descriptions are not yet supported on browsers and devices, but coming as part of the new HTML5 <track> element. For now, it is best to create two versions of your videos: one with and one without descriptions in the audio. Users can then select which one to play.</li> 125 125 </ul> 126 127 <h3>About <track></h3> 126 128 127 129 <p><a href="http://blog.gingertech.net/2010/08/07/websrt-and-html5-media-accessibility/">Work is in progress</a> to build both captions and audio descriptions into HTML5. This is done through a new element: <track>. Though not built into any real-world browser yet, the <a href="http://www.w3.org/TR/html5/video.html">spec is mostly done</a>. This is how it will look:</p> … … 134 136 </pre> 135 137 136 <p>Browsers and devices will see the tracks, pick up the VTT files and render controls to toggle them on/off. VTT files are basically fancySRT files, so if you provide your captions in SRT today, you can easily switch to VTT in the future.</p>138 <p>Browsers and devices will see the tracks, pick up the VTT files and render controls to toggle them on/off. VTT files are basically extended SRT files, so if you provide your captions in SRT today, you can easily switch to VTT in the future.</p> 137 139 138 <p>Important to note is that the audio description is also a VTT text file. The browser (or screen reader) is supposed to load this file and provide text-to-speech synthesis. If this actually gets supported, the creation of audio descriptions will suddenly become much easier. Adding in the easy keyboard access, it's clear that HTML5 holds much promise for a broader implementation of accessible video.</p>140 <p>Important to note is that the audio description is also a VTT text file. The browser (or screen reader) is supposed to load this file and provide text-to-speech synthesis. If this actually gets supported, the creation of audio descriptions will become easy and affordable.</p> 139 141 140 142 -
branches/jw6/doc/browsers.html
r2223 r2315 31 31 <h2>Desktop Browsers</h2> 32 32 33 <p>This table lists which desktop browsers are officially supported by JW Player, using HTML5 and/or Flash:</p>33 <p>This table lists which desktop browsers are fully supported by JW Player, using HTML5 and/or Flash:</p> 34 34 35 35 <table><tr> 36 36 <th>Browser</th><th>HTML5</th><th>Flash</th> 37 37 </tr><tr> 38 <td>Chrome 18<sup>1</sup></td><td>yes</td><td>yes</td>38 <td>Chrome <sup>1</sup></td><td>yes</td><td>yes</td> 39 39 </tr><tr> 40 <td>Firefox 3.6</td><td>-</td><td>yes</td> 41 </tr><tr> 42 <td>Firefox 12 <sup>1</sup></td><td>yes</td><td>yes</td> 40 <td>Firefox <sup>1</sup></td><td>yes</td><td>yes</td> 43 41 </tr><tr> 44 42 <td>Internet Explorer 8</td><td>-</td><td>yes</td> … … 46 44 <td>Internet Explorer 9</td><td>yes</td><td>yes</td> 47 45 </tr><tr> 48 <td>Safari 5.1<sup>1</sup></td><td>yes</td><td>yes</td>46 <td>Safari <sup>1</sup></td><td>yes</td><td>yes</td> 49 47 </tr></table> 50 48 … … 53 51 </ol> 54 52 55 <p>All JW Player features are supported on all browsers, with the exception of media playback. In an nutshell, not all browsers play WebM video and Vorbis audio. See <a href="media.html">Supported Media Formats</a> for moredetails.</p>53 <p>All JW Player features are supported on these browsers, with the exception of media playback. In a nutshell, not all browsers support WebM video and Vorbis audio. See <a href="media.html">Supported Media Formats</a> for details.</p> 56 54 57 <p> Another limitation is HTML5 Fullscreen support. Both Internet Explorer 9 and Opera 11.6 donot (yet) support true fullscreen in HTML5. Instead, the <em>FullScreen</em> button in JW Player will enable full-browser-screen playback of the video.</p>55 <p>One additional limitation is HTML5 Fullscreen support. Internet Explorer 9 does not (yet) support true fullscreen in HTML5. Instead, the <em>FullScreen</em> button in JW Player will enable full-browser-screen playback of the video.</p> 58 56 59 57 … … 80 78 81 79 <ul> 82 <li>JW Player does not officially support Flash on mobile. Although Android devices may have Flash installed, the <a href="http://www.longtailvideo.com/blog/25057/html5-takes-the-lead-on-android-devices">user experience is suboptimal</a>. Therefore, we focus completelyon HTML5.</il>83 <li>JW Player uses the video control barprovided by the device. That way, the buttons work well using Touch (the default skin is optimized for Mouse). Device-specific enhancements will also remain available (e.g. <em>Airplay</em> and <em>pinch-to-fullscreen</em> on iPad).</li>80 <li>JW Player does not officially support Flash on mobile. Although Android devices may have Flash installed, the <a href="http://www.longtailvideo.com/blog/25057/html5-takes-the-lead-on-android-devices">user experience is suboptimal</a>. Therefore, we focus 100% on HTML5.</il> 81 <li>JW Player uses the video controls provided by the device. That way, the buttons work well using Touch (the default skin is optimized for Mouse). Device-specific enhancements will also remain available (e.g. <em>Airplay</em> and <em>pinch-to-fullscreen</em> on iPad).</li> 84 82 <li>On all phones (except in Android 4.0), video can only be played in <em>fullscreen</em> mode. On tablets, video can be played either windowed or in fullscreen.</li> 85 83 <li>Changing the <em>mute</em> state and <em>volume</em> is not possible. All mobile devices ignore these API calls, favoring the hardware buttons on the side of each device.</li> … … 97 95 <ul> 98 96 <li>The <strong>HTML5</strong> <video> element. Available on most browsers and most devices.</li> 99 <li>The Adobe <strong>Flash</strong> plugin. Available on practically all browsers, but only fewdevices.</li>97 <li>The Adobe <strong>Flash</strong> plugin. Available on practically all browsers, but not on devices.</li> 100 98 </ul> 101 99 … … 103 101 104 102 <ul> 105 <li>MP4, AAC , MP3 and HLScan be played in both HTML5 and Flash.</li>106 <li>WebM and Vorbiscan only be played in HTML5.</li>103 <li>MP4, AAC and MP3 can be played in both HTML5 and Flash.</li> 104 <li>WebM, Vorbis and HLS can only be played in HTML5.</li> 107 105 <li>FLV, RTMP and YouTube can only be played in Flash.</li> 108 106 </ul> 109 107 110 108 111 <p>At large, the market moves away from Flash in the direction ofHTML5. Therefore, JW Player prefers to use HTML5 over Flash if a piece of content can be played in both modes on a certain browser. This behavior can be changed though, by setting the configuration option <strong>primary</strong> to <em>flash</em>. See <a href="embedding.html">Embedding the Player</a> for more info.</p>109 <p>At large, the market moves away from Flash towards HTML5. Therefore, JW Player prefers to use HTML5 over Flash if a piece of content can be played in both modes on a certain browser. This behavior can be changed though, by setting the configuration option <strong>primary</strong> to <em>flash</em>. See <a href="embedding.html">Embedding the Player</a> for more info.</p> 112 110 113 111 <h3>Multiple Sources</h3> … … 129 127 <h2><a name="fallback"></a>Download Fallback</h2> 130 128 131 <p>In certain cases, neither theFlash nor HTML5 mode can be used. For example, a visitor might use a BlackBerry phone, or attempt to watch a WebM-only video in Safari. In those cases, JW Player can render a so-called <strong>fallback</strong>. Which fallback is rendered is defined by the embedded media format:</p>129 <p>In certain cases, neither Flash nor HTML5 mode can be used. For example, a visitor might use a BlackBerry phone, or attempt to watch a WebM-only video in Safari. In those cases, JW Player can render a so-called <strong>fallback</strong>. Which fallback is rendered is defined by the embedded media format:</p> 132 130 133 131 <ul> 134 <li>For MP4, AAC or MP3 files, a nicely formatted download link is rendered. the link consists of the poster image with a <em>play</em> button on top of it. When a visitor clicks the link, the device's built-in mediaplayer will play the file.</li>135 <li>For YouTube streams, the plain YouTube <em><embed></em> code is inserted. This triggers a special-case embed of the YouTube player on iOS and Android devices. Videos will simply play inline, but the JW Player interface isnot available.</li>132 <li>For MP4, AAC or MP3 files, a nicely formatted download link is rendered. The link consists of the poster image with a <em>play</em> button on top of it. When a visitor clicks the link, the device's built-in mediaplayer will play the file.</li> 133 <li>For YouTube streams, the plain YouTube <em><embed></em> code is inserted. This triggers a special-case embed of the YouTube player on iOS and Android devices. Videos will simply play inline, but the JW Player interface and API are not available.</li> 136 134 <li>For FLV, WebM and Vorbis files and RTMP or HLS streams, an <em>Unsupported Media Format</em> error message is displayed. This because these formats are likely not supported by built-in mediaplayers.</li> 137 135 <li>When using an <a href="playlists.html#rss">RSS Feed</a> instead of an inline playlist, the <em>Unsupported Media Format</em> message is also displayed. JW Player does not load and parse RSS feeds as part of the download fallback.</li> -
branches/jw6/doc/captions.html
r2314 r2315 2 2 <html> 3 3 <head> 4 <title>Adding ClosedCaptions</title>4 <title>Adding Video Captions</title> 5 5 <style> 6 6 body { padding: 50px 100px; width: 700px; font: 13px/20px Arial; background: #FFF; } … … 21 21 </head><body> 22 22 23 <h1>Adding ClosedCaptions</h1>24 25 <p>JW Player supports the displayof closed captions or subtitles in the video display. Captions can be shown or hidden with a toggle or, when presenting multiple languages, a popup menu. This guide explains how to add captions to your player embeds.</p>23 <h1>Adding Video Captions</h1> 24 25 <p>JW Player supports the rendering of closed captions or subtitles in the video display. Captions can be shown or hidden with a toggle or, when presenting multiple languages, a popup menu. This guide explains how to add captions to your player embeds.</p> 26 26 27 27 … … 36 36 </ul> 37 37 38 <p>Note that WebVTT builds upon the SRT (<a href="http://en.wikipedia.org/wiki/SubRip">SubRip</a>) format, which is also supported. However, neither format is supported on all desktop browsers and mobile devices. Here is the breakdown:</p> 38 <p>Note that WebVTT builds upon the SRT (<a href="http://en.wikipedia.org/wiki/SubRip">SubRip</a>) format, which is also supported by JW Player.</p> 39 40 <p>Unfortunately, neither external nor embedded captions are supported on all desktop browsers and mobile devices. Here is the breakdown:</p> 39 41 40 42 <table><tr> … … 48 50 <p>WebVTT does not work on mobile devices, since it is not possible for JW Player to <em>polyfill</em> the captions on top of the video during (full-screen) playback. Support for <a href="http://www.longtailvideo.com/html5/#accessibility">HTML5 Text Tracks</a> on iOS and Android will fix this in the (hopefully near-term) future.</p> 49 51 50 <p>TX3G tracks do render on iOS (still not on Android), but on desktops they only display in Flash. TX3G tracks are also hard to edit, since they require tools (like <a href="http://handbrake.fr">Handbrake</a>) to <em>mux</em> your MP4 files. SRT and DFXPfiles can be authored with any text editor.</p>52 <p>TX3G tracks do render on iOS (still not on Android), but on desktops they only display in Flash. TX3G tracks are also hard to edit, since they require tools (like <a href="http://handbrake.fr">Handbrake</a>) to <em>mux</em> your MP4 files. WebVTT files can be authored with any text editor.</p> 51 53 52 54 … … 59 61 WEBVTT 60 62 61 162 63 00:00:08.000 --> 00:00:10.000 63 64 Nothing is going on. 64 65 65 266 66 00:00:10.500 --> 00:00:12.500 67 67 Violet, please! 68 68 - I am not your babe! 69 69 70 371 70 00:00:17.000 --> 00:00:20.000 72 71 You stupid cow, … … 189 188 WEBVTT 190 189 191 1192 190 00:00:08.000 --> 00:00:10.000 193 191 <b>Nothing</b> is going on. 194 192 195 2196 193 00:00:10.500 --> 00:00:12.500 197 194 <font color="#3333CC">Violet, <i>please</i>!</font> … … 227 224 <td>German</td><td>de</td><td>deu, ger</td> 228 225 </tr><tr> 229 <td>Greek</td><td>el</td><td>gre, ell</td>230 </tr><tr>231 226 <td>Hindi</td><td>hi</td><td>hin</td> 232 227 </tr><tr> … … 255 250 <td>Swedish</td><td>sv</td><td>swe</td> 256 251 </tr><tr> 257 <td>Thai</td><td>th</td><td>tha</td>258 </tr><tr>259 252 <td>Turkish</td><td>tr</td><td>tur</td> 260 </tr><tr>261 <td>Vietnamese</td><td>vi</td><td>vie</td>262 253 </tr></table> 263 254 -
branches/jw6/doc/crossdomain.html
r2269 r2315 31 31 <ul> 32 32 <li><a href="feeds.html">RSS feeds</a></li> 33 <li><a href="skins.html">ZIP /XMLskins</a></li>34 <li><a href="captions.html"> SRT/DFXPcaptions</a></li>33 <li><a href="skins.html">ZIP skins</a></li> 34 <li><a href="captions.html">VTT captions</a></li> 35 35 <li><a href="rtmp.html">SMIL manifests</a></li> 36 <li><a href="hls.html">M3U8 manifests</a></li>37 36 </ul> 38 37 … … 86 85 <li><a href="feeds.html">RSS feeds</a></li> 87 86 <li><a href="skins.html">XML skins</a></li> 88 <li><a href="captions.html"> SRT captions</a></li>87 <li><a href="captions.html">VTT captions</a></li> 89 88 </ul> 90 89 -
branches/jw6/doc/embedding.html
r2310 r2315 24 24 <h2>Player Setup</h2> 25 25 26 <p> Since JW Player is CDN hosted, there is no need to install and upload the player to your site. Therefore, embedding the JW Player is a simple, 3-step process. Open your web page in an HTML editor and:</p>26 <p>Before a player can be embedded, the 3 JW Player files (and your media files) need to be uploaded to your site. See the <a href="quickstart.html">Quick Start</a> for more info on this. With the files online, embedding the JW Player is a simple, 3-step process. Open your web page in an HTML editor and:</p> 27 27 28 28 <ol> 29 <li> Insert the JW Player script from our CDN into the head of your page:30 <pre><script type="text/javascript" src=" http://jwpcdn.com/player.js" ></script></pre>29 <li>Embed the main JW Player script library into the head of your page (note the Flash and HTML5 player area automatically loaded): 30 <pre><script type="text/javascript" src="/scripts/jwplayer.js" ></script></pre> 31 31 </li> 32 32 <li>Insert a <div> element with a unique <em>id</em> at the location you want the player to appear: … … 61 61 </dl> 62 62 63 <p>Overall, the <strong>file</strong> option can be used only for basic setups, like playing a single MP4 video or MP3song. Use the <strong>playlist</strong> option for everything else, like an MP4+WebM source, SD+HD quality or a list with multiple items. See <a href="playlists.html">Working with Playlists</a> for more info.</p>63 <p>Overall, the <strong>file</strong> option can be used only for basic setups, like playing a single MP4 video or AAC song. Use the <strong>playlist</strong> option for everything else, like an MP4+WebM source, SD+HD quality or a list with multiple items. See <a href="playlists.html">Working with Playlists</a> for more info.</p> 64 64 65 65 … … 74 74 <dd>Height of the player in pixels. We recommend setting this to at least <strong>180</strong>, so all UI elements will fit. However, it can be set to a small size (e.g. <strong>40</strong>) for audio-only playback. Defaults to <strong>360</strong>.</dd> 75 75 <dt>skin</dt> 76 <dd>Which skin to use for styling the player. Can be the identifier of a CDN hosted skin or the URL to a self-hosted skin. See <a href="skins.html">Using JW Player Skins</a> for more info.</dd>76 <dd>Which skin to use for styling the player. Is set to the URL of that skin on your site. See <a href="skins.html">Using JW Player Skins</a> for more info. Is not set by default, so the standard skin is used.</dd> 77 77 <dt>stretching</dt> 78 78 <dd>How to resize the poster and video to fit the display. Can be <strong>none</strong> (keep original dimensions), <strong>exactfit</strong> (stretch disproportionally), <strong>uniform</strong> (stretch proportionally; black borders) or <strong>fill</strong> (stretch proportionally; parts cut off). Defaults to <strong>uniform</strong>.</dd> 79 79 <dt>width</dt> 80 <dd>Width of the player in pixels. We recommend setting this to at least <strong>320</strong>. On smaller players, certain UI elements may not fit. Defaults to <strong>640</strong>.</dd>80 <dd>Width of the player in pixels. We recommend setting this to at least <strong>320</strong>. On smaller players, certain UI elements may not fit. Defaults to <strong>640</strong>.</dd> 81 81 </dl> 82 82 … … 88 88 <dl> 89 89 <dt>autostart</dt> 90 <dd>Automatically start playing the video on page load. Can be <strong>true</strong> or <strong>false</strong> (default). Autostart does not work on mobile devices like iOS orAndroid.</dd>90 <dd>Automatically start playing the video on page load. Can be <strong>true</strong> or <strong>false</strong> (default). Autostart does not work on mobile devices like iOS and Android.</dd> 91 91 <dt>fallback</dt> 92 <dd>Whether to render a nice download link for the video if HTML5 and/or Flash are not supported. Can be <strong>true</strong> (a fallback is rendered ; the default) or <strong>false</strong> (the original HTML is not touched).</dd>92 <dd>Whether to render a nice download link for the video if HTML5 and/or Flash are not supported. Can be <strong>true</strong> (a fallback is rendered) or <strong>false</strong> (the original HTML is not touched). Defaults to <strong>true</strong>.</dd> 93 93 <dt>mute</dt> 94 94 <dd>Whether to have the sound muted on startup or not. Can be <strong>false</strong> (default) or <strong>true</strong>.</dd> … … 96 96 <dd>Which rendering mode to try first for rendering the player. Can be <strong>html5</strong> (default) or <strong>flash</strong>.</dd> 97 97 <dt>repeat</dt> 98 <dd>What to do when an item finished playback. Can be <strong>list</strong> (play the full playlist once), <strong>none</strong> (stop playback after every item), <strong>always</strong> (repeat the playlist forever) or <strong>single</strong> (repeat the activeitem forever). Defaults to <strong>list</strong>.</dd>98 <dd>What to do when an item finished playback. Can be <strong>list</strong> (play the next item until playlist is done), <strong>none</strong> (stop playback after every item), <strong>always</strong> (repeat the playlist forever) or <strong>single</strong> (repeat the current item forever). Defaults to <strong>list</strong>.</dd> 99 99 <dt>startparam</dt> 100 <dd>Querystring parameter for seeking to not-yet-download portions of FLV or MP4 files in Flash mode. Not needed for HTML5 (w orks by default). See <a href="pseudo.html">Pseudostreaming in Flash</a> for more info.</dd>100 <dd>Querystring parameter for seeking to not-yet-download portions of FLV or MP4 files in Flash mode. Not needed for HTML5 (where this works by default). See <a href="pseudo.html">Pseudostreaming in Flash</a> for more info.</dd> 101 101 </dl> 102 102 … … 126 126 <dl> 127 127 <dt>sidebar</dt> 128 <dd>Config block for displaying a sidebar with the <a href="playlists.html#sidebar"> Playlist contents</a>.</dd>128 <dd>Config block for displaying a sidebar with the <a href="playlists.html#sidebar">playlist contents</a>.</dd> 129 129 <dt>captions</dt> 130 130 <dd>Config block for tweaking the display of <a href="captions.html">captions or subtitles</a>.</dd> 131 <dt>rtmp</dt> 132 <dd>Config block for tweaking the playback of <a href="rtmp.html">RTMP streams</a>.</dd> 131 133 <dt>logo</dt> 132 134 <dd>Config block for displaying an <a href="logo.html">on-screen watermark</a>.</dd> 133 <dt>rtmp</dt>134 <dd>Config block for tweaking the playback of <a href="rtmp.html">RTMP streams</a>.</dd>135 <!--136 <dt>gapro</dt>137 <dd>Config block for pinging events to <a href="#">Google Analytics</a>.</dd>138 <dt>related</dt>139 <dd>Config block for displaying an overlay with <a href="#">Related Videos</a>.</dd>140 <dt>sharing</dt>141 <dd>Config block for displaying an overlay with <a href="#">Social Sharing links</a>.</dd>142 <dt>ova</dt>143 <dd>Config block for loading ads using the <a href="#">VAST/VPaid standards</a>.</dd>144 <dt>adtonomy</dt>145 <dd>Config block for loading ads using <a href="#">self-hosted assets</a>.</dd>146 -->147 135 </dl> 148 136 -
branches/jw6/doc/feeds.html
r2223 r2315 97 97 <td>description</td><td>description</td><td></td> 98 98 </tr><tr> 99 <td>mediaid</td><td>guid</td><td> Possibly using <em>isPermalink="false"</em></td>99 <td>mediaid</td><td>guid</td><td>Set <em>isPermalink="false"</em> attribute</td> 100 100 </tr><tr> 101 101 <td>image</td><td>media:thumbnail@url</td><td></td> … … 105 105 <td>source.file</td><td>media:content@url</td><td></td> 106 106 </tr><tr> 107 <td>source.type</td><td>media:content@type</td><td> Shouldbe a mimetype (<em>video/mp4</em>)</td>107 <td>source.type</td><td>media:content@type</td><td>Must be a mimetype (<em>video/mp4</em>)</td> 108 108 </tr><tr> 109 109 <td>source.width</td><td>media:content@width</td><td></td> -
branches/jw6/doc/index.html
r2314 r2315 38 38 <li><a href="embedding.html">Embedding the Player</a></li> 39 39 <li><a href="troubleshooting">Troubleshooting your Setup</a></li> 40 <li><a href="pseudo.html">Pseudo-streaming in Flash</a></li>41 40 </ul> 42 41 … … 48 47 </ul> 49 48 50 <h3>Caption ing</h3>49 <h3>Captions</h3> 51 50 <ul> 52 <li><a href="captions.html">Adding ClosedCaptions</a></li>51 <li><a href="captions.html">Adding Video Captions</a></li> 53 52 <li><a href="accessible.html">Making Videos Accessible</a></li> 54 53 </ul> … … 67 66 </ul> 68 67 69 <h3>Branding</h3>70 <ul>71 <li><a href="logo.html">Displaying a Logo</a></li>72 </ul>73 74 68 <h3>Streaming</h3> 75 69 <ul> 76 70 <li><a href="rtmp.html">Using RTMP Streaming</a></li> 77 <li>Using HTTP Dynamic Streaming</li> 78 <li>Using HTTP Live Streaming</li> 71 <li><a href="pseudo.html">Pseudo-streaming in Flash</a></li> 79 72 </ul> 80 73 81 <h3> Discovery</h3>74 <h3>Branding</h3> 82 75 <ul> 83 <li>Enabling Social Sharing</li> 84 <li>Showing Related Videos</li> 85 </ul> 86 87 <h3>Analytics</h3> 88 <ul> 89 <li>Connecting to Google Analytics</li> 90 </ul> 91 92 <h3>Advertising</h3> 93 <ul> 94 <li>Running VAST/VPaid Ads</li> 95 <li>Running Self Hosted Ads</li> 76 <li><a href="logo.html">Displaying Your Logo</a></li> 96 77 </ul> 97 78 -
branches/jw6/doc/logo.html
r2223 r2315 2 2 <html> 3 3 <head> 4 <title>Displaying aLogo</title>4 <title>Displaying Your Logo</title> 5 5 <style> 6 6 body { padding: 50px 100px; width: 700px; font: 13px/20px Arial; background: #FFF; } … … 21 21 </head><body> 22 22 23 <h1>Displaying aLogo</h1>23 <h1>Displaying Your Logo</h1> 24 24 25 25 <p>The Free version of JW Player contains a small logo in the top right corner of the display. In the Pro version, this logo is gone. Instead, publishers are able to set their own logo, e.g. to add some branding or to implement a Call-to-Action. This guide explains how to do so.</p> -
branches/jw6/doc/media.html
r2223 r2315 82 82 <li><a href="http://en.wikipedia.org/wiki/Advanced_Audio_Coding">AAC</a> audio files. AAC is of high quality and supported by all browsers and devices.</li> 83 83 <li><a href="http://en.wikipedia.org/wiki/MP3">MP3</a> audio files. Though not as good in quality as AAC, MP3 is very widely used. Many existing audio libraries are encoded in MP3.</li> 84 <li> Ogg<a href="http://en.wikipedia.org/wiki/Vorbis">Vorbis</a> audio files. Vorbis is royalty-free, but has limited browser and device support.</li>84 <li><a href="http://en.wikipedia.org/wiki/Vorbis">Vorbis</a> audio files. Vorbis is royalty-free, but has limited browser and device support.</li> 85 85 </ul> 86 86 … … 141 141 142 142 <ul> 143 <li>A pple's <a href="http://en.wikipedia.org/wiki/HTTP_Live_Streaming">HLS</a> protocol, using M3U8 manifest files and TS media files. HLS builds upon standard HTTP, making it easy to deploy and firewall resilient. It is still under development, plus CDN and encoder support is still limited. See <a href="#">Using HLSStreaming</a> for more info.</li>144 <li>A dobe's <a href="http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol">RTMP</a> protocol, using SMIL manifest files and MP4, FLV, AAC or MP3 media files. RTMP requires dedicated server software and is sometimes blocked by firewalls. It is mature and has broad CDN and encoder support. See <a href="#">Using RTMP Streaming</a> for more info.</li>143 <li>Adobe's <a href="http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol">RTMP</a> protocol, using SMIL manifest files and MP4, FLV, AAC or MP3 media files. RTMP is mature and has broad CDN and encoder support. It requires dedicated server software though, and is sometimes blocked by firewalls. See <a href="rtmp.html">Using RTMP Streaming</a> for more info.</li> 144 <li>Apple's <a href="http://en.wikipedia.org/wiki/HTTP_Live_Streaming">HLS</a> protocol, using M3U8 manifest files and TS media files. HLS builds upon standard HTTP, making it easy to deploy and firewall resilient. It is still under development, plus CDN and encoder support is still limited.</li> 145 145 </ul> 146 146 … … 148 148 149 149 <table><tr> 150 <th></th><th> hls</th><th>rtmp</th>150 <th></th><th>rtmp</th><th>hls</th> 151 151 </tr><tr> 152 <th>Extension(s)</th><td>. m3u8</td><td>.smil</td>152 <th>Extension(s)</th><td>.smil</td><td>.m3u8</td> 153 153 </tr><tr> 154 <th>Mimetype</th><td>application/ vnd.apple.mpegurl</td><td>application/smil</td>154 <th>Mimetype</th><td>application/smil</td><td>application/vnd.apple.mpegurl</td> 155 155 </tr><tr> 156 <th>Internet Explorer</th><td>flash <sup>1</sup></td><td>flash</td>156 <th>Internet Explorer</th><td>flash</td><td>-</td> 157 157 </tr><tr> 158 <th>Chrome</th><td>flash <sup>1</sup></td><td>flash</td>158 <th>Chrome</th><td>flash</td><td>-</td> 159 159 </tr><tr> 160 <th>Firefox</th><td>flash <sup>1</sup></td><td>flash</td>160 <th>Firefox</th><td>flash</td><td>-</td> 161 161 </tr><tr> 162 <th>Safari</th><td> html5, flash <sup>1</sup></td><td>flash</td>162 <th>Safari</th><td>flash</td><td>html5</td> 163 163 </tr><tr> 164 <th>iOS</th><td> html5</td><td>-</td>164 <th>iOS</th><td>-</td><td>html5</td> 165 165 </tr><tr> 166 <th>Android</th><td> html5 <sup>2</sup></td><td>-</td>166 <th>Android</th><td>-</td><td>html5 <sup>1</sup></td> 167 167 </tr></table> 168 168 169 169 <ol> 170 <li>HLS playback requires Flash Player 10.1, which <a href="http://riastats.com/">is not yet ubiquitous</a>.</li>171 170 <li>HLS support as of Android 4.</li> 172 171 </ol> -
branches/jw6/doc/notes.html
r2223 r2315 29 29 <h2><a name="60"></a>Version 6.0 | build 2xxx</h2> 30 30 31 <p>Initial release of JW6. Contains no specific <em>bug fixes</em>, but a large number of enhancements. Additionally, several features present in JW5 were deprecated in this release.</p>31 <p>Initial release of JW6. Contains no specific <em>bug fixes</em>, but a large number of enhancements. Additionally, several features present in JW5 were removed to make the player smaller in size and easier to setup.</p> 32 32 33 33 <h3>Player Enhancements</h3> … … 44 44 <dt>Improved HTML5/Flash selection</dt> 45 45 <dd>Selection of HTML5 or Flash for rendering the player used to be based upon a single configuration option. In JW6, the player actually detects the supplied media formats and active browser capabilities to select HTML5 or Flash specifically for each visitor.</dd> 46 <dt>Apple HLS support</dt> 47 <dd>JW6 introduces support for playback of Apple HLS streams, in both Flash and HTML5 rendering mode. This allows publishers to use a single HTTP adaptive streaming format for playback across desktop browsers and mobile devices.</dd> 46 <dt>New JavaScript API Calls</dt> 47 <dd>JW6 introduces JavaScript API classes for controlling quality levels, controlling captions tracks and setting custom dock buttons. Distinct API calls are added for retrieving the rendering mode (Flash/HTML5), listening to playlist completion and listening to display clicks.</dd> 48 <dt>New Skinning Options</dt> 49 <dd>The skinning model of JW Player is extended to include a tooltip (for hovering dock buttons or the time slider), error messages and video titles in the display and many more small enhancements.</dd> 48 50 </dl> 49 51 50 52 51 <h3> Deprecated Functionalities</h3>53 <h3>Removed Functionalities</h3> 52 54 53 55 <dl> … … 55 57 <dd>JW6 focuses on audio/video playback. We suggest using one of the many free JavaScript image gallery scripts instead.</dd> 56 58 <dt>Embedding with <em><embed></em> or <em>SWFObject</em></dt> 57 <dd>JW6 focuses on HTML5 and mobile, leveraging its internal <strong>jwplayer.setup()</strong> method. The <embed> and SWFObject methods are Flash-only and therefore not supported anymore. For situations where short, simple codes are required (e.g. social sharing), we recommend using an <strong><iframe></strong> tag.</dd>59 <dd>JW6 focuses on HTML5 and mobile, leveraging its internal <strong>jwplayer.setup()</strong> method. The <embed> and SWFObject methods are Flash-only and therefore not supported anymore.</dd> 58 60 <dt>Embedding over a <em><video></em> tag</dt> 59 61 <dd>JW6 supports many functionalities not supported by a <video> tag (e.g. Flash rendering, RSS feeds, YouTube videos, RTMP streaming, VAST/VPaid advertising). Additionally, most of the promises of an inline <video> element (progressive enhancement, video SEO, accessibility) are not realized yet. Therefore, JW6 focuses on embedding using JavaScript and <strong>jwplayer.setup()</strong>.</dd> … … 63 65 <dd>The PNG/XML skinning model of JW Player is more flexible, is less error-prone and works in HTML5. Therefore, SWF skinning has been removed altogether in favor of this.</dd> 64 66 <dt>Feeds in XSPF/ASX/ATOM format</dt> 65 <dd>Media playback has standardized around Media RSS the last few years. In order to improve clarity and reduce the filesize of the player library, support for other feed formats is removed. Media RSS support is extended to work in both Flash and HTML5.</dd>67 <dd>Media playback has standardized around Media RSS the last few years. In order to improve clarity and reduce the filesize of the player library, support for other feed formats is removed.</dd> 66 68 <dt>Loading of a <em>config</em> XML with player options</dt> 67 <dd>The removal of <embed> support also removed the need for external XML configurations. External configurations can now be loaded as part of the player itself using an <strong><iframe></strong> tag.</dd>69 <dd>The removal of <embed> support also removed the need for external XML configurations. External configurations can now be loaded as part of the player itself, e.g. using an <strong><iframe></strong> tag.</dd> 68 70 <dt>Video trimming with the <em>start</em> and <em>duration</em> options</dt> 69 71 <dd>This functionality was removed because it works inconsistently on desktop browsers and not at all on mobile devices. We strongly urge developers that used this functionality to either trim and re-encode their actual videos (using a tool like <strong>HandBrake</strong>) or install a tool (like <strong>mod_h264</strong> or <strong>Wowza</strong>) to trim videos server side.</dd> 70 72 <dt>The <em>link</em> and <em>displayclick</em> options</dt> 71 73 <dd>These options were removed to tighten up the display UX and reduce the number of possible XSS security issues. Publishers can still implement Call-To-Action features in JW6 using the <strong>logo</strong> options, or respond to display clicks using the <strong>onDisplayClick</strong> API call.</dd> 72 <dt>The RTMP tunneling fallback</dt> 74 <dt>Captioning with DFXP files</dt> 75 <dd>Since WebVTT is becoming the de facto file format for online captions, we added support for it in JW6. We removed DFXP support, leading to a considerable decrease in player filesize. A tool for converting DFXP to VTT are available on our developer site.</dd> 76 <dt>RTMP tunneling fallback</dt> 73 77 <dd>Due to the diversity of RTMP setups (ports, firewalls, protocols), the automated RTMP tunneling feature in JW5 tended to create as many issues as it solved. Therefore, this functionality was removed from JW6. Instead, we ensured <strong>onError()</strong> is called when an RTMP server cannot be reached. Publishers can then fallback from RTMP in any way they wish using a few lines of JavaScript code.</dd> 78 74 79 </dl> 75 80 -
branches/jw6/doc/quickstart.html
r2269 r2315 23 23 <h1>Quick Start</h1> 24 24 25 <p>Getting JW Player up and running is now easier than ever. Only a few lines of HTML code is needed to embed a video that works on any desktop , tablet and phone. Since the player is now CDN hosted, you don't even have to upload the player to your server anymore.</p>25 <p>Getting JW Player up and running is now easier than ever. Only a few lines of HTML code is needed to embed a video that works on any desktop browser and mobile device. This guide walks through the necessary steps.</p> 26 26 27 27 28 28 29 <h2>Uploading the Video</h2>29 <h2>Uploading the Files</h2> 30 30 31 <p>In order to embed the player, you first need a videofile uploaded to your server. Ensure it is in the MP4 format, since that can be played on any browser and device (including iPad, iPhone and Android).</p>31 <p>In order to embed a video, you first need the file uploaded to your server. Ensure it is in the MP4 format, since that can be played on any browser and device (including iPad, iPhone and Android).</p> 32 32 33 33 <ul> 34 34 <li>If your video is not in the MP4 format, you can convert it using a free tool like Handbrake. See our <a href="">Video Encoding guide</a> for more info.</li> 35 35 <li>If you have no video at hand, feel free to use <a href="http://content.bitsontherun.com/videos/bkaovAYt-52qL9xLP.mp4">this short clip</a> for your testing.</li> 36 <li>If you have no web server for uploading videos, check out <a href="http://www.longtailvideo.com/bits-on-the-run/">our video platform</a>. It offers you a free GB of storage, plus it automatically converts your video to MP4.</li>37 36 </ul> 38 37 39 <p>Additionally, you should upload a poster image to your server. This image (in JPG format) is displayed before the video starts. An interesting frame from the video usually works well to draw attention and entices users to click <em>play</em>. <a href="http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg">Here is an image</a> for our short test clip.</p> 38 <p>Second, you should grab JW Player <a href="http://www.longtailvideo.com/players/jw-flv-player/">from our site</a> and upload it to your webserver. The following three files need uploaded and placed in a directory that's accessible from the internet:</p> 39 40 <ol> 41 <li><strong>jwplayer.js</strong>: the overall embed library.</li> 42 <li><strong>jwplayer.html5.js</strong>: the actual HTML5 player.</li> 43 <li><strong>jwplayer.flash.js</strong>: the actual Flash player.</li> 44 </ol> 45 46 <p>Third, you should upload a poster image to your server. This image (in JPG format) is displayed before the video starts. An interesting frame from the video usually works well to draw attention and entices users to click <em>play</em>. <a href="http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg">Here is an image</a> for our short test clip.</p> 40 47 41 48 … … 43 50 <h2>Embedding the Player</h2> 44 51 45 <p> Since JW Player is hosted on our content delivery network (CDN), there is no need to install and upload the player itself to your site. Therefore, embedding the JW Player is a simple, 3-step process. Open your web page in an HTML editor and:</p>52 <p>With all files uploaded to your site, embedding the JW Player is a simple, 3-step process. Open your web page in an HTML editor and:</p> 46 53 47 54 <ol> 48 <li> Insert the JW Player script from our CDN intothe head of your page:49 <pre><script type="text/javascript" src=" http://jwpcdn.com/player.js" ></script></pre>55 <li>Load the JW Player embed library from the head of your page: 56 <pre><script type="text/javascript" src="/scripts/jwplayer.js" ></script></pre> 50 57 </li> 51 58 <li>Insert a <div> element with a unique <em>id</em> at the location you want the player to appear: … … 69 76 <h2>Next Steps</h2> 70 77 71 <p>That's it! With a few lines of code, you embedded a video that can be watched on any desktop browser, tablet or mobile phone. <a href="">Here's a working example</a>. We also have basic examples for <a href="">embedding an MP3 file</a> and <a href="">embedding a YouTube video</a>.</p> 72 73 <p>JW Player supports many options for enhancing and tuning your audio or video embeds. Here are a few interesting guides to look into next:</p> 78 <p>That's it! With a few lines of code, you embedded a video that can be watched on any desktop browser, tablet or mobile phone. Next, JW Player supports many options for enhancing and tuning your audio or video embeds. Here are a few interesting guides:</p> 74 79 75 80 <ul> 76 81 <li><a href="media.html">Supported Media Formats</a> lists audio and video types can be played on which browsers & devices.</li> 77 82 <li><a href="embedding.html">Embedding JW Player</a> lists all options for modifying the player's layout and behavior.</li> 78 <li><a href="skins.html">Using JW Player Skins</a> explains how to completely change the player's design through skinning.</li>79 <li><a href="">Using the JavaScript API</a> explains how to build rich player interactions with JavaScript.</li>80 83 </ul> 84 <ul> 85 <li><a href="playlists.html">Working with Playlists</a> explains how to group multiple videos into a playlist.</li> 86 <li><a href="captions.html">Adding Video Captions</a> explains how to add closed captions or subtitles to your embeds.</li> 87 </ul> 88 <ul> 89 <li><a href="skins.html">Using JW Player Skins</a> explains how to customize the player's design through skinning.</li> 90 <li><a href="scripting.html">Using the JavaScript API</a> explains how to build rich player interactions with JavaScript.</li> 91 </ul> 92 <ul> 93 <li><a href="rtmp.html">Using RTMP Streaming</a> explains how to setup live and/or adaptive streaming.</li> 94 </ul> 95 81 96 82 97 -
branches/jw6/doc/rtmp.html
r2223 r2315 47 47 </ul> 48 48 49 <p>The biggest drawback is that RTMP only works in Flash and not in HTML5. Therefore, the protocol is basically on its way out today. New er streaming protocols based upon HTTP (like <a href="hls.html">Apple HLS</a>) have wider device support (iOS, Android). They are currently replacing RTMP.</p>49 <p>The biggest drawback is that RTMP only works in Flash and not in HTML5. Therefore, the protocol is basically on its way out today. New HTTP streaming protocols, like Apple's HTTP Live Streaming, have wider device support (iOS, Android) and will replace RTMP in the future.</p> 50 50 51 51 -
branches/jw6/doc/script-reference.html
r2308 r2315 27 27 28 28 29 <h2> Ready</h2>29 <h2><a name="ready"></a>Ready</h2> 30 30 31 31 <p>These API calls are used to learn when and with which technology players are instantiated.</p> … … 41 41 42 42 43 <h2> Playlist</h2>43 <h2><a name="playlist"></a>Playlist</h2> 44 44 45 45 <p>These API calls are used for loading and retrieving the current playlist (of one or more items), as well as for navigating between playlist items.</p> … … 80 80 81 81 82 <h2> Buffering</h2>82 <h2><a name="buffering"></a>Buffering</h2> 83 83 84 84 <p>These API calls are used to update clients with the percentage of a file that's buffered into the player. This only applies to progressive downloads of media; streaming media do not expose this behavior.</p> … … 95 95 96 96 97 <h2> Playback</h2>97 <h2><a name="playback"></a>Playback</h2> 98 98 99 99 <p>These API calls are used to retrieve and change the current playback state of the player: is the player idle, buffering, playing or paused.</p> … … 132 132 133 133 134 <h2> Seeking</h2>134 <h2><a name="seeking"></a>Seeking</h2> 135 135 136 136 <p>These API calls are used to retrieve and update the current media playback position.</p> … … 159 159 160 160 161 <h2> Volume</h2>161 <h2><a name="volume"></a>Volume</h2> 162 162 163 163 <p>These API calls are used to change the playback volume of the player.</p> … … 185 185 186 186 187 <h2> Resizing</h2>187 <h2><a name="resizing"></a>Resizing</h2> 188 188 189 189 <p>These API calls are used to retrieve and update the current player dimensions and fullscreen state. Note there is no API call to <strong>set</strong> the fullscreen state, due to phishing-related security restrictions in both Flash and HTML5.</p> … … 212 212 213 213 214 <h2>Error</h2> 215 216 <p>This API call allows developers to listen for and react to media playback errors (e.g. when a video URL is not found or a streaming server disconnects).</p> 217 218 <dl><dt>onError(<em>callback</em>)</dt><dd> 219 Fired when a media playback error has occurred in the player. An error event is not fired when player setup errors occur (since these generally occur before the API is ready). Event attributes: 220 <ul><li><strong>message</strong> (String): The reason for the error. See <a href="troubleshooting.html">Troubleshooting your Setup</a> for a list of all possible media errors. 221 </li></ul></dd></dl> 222 223 224 225 <h2>Metadata</h2> 226 227 <p>This API call allows developers to listen for metadata embedded in the media file (e.g. dimensions of MP4 files or ID3 data of MP3 files).</p> 228 229 <dl><dt>onMeta(<em>callback</em>)</dt><dd> 230 Fired when new metadata has been broadcasted by the player. Event attributes: 231 <ul><li><em>metadata</em> (Object): Object containing the new metadata. This can be metadata hidden in the media (XMP, ID3, keyframes) or metadata broadcasted by the playback provider (bandwidth, quality switches). 232 </li></ul></dd></dl> 233 234 235 236 <h2>Quality</h2> 214 <h2><a name="quality"></a>Quality</h2> 237 215 238 216 <p>These API calls are used to listen to or update the video quality if multiple quality levels of a video are provided.</p> … … 257 235 258 236 259 <h2> Captions</h2>237 <h2><a name="captions"></a>Captions</h2> 260 238 261 239 <p>These API calls are used to listen to or update the currently active captions track, if captions (subtitles) are provided:</p> … … 281 259 282 260 283 <h2> Button</h2>261 <h2><a name="button"></a>Button</h2> 284 262 285 263 <p>With the button API, it's possible to add buttons to the dock, e.g. for social sharing, video discovery, interface toggles or registrations/logins.</p> … … 298 276 299 277 278 <h2><a name="display"></a>Display</h2> 279 280 <p>This API call allows developers to listen for and react to clicks on the video display.</p> 281 282 <dl><dt>onDisplayClick(<em>callback</em>)</dt><dd> 283 Fired when a user clicks the video display (not the controls). There are no event attributes. 284 </li></ul></dd></dl> 285 286 287 288 289 <h2><a name="error"></a>Error</h2> 290 291 <p>This API call allows developers to listen for and react to media playback errors (e.g. when a video URL is not found or a streaming server disconnects).</p> 292 293 <dl><dt>onError(<em>callback</em>)</dt><dd> 294 Fired when a media playback error has occurred in the player. An error event is not fired when player setup errors occur (since these generally occur before the API is ready). Event attributes: 295 <ul><li><strong>message</strong> (String): The reason for the error. See <a href="troubleshooting.html">Troubleshooting your Setup</a> for a list of all possible media errors. 296 </li></ul></dd></dl> 297 298 299 300 <h2><a name="metadata"></a>Metadata</h2> 301 302 <p>This API call allows developers to listen for metadata embedded in the media file (e.g. dimensions of MP4 files or ID3 data of MP3 files).</p> 303 304 <dl><dt>onMeta(<em>callback</em>)</dt><dd> 305 Fired when new metadata has been broadcasted by the player. Event attributes: 306 <ul><li><em>metadata</em> (Object): Object containing the new metadata. This can be metadata hidden in the media (XMP, ID3, keyframes) or metadata broadcasted by the playback provider (bandwidth, quality switches). 307 </li></ul></dd></dl> 308 309 310 300 311 </body> 301 312 </html> -
branches/jw6/doc/scripting.html
r2308 r2315 30 30 31 31 <pre> 32 <script type="text/javascript" src=" http://jwpcdn.com/player.js"></script>32 <script type="text/javascript" src="/scripts/jwplayer.js"></script> 33 33 34 34 <div id="myElement">Loading the player ...</div> … … 163 163 onResize 164 164 </td></tr><tr><td> 165 <a href="script-reference.html#resize">Error</a>166 </td><td>167 </td><td>168 </td><td>169 onError170 </td></tr><tr><td>171 <a href="script-reference.html#metadata">Metadata</a>172 </td><td>173 </td><td>174 </td><td>175 onMeta176 </td></tr><tr><td>177 165 <a href="script-reference.html#quality">Quality</a> 178 166 </td><td> … … 201 189 removeButton 202 190 </td><td> 191 </td></tr><tr><td> 192 <a href="script-reference.html#display">Display</a> 193 </td><td> 194 </td><td> 195 </td><td> 196 onDisplayClick 197 </td></tr><tr><td> 198 <a href="script-reference.html#resize">Error</a> 199 </td><td> 200 </td><td> 201 </td><td> 202 onError 203 </td></tr><tr><td> 204 <a href="script-reference.html#metadata">Metadata</a> 205 </td><td> 206 </td><td> 207 </td><td> 208 onMeta 209 203 210 </td></tr></table> 204 211 -
branches/jw6/doc/skinning.html
r2308 r2315 28 28 <h2>Introduction</h2> 29 29 30 <p>JW Player skins change the appearance of the player, making it possible to match your embedto your site's aesthetic. No coding skills are required to build a skin, but proficiency with a graphics editor is (e.g. Photoshop or Illustrator).</p>30 <p>JW Player skins change the appearance of the player, making it possible to match your video embeds to your site's aesthetic. No coding skills are required to build a skin, but proficiency with a graphics editor is (e.g. Photoshop or Illustrator).</p> 31 31 32 <p>Technically, a JW Player skin consists of an XML file that contains a number of settings (e.g. the <em>fontColor</em>) and a number of links to GIF,JPG or PNG images (e.g. for the <em>playButton</em>). These settings and elements are grouped into 5 components: Controlbar, Display, Dock, Playlist and Tooltip.</p>32 <p>Technically, a JW Player skin consists of an XML file that contains a number of settings (e.g. the <em>fontColor</em>) and a number of links to JPG or PNG images (e.g. for the <em>playButton</em>). These settings and elements are grouped into 5 components: Controlbar, Display, Dock, Playlist and Tooltip.</p> 33 33 34 34 <p>When a skin design is completed, it can be packaged into a single file for faster loading. For Flash, the XML file and PNG images are compressed into a single <strong>ZIP</strong> file. For HTML5, the PNG images are embedded into the <strong>XML</strong> file as base64 encoded strings.</p> … … 46 46 </ul> 47 47 48 <p>The controlbar <strong> layout</strong> block and <strong>volumeSlider</strong> will both still work in JW6, but are considered deprecated. We suggest you update your skins to use the tooltip volumeSlider, and to simply remove controlbar buttons by omitting their elements.</p>48 <p>The controlbar <strong>volumeSlider</strong> and <strong>layout</strong> block both still work in JW6, but are considered deprecated. We suggest you update your skins to use the tooltip volumeSlider, and to remove unwanted controlbar buttons by simply omitting their elements.</p> 49 49 50 50 <h3>Build versus Modify</h3> 51 51 52 <p>This guide contains all informationyou need to design and package a JW Player skin from scratch. However, an existing skin may already satisfy 90% of your requirements. In that case, we recommend you simply modify an existing skin instead of building one from scratch:</p>52 <p>This guide and the accompanying <a href="skin-reference.html">Skin XML Reference</a> contain all info you need to design and package a JW Player skin from scratch. However, an existing skin may already satisfy 90% of your requirements. In that case, we recommend you simply modify an existing skin instead of building one from scratch:</p> 53 53 54 54 <ul> 55 <li>The JW Player <a href="http://www.longtailvideo.com/addons/skins">addons library</a> contains downloads of manyskins, including their source files.</li>55 <li>The JW Player <a href="http://www.longtailvideo.com/addons/skins">addons pages</a> contain downloads of several skins, including their source files.</li> 56 56 <li>The JW Player <a href="http://developer.longtailvideo.com/trac/browser/skins">developer site</a> contains the source files of all skins within our <em>Premium</em> offering.</li> 57 57 </ul> … … 67 67 <pre> 68 68 <skin version='2' name='SkinName' author='skinAuthor'> 69 <components>70 <component name='controlbar'>71 <settings>72 <setting name='...' value='...' />73 ...74 </settings>75 <elements>76 <element name='...' src='...' />77 ...78 </elements>79 </component>80 ...81 </components>69 <components> 70 <component name='controlbar'> 71 <settings> 72 <setting name='...' value='...' /> 73 ... 74 </settings> 75 <elements> 76 <element name='...' src='...' /> 77 ... 78 </elements> 79 </component> 80 ... 81 </components> 82 82 </skin> 83 83 </pre> -
branches/jw6/doc/skins.html
r2269 r2315 48 48 <ul> 49 49 <li>We ourselves include a selection of skins with the <a href="http://www.longtailvideo.com/order/">JW Player Premium</a> offering. These skins are all professional looking and tested to work well with many advanced scenarios (like playlists, live streaming and advertising). The same skins are included with our <a href="http://www.longtailvideo.com/bits-on-the-run/">Video Platform</a>.</li> 50 <li>Several third-party designers have shared their JW Player skins with us. These are included in our JW Player <a href="http://www.longtailvideo.com/addons/skins">add-ons li brary</a>. A much greater variety of designs is available here, but not all skins work well in more advanced scenarios (e.g. playlists or small playerdimensions).</li>50 <li>Several third-party designers have shared their JW Player skins with us. These are included in our JW Player <a href="http://www.longtailvideo.com/addons/skins">add-ons listing</a>. A much greater variety of designs is available here, but not all skins work well in more advanced scenarios (e.g. playlists, tooltips or small dimensions).</li> 51 51 <li>If you are proficient with an image editor (like Photoshop), designing and packaging your own JW Player skin is straightforward. See <a href="skinning.html">Building JW Player Skins</a> for more info.</li> 52 52 </ul> 53 53 54 <p>After downloading (or packaging) the skin of your choice, you are left with its PNG and XMLfiles (e.g. <em>bekle.xml</em> and <em>bekle.zip</em>). Upload these two files to your webserver, so the skin can be configured for your player.</p>54 <p>After downloading (or packaging) the skin of your choice, you are left with its XML and ZIP files (e.g. <em>bekle.xml</em> and <em>bekle.zip</em>). Upload these two files to your webserver, so the skin can be configured for your player.</p> 55 55 56 56 … … 77 77 height: 360, 78 78 image: "/uploads/example.jpg", 79 skin: "/ skins/bekle.zip",79 skin: "/uploads/bekle.zip", 80 80 width: 640 81 81 }); -
branches/jw6/doc/troubleshooting.html
r2223 r2315 47 47 </ol> 48 48 49 <p>More advanced developers should also take a look at their browser console. The browser may display error messages (e.g. around files not found or CORS errors) that are helpful in tracking down the cause.</p>49 <p>More advanced developers should also take a look at their browser console. The browser may display error messages (e.g. around files not found or CORS errors) that are helpful in tracking down the problem.</p> 50 50 51 51 <h2>1: Player Not Showing At All</h2> … … 54 54 55 55 <ul> 56 <li> Included the <script> tag for loading <strong>jwplayer.js</strong> in the head of your page.</li>57 <li>Included a container <div> with an <strong>id</strong> attribute to load the player into.</li>58 <li> Referred to the correct <div> <strong>id</strong> in the <em>jwplayer(id).setup()</em> call.</li>56 <li>Uploaded <strong>jwplayer.js</strong> and included the <script> tag for loading <strong>jwplayer.js</strong> in the head of your page.</li> 57 <li>Included a container <div> with an <strong>id</strong> attribute and referred to that <strong>id</strong> in the <em>jwplayer(id).setup()</em> call.</li> 58 <li>Correctly formatted all options in the <em>jwplayer(id).setup()</em> call. We often see issues with commas, brackets or curly braces.</li> 59 59 </ul> 60 60 … … 123 123 <dd>This means the URL to your audio/video file or RTMP/HLS manifest could not be found. Please make sure the file is available at the location you provided (did you set relative paths correctly?) and available for loading in the player (are the access rights and mimetype header set correctly?).</dd> 124 124 <dt>Error loading media: File could not be played</dt> 125 <dd>This usually means you are trying to load a file in a nonsupported format in JW Player. A common case is the loading of a <strong>.wmv</strong> video, or a <strong>.mov</strong> video that doesn't use H264 video and AAC audio. See <a href="media.html">Supported Media Formats</a> for the list of formats the player supports.</dd>125 <dd>This usually means you are trying to load a file in a nonsupported format in JW Player. A common case is the loading of a <strong>.wmv</strong> video, or a <strong>.mov</strong> video that doesn't use the H264 video codec. See <a href="media.html">Supported Media Formats</a> for the list of formats the player supports.</dd> 126 126 </dl> 127 127 … … 137 137 <dl> 138 138 <dt>Error loading stream: File is not a valid manifest</dt> 139 <dd>This means that your SMIL manifest (for RTMP streaming) or M3U8 manifest (for HLS streaming) is not correctly formatted. See <a href="rtmp.html">Using RTMP Streaming</a> or <a href="hls.html">Using HLSStreaming</a> for examples of correctly formatted manifest files.</dd>139 <dd>This means that your SMIL manifest (for RTMP streaming) is not correctly formatted. See <a href="rtmp.html">Using RTMP Streaming</a> for examples of correctly formatted manifest files.</dd> 140 140 <dt>Error loading stream: Could not connect to RTMP server</dt> 141 141 <dd>This means that your RTMP server cannot be reached by the player (anymore). Ensure you have setup the correct <strong>streamer</strong> in your configuration options or <strong>base</strong> in your SMIL manifest. Next, ensure your server is actually up and running, and accessible from your computer. The latter is not always the case, since many proxies and firewalls block RTMP traffic. See <a href="rtmp.html">Using RTMP Streaming</a> for more info.</dd> 142 <dt>Error loading stream: Flash Player 10.1 is required</dt>143 <dd>In order to play Apple HLS streams (.m3u8), your Flash Player version must be at least 10.1. Please visit <a href="http://get.adobe.com/flashplayer/">the Adobe site</a> to update your Flash player. Note that <a href="http://riastats.com/">a small percentage</a> of desktop browsers still run Flash 10.0 or lower.</dd>144 142 </dl> 145 143 … … 161 159 <dt>MP4 video seeking is not working</dt> 162 160 <dd>If your MP4 files cannot be seeked before they are completely downloaded, you will have to move your MP4 metadata from the end to the beginning of your MP4 file. Use <a href="http://renaun.com/blog/2010/06/qtindexswapper-2/">this little application</a> to do that.</dd> 163 <dt>Apple HLS streams show garbage or black video for a few seconds</dt>164 <dd>The issue here is that JW Player tries to switch from one quality to another, but TS segments do not start with a keyframe. Eventually, the stream will play smooth again, but in order to not have this issue at all your segments should always start with a keyframe. See <a href="">Encoding HLS Streams</a> for more info.</dd>165 161 </dl> 166 162
Note: See TracChangeset
for help on using the changeset viewer.
