title: Trouble getting a responce from my script
body: <p>i use jplayer as an audio player in my site...Most of the commands are <strong>HTML5 standard</strong>.</p>
  
  <p>I am trying to get the <strong>$.jPlayer.event.progress</strong> event to fire so that i can record its value and if it is >0 i know the audio stream is playing on the users machine..</p>
  
  <p>Trouble is i cant get a result from it, and my jquery is ... well...  not so advanced :)</p>
  
  <p>I cant really do a fiddle to show because of my lack of testing knowledge, all i can say is that the stream works fine.</p>
  
  <p>I am expecting to see results between "0 and 10" (0 meaning not streaming) (1-10 meaning the ammount of data that has been buffered in seconds)</p>
  
  <p><strong>THE HTML:</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset=utf-8 /&gt;
  
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
  &lt;script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/jquery.jplayer.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/testsite/scripts/player.js"&gt;&lt;/script&gt;
  
  
  
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;p id="message"&gt;&lt;/p&gt;
  
  &lt;br&gt;
  
  
  &lt;div id="liveStream"&gt;&lt;/div&gt;
  &lt;button onclick="playPause()"&gt;PLAY or PAUSE&lt;/button&gt;
  &lt;button onclick="changeVolume('+')"&gt;Volume Up&lt;/button&gt;
  &lt;button onclick="changeVolume('-')"&gt;Volume Down&lt;/button&gt;
  &lt;button onclick="playStatus()"&gt;Play Status&lt;/button&gt;
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>THE SCRIPT:</strong></p>
  
  <p>It is the <strong>playstatus</strong> function that i am trying to return results from, you can see im trying to log everything in the function due to my lack of understanding</p>
  
  <pre><code>function playStatus(){
       $("#liveStream").bind($.jPlayer.event.progress, function (event) {
          console.log(event);
          console.log(playStatus);
          console.log(liveStream);
      });
  }
  
  //Initiate JPLAYER 
  
  $(document).ready(function(){
  
      var stream = {
          mp3: "http://streaming.radionomy.com/ABC-Jazz"
  
      },
      ready = false;
  
      $("#liveStream").jPlayer({
          ready: function (event) {
              ready = true;
              $(this).jPlayer("setMedia", stream);
          },
          pause: function() {
              $(this).jPlayer("clearMedia");
          },
          error: function(event) {
              if(ready &amp;&amp; event.jPlayer.error.type === $.jPlayer.error.URL_NOT_SET) {
                  // Setup the media stream again and play it.
                  $(this).jPlayer("setMedia", stream).jPlayer("play");
              }
          },
          swfPath: "js",
          supplied: "mp3",
          preload: "none",
          wmode: "window",
          keyEnabled: true
      });
  
  
  });
  </code></pre>
  
  <p>Here is a link to JPlayers DEV list, I am trying to initiate and log <strong>$.jPlayer.event.progress</strong></p>
  
  <p><a href="http://jplayer.org/latest/developer-guide/" rel="nofollow">JPLAYER EVENTS</a></p>
  
  <p>Thanks for taking the time to read through!</p>