Changeset 1356


Ignore:
Timestamp:
09/30/10 19:40:11 (3 years ago)
Author:
pablo
Message:

Updating player docs

Location:
trunk/fl5
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/fl5/doc/publishers/embedding.rst

    r1344 r1356  
    88* Using a generic JavaScript embedder (like `SWFObject <http://code.google.com/p/swfobject/>`_). 
    99* 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 
     12For 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. 
    1313 
    1414Upload 
    1515------ 
    1616 
    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>`. 
     17First, 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**.   
    2018 
    2119.. note:: 
    2220 
    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 
    2428 
    2529 
     
    122126 
    1231271. 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 website: 
     1282. Include the *jwplayer.js* somewhere in the head of your webpage: 
    125129     
    126130    .. code-block:: html 
  • trunk/fl5/doc/publishers/javascriptapi.rst

    r1344 r1356  
    239239    Change the player's fullscreen mode. Parameters: 
    240240     
    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. 
    242242 
    243243.. describe:: setMute(state) 
     
    245245    Change the player's mute state (no sound). Parameters: 
    246246 
    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. 
    248248 
    249249.. describe:: load(playlist) 
  • trunk/fl5/src/com/longtailvideo/jwplayer/player/PlayerVersion.as

    r1347 r1356  
    33         
    44        public class PlayerVersion { 
    5                 protected static var _version:String = "5.3.1347"; 
     5                protected static var _version:String = "5.3.1356"; 
    66                 
    77                public static function get version():String { 
Note: See TracChangeset for help on using the changeset viewer.