Changeset 1356
- Timestamp:
- 09/30/10 19:40:11 (3 years ago)
- Location:
- trunk/fl5
- Files:
-
- 7 edited
-
doc/JWPlayerEmbedGuide.pdf (modified) (previous)
-
doc/JWPlayerEmbedder.pdf (modified) (previous)
-
doc/JWPlayerFlash.pdf (modified) (previous)
-
doc/publishers/embedding.rst (modified) (2 diffs)
-
doc/publishers/javascriptapi.rst (modified) (2 diffs)
-
player.swf (modified) (previous)
-
src/com/longtailvideo/jwplayer/player/PlayerVersion.as (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fl5/doc/publishers/embedding.rst
r1344 r1356 8 8 * Using a generic JavaScript embedder (like `SWFObject <http://code.google.com/p/swfobject/>`_). 9 9 * Using a HTML tag (like *<object>* or *<embed>*). 10 * Using the JW Player's own JavaScript embedder (**jwplayer.js**).11 12 We recommend using the included JW Player Embedder. It can detect if a browser supports Flash, it ensures that the player's :ref:`javascriptapi` works and it avoids browser compatibility issues. Also, as of version 5.3, the JW Player Embedder allows you to use the player's HTML5 feautures.Detailed instructions can be found below.10 * Using the JW Embedder, the JW Player's own JavaScript embedder (**jwplayer.js**). 11 12 For embedding the JW Player for Flash, we recommend using SWFObject, since it works in all browsers and many examples exist on the web to get you up and running quickly. If you want the new HTML5 features of the JW Player, or if you want to leverage the new and improved :ref:`JavaScript API <javascriptapi>`, you'll want to use the JW Embedder. Detailed instructions can be found below. 13 13 14 14 Upload 15 15 ------ 16 16 17 First, a primer on uploading. This may sound obvious, but for the JW Player to work on your website, you must upload the *player.swf* file from the download to your webserver. If you want to play Youtube videos, you must also upload the **yt.swf** file - this is the bridge between the player and Youtube. Finally, to use the JW Player Embedder and HTML5 player, upload **jwplayer.js**. 18 19 Your :ref:`media files <mediaformats>` and :ref:`playlists <playlistformats>` can be hosted at any domain. Do note that :ref:`crossdomain` apply when loading these files from a different domain. In short, playing media files works, but loading playlists across domains will not work by default. Resolve this issue by hosting a :ref:`crossdomain.xml file <crossdomain>`. 17 First, a primer on uploading. This may sound obvious, but for the JW Player to work on your website, you must upload the *player.swf* file onto your webserver. If you want to play YouTube videos, you must also upload the **yt.swf** file - this is the bridge between the player and YouTube. Finally, to use the JW Embedder and HTML5 player, upload **jwplayer.js**. 20 18 21 19 .. note:: 22 20 23 We recommend putting everything in a folder called "jwplayer" at the root of your site. This enables the :ref:`quickembed` method of setting up the player. 21 We recommend putting everything in a folder called "jwplayer" at the root of your site. This enables the :ref:`quickembed` method of setting up the player. The file structure should look like this: 22 23 .. code-block:: text 24 25 [Web Root]/jwplayer/player.swf 26 [Web Root]/jwplayer/jwplayer.js 27 [Web Root]/jwplayer/yt.swf 24 28 25 29 … … 122 126 123 127 1. Upload the *jwplayer.js*, *player.swf* and *yt.swf* files from the download ZIP to your server. All other files in the download (documentation, source code, etc) are optional. 124 2. Include the *jwplayer.js* somewhere in the head of your web site:128 2. Include the *jwplayer.js* somewhere in the head of your webpage: 125 129 126 130 .. code-block:: html -
trunk/fl5/doc/publishers/javascriptapi.rst
r1344 r1356 239 239 Change the player's fullscreen mode. Parameters: 240 240 241 * **state**:Boolean (* undefined*): If state is undefined, perform a fullscreen toggle. Otherwise, set the player's fullscreen mode to fullscreen if true, and return to normal screen mode if false.241 * **state**:Boolean (*true*): Set the player's fullscreen mode to fullscreen if true, and return to normal screen mode if false. 242 242 243 243 .. describe:: setMute(state) … … 245 245 Change the player's mute state (no sound). Parameters: 246 246 247 * **state**:Boolean ( undefined): If *state* is undefined, perform a muting toggle. Otherwise, mute the player if true, and unmute if false.247 * **state**:Boolean (*true*): Mute the player if true, and unmute if false. 248 248 249 249 .. describe:: load(playlist) -
trunk/fl5/src/com/longtailvideo/jwplayer/player/PlayerVersion.as
r1347 r1356 3 3 4 4 public class PlayerVersion { 5 protected static var _version:String = "5.3.13 47";5 protected static var _version:String = "5.3.1356"; 6 6 7 7 public static function get version():String {
Note: See TracChangeset
for help on using the changeset viewer.
