Commits

David Bennett committed cdf50cb

Tweak readme.

Comments (0)

Files changed (1)

 JWSkin2JS
 =========
-This is a handly little program that converts zipped `JW Player 5`_ `XML/PNG
-skins`_ into self-contained JavaScript.
+This is a handy little program that converts zipped `JW Player 5`_ `XML/PNG
+skins`_ into a single self-contained JavaScript file.
 
 .. _JW Player 5: http://www.longtailvideo.com/players/
 .. _XML/PNG skins: http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/43/using-jw-player-skins
 This can be problematic if you're hosting the skin on a different domain (e.g.
 a CDN) because JavaScript is restricted from loading content on other domains.
 
-Python 2.7 is required::
+Python 2.7 is required.
 
-    usage: jwskin2js.py [-h] [-o jsfile] zipfile
+Usage::
+
+    python jwskin2js.py [-h] [-o jsfile] zipfile
 
     Compile a JW Player 5 skin to JavaScript.
 
 
 Include in your page like so::
 
+    <div id="player">Loading the player...</div>
     <script type="text/javascript" src="http://s3.example.com/js/jwplayer58.js"></script>
     <script type="text/javascript" src="http://s3.example.com/skins/five.js"></script>
     <script type="text/javascript">
         });
     </script>
 
-.. note::
-
-    You still need to include the ZIP skin for it to work in Flash mode.
+.. note:: You still need to include the ZIP skin for it to work in Flash mode.