<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JavaScript media player</title>
	<atom:link href="http://equivalence.co.uk/archives/1194/feed" rel="self" type="application/rss+xml" />
	<link>http://equivalence.co.uk/archives/1194</link>
	<description>Technical Blog for Software Developers</description>
	<lastBuildDate>Sat, 17 Mar 2012 10:28:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Catherine</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1318</link>
		<dc:creator>Catherine</dc:creator>
		<pubDate>Wed, 08 Feb 2012 17:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1318</guid>
		<description>Hi,

Thanks for such a great player! I really like the playlist feature, is tricky if existent in yahoo media player. Yours is quite complex in how much it can do, but also very easy to customize. Kudos!

I&#039;m wondering if there is way to have several playlist boxes on one page, such as if I am demo&#039;ing sample songs from two different bands and want them clumped each in their own box, per band. 

When I code it as two different  div&#039;s, the JS still automatically takes the second list of song links and puts them into the first playlist. 

[Showing example for now at: http://jazzman.ipsumwebdesign.com/demos/ . Source code shows that there are two &quot;myplayer&quot; div&#039;s.]

Thoughts or workarounds? Thanks very much!
-Catherine</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for such a great player! I really like the playlist feature, is tricky if existent in yahoo media player. Yours is quite complex in how much it can do, but also very easy to customize. Kudos!</p>
<p>I&#8217;m wondering if there is way to have several playlist boxes on one page, such as if I am demo&#8217;ing sample songs from two different bands and want them clumped each in their own box, per band. </p>
<p>When I code it as two different  div&#8217;s, the JS still automatically takes the second list of song links and puts them into the first playlist. </p>
<p>[Showing example for now at: <a href="http://jazzman.ipsumwebdesign.com/demos/" rel="nofollow">http://jazzman.ipsumwebdesign.com/demos/</a> . Source code shows that there are two "myplayer" div's.]</p>
<p>Thoughts or workarounds? Thanks very much!<br />
-Catherine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre Matos</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1280</link>
		<dc:creator>Andre Matos</dc:creator>
		<pubDate>Sat, 12 Nov 2011 02:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1280</guid>
		<description>Hi Gregg, thankyou for your support. I change to latest version 1.02 and it fix the problem, working fine , congratulations of your work to make it better ..

best regards,

Andre Matos from Brazil</description>
		<content:encoded><![CDATA[<p>Hi Gregg, thankyou for your support. I change to latest version 1.02 and it fix the problem, working fine , congratulations of your work to make it better ..</p>
<p>best regards,</p>
<p>Andre Matos from Brazil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregg</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1279</link>
		<dc:creator>Gregg</dc:creator>
		<pubDate>Fri, 11 Nov 2011 00:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1279</guid>
		<description>Hi Andre, I&#039;m not sure if you are using the latest version of the player or not? Unfortunately I never published its existence very well so it is likely that you are not.

Anyway to your problem. I could reproduce the issues you were seeing when I clicked on the play/pause button of the player on this page. However, I think I&#039;ve been able to fix it.

I&#039;m not sure if you were on the latest version of the code as described in a &lt;a href=&quot;http://equivalence.co.uk/archives/1194/comment-page-1#comment-549&quot; rel=&quot;nofollow&quot;&gt;previous comment&lt;/a&gt;. If not then you may have to make a few (small) changes to your page to use the fix I have uploaded as it uses a slightly different way of initialising the player. Instructions on where to download the update and the steps you will need to go through are given below.

First, &lt;a href=&quot;http://www.equivalence.co.uk/wp-content/uploads/2011/11/myplayer.1.02.zip&quot; rel=&quot;nofollow&quot;&gt;download the latest version from this link&lt;/a&gt;, replacing your existing files. If you are using the version posted in the previous comment then you are done. Otherwise if you have been using the older version (that is, if you clicked the big download buttons) you will have a line in your HTML that look something like:
&lt;code&gt;
  var _MyPlayerLocation_ = &quot;js/myplayer&quot;;
&lt;/code&gt;

This needs to be replaced with the following (where location matches the location you supplied above):

&lt;code&gt;
  var _MyPlayerSettings_ = {
    location: &quot;js/myplayer&quot;,
    startTrackClass: &quot;play_me_first&quot;,
    startVolume: 19
  };
&lt;/code&gt;

There are obviously a few new settings here, you can ignore if you want - simply delete the lines with &quot;startTrackClass&quot; and &quot;startVolume&quot; or comment them out.

Hopefully this will sort the issues you had with the player. Thanks for commenting and trying it out. Hope the fix works.</description>
		<content:encoded><![CDATA[<p>Hi Andre, I&#8217;m not sure if you are using the latest version of the player or not? Unfortunately I never published its existence very well so it is likely that you are not.</p>
<p>Anyway to your problem. I could reproduce the issues you were seeing when I clicked on the play/pause button of the player on this page. However, I think I&#8217;ve been able to fix it.</p>
<p>I&#8217;m not sure if you were on the latest version of the code as described in a <a href="http://equivalence.co.uk/archives/1194/comment-page-1#comment-549" rel="nofollow">previous comment</a>. If not then you may have to make a few (small) changes to your page to use the fix I have uploaded as it uses a slightly different way of initialising the player. Instructions on where to download the update and the steps you will need to go through are given below.</p>
<p>First, <a href="http://www.equivalence.co.uk/wp-content/uploads/2011/11/myplayer.1.02.zip" rel="nofollow">download the latest version from this link</a>, replacing your existing files. If you are using the version posted in the previous comment then you are done. Otherwise if you have been using the older version (that is, if you clicked the big download buttons) you will have a line in your HTML that look something like:<br />
<code><br />
  var _MyPlayerLocation_ = "js/myplayer";<br />
</code></p>
<p>This needs to be replaced with the following (where location matches the location you supplied above):</p>
<p><code><br />
  var _MyPlayerSettings_ = {<br />
    location: "js/myplayer",<br />
    startTrackClass: "play_me_first",<br />
    startVolume: 19<br />
  };<br />
</code></p>
<p>There are obviously a few new settings here, you can ignore if you want &#8211; simply delete the lines with &#8220;startTrackClass&#8221; and &#8220;startVolume&#8221; or comment them out.</p>
<p>Hopefully this will sort the issues you had with the player. Thanks for commenting and trying it out. Hope the fix works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre Matos</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1278</link>
		<dc:creator>Andre Matos</dc:creator>
		<pubDate>Thu, 10 Nov 2011 23:02:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1278</guid>
		<description>I say track , but track don&#039;t move player, only  play / pause, and  volume buttons. Best regrads</description>
		<content:encoded><![CDATA[<p>I say track , but track don&#8217;t move player, only  play / pause, and  volume buttons. Best regrads</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre Matos</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1277</link>
		<dc:creator>Andre Matos</dc:creator>
		<pubDate>Thu, 10 Nov 2011 03:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1277</guid>
		<description>Tks Gregg for your work , I&#039;m trying your player.  But when I click on track or on play / pause, the page refresh and player go to top of page, it&#039;s possible see here in your demo,  position scroll of page to player align to center of page, when you click it&#039;s go to top.  It&#039;s possible disable this ? , when I click player continue in actual position ?  Thanks for help, best regards, Andre From Brazil , sorry bad english.</description>
		<content:encoded><![CDATA[<p>Tks Gregg for your work , I&#8217;m trying your player.  But when I click on track or on play / pause, the page refresh and player go to top of page, it&#8217;s possible see here in your demo,  position scroll of page to player align to center of page, when you click it&#8217;s go to top.  It&#8217;s possible disable this ? , when I click player continue in actual position ?  Thanks for help, best regards, Andre From Brazil , sorry bad english.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregg</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1245</link>
		<dc:creator>Gregg</dc:creator>
		<pubDate>Wed, 19 Jan 2011 12:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1245</guid>
		<description>&gt; 1. The time limit doesn’t show correctly until the whole
&gt;file has loaded.

I&#039;m afraid this is the way it is. Until the file has loaded it can only make an estimate as to the time. This may have changed since I worked on this but it was a limitation of flash - and I can only assume the mp3 format.

&gt;2. When switching between tracks, either by clicking on different 
&gt;tracks directly or by clicking the next button, the player seems 
&gt;to wait until it has finished downloading all previous tracks and 
&gt;then it plays the selected track, which results in a significant delay.

Not sure what the problem is here. I&#039;ve tried this on my own site that uses the player and I can&#039;t reproduce the problem. Can you let me know which browser and version you are using so that I can try it out? Feel free to email me a link to your site if it&#039;s publicly available and I can see if I see the problem, details of my email address is in the about me page.</description>
		<content:encoded><![CDATA[<p>> 1. The time limit doesn’t show correctly until the whole<br />
>file has loaded.</p>
<p>I&#8217;m afraid this is the way it is. Until the file has loaded it can only make an estimate as to the time. This may have changed since I worked on this but it was a limitation of flash &#8211; and I can only assume the mp3 format.</p>
<p>>2. When switching between tracks, either by clicking on different<br />
>tracks directly or by clicking the next button, the player seems<br />
>to wait until it has finished downloading all previous tracks and<br />
>then it plays the selected track, which results in a significant delay.</p>
<p>Not sure what the problem is here. I&#8217;ve tried this on my own site that uses the player and I can&#8217;t reproduce the problem. Can you let me know which browser and version you are using so that I can try it out? Feel free to email me a link to your site if it&#8217;s publicly available and I can see if I see the problem, details of my email address is in the about me page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Comrade</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1244</link>
		<dc:creator>Comrade</dc:creator>
		<pubDate>Mon, 17 Jan 2011 00:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1244</guid>
		<description>Hi. This is a great, easy player: so thank you for making and releasing it. I was wondering if you could help me with something, however. Instead of linking to the files directly, I am accessing them dynamically through a PHP file, like this:

http://www.domain.com/file.php?id=3

When I do this, the files play, but with two problems:

1. The time limit doesn&#039;t show correctly until the whole file has loaded.
2. When switching between tracks, either by clicking on different tracks directly or by clicking the next button, the player seems to wait until it has finished downloading all previous tracks and then it plays the selected track, which results in a significant delay.

I have tried various ways of delivering the audio directly to the player, but none of them seem to work. I can post the code that I am using if you would like, but I was hoping there might be some minor change that you can make to the JS that would help me out.

Thanks in advance,
Chris</description>
		<content:encoded><![CDATA[<p>Hi. This is a great, easy player: so thank you for making and releasing it. I was wondering if you could help me with something, however. Instead of linking to the files directly, I am accessing them dynamically through a PHP file, like this:</p>
<p><a href="http://www.domain.com/file.php?id=3" rel="nofollow">http://www.domain.com/file.php?id=3</a></p>
<p>When I do this, the files play, but with two problems:</p>
<p>1. The time limit doesn&#8217;t show correctly until the whole file has loaded.<br />
2. When switching between tracks, either by clicking on different tracks directly or by clicking the next button, the player seems to wait until it has finished downloading all previous tracks and then it plays the selected track, which results in a significant delay.</p>
<p>I have tried various ways of delivering the audio directly to the player, but none of them seem to work. I can post the code that I am using if you would like, but I was hoping there might be some minor change that you can make to the JS that would help me out.</p>
<p>Thanks in advance,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregg</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1209</link>
		<dc:creator>Gregg</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1209</guid>
		<description>Hi James. Sounds really cool what you have done with this. Glad you have found some good use for it. I was hoping that others would fine some great ways to extend it.</description>
		<content:encoded><![CDATA[<p>Hi James. Sounds really cool what you have done with this. Glad you have found some good use for it. I was hoping that others would fine some great ways to extend it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James W. Friedman</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1204</link>
		<dc:creator>James W. Friedman</dc:creator>
		<pubDate>Sat, 15 May 2010 13:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1204</guid>
		<description>I&#039;ve modified the player to track play counts and to load the player with tracks in ascending play count order.  Each track&#039;s play count is incremented at the completion of that track&#039;s play.  The player and mp3&#039;s are currently on a flash drive yet through some clever mechanisms the flash drive communicates with a PHP/MySQL complex on a server.  It is remote complex that records the play counts after each track play and that provides the play order to the player when it is enabled (or refreshed).  I&#039;m currently running a single play list but choosing one from among many playlists will be implemented as will combining playlists.  Eventually I&#039;ll put all the mp3 tracks on a web server too and the player also.  Unless Apples does the right thing with the its buy-out and closing of Lala.com this will be my day-to-day media player. My site will not be public but I will gladly share the configurations that I have implemented to anyone...its basically a combination of Ajax and \pseudo-Ajax\, the latter being requesting images whose url contains the data to be communicated in its query string.  An .hta file is used as well.  The .hta gets the server play order and writes it to a local .js file which other javascript uses to populate the players play options (tracks).  Functionally integrating HTA files and Ajax technology (http requests of any form, really) enable communication between the local file system and a remote server.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve modified the player to track play counts and to load the player with tracks in ascending play count order.  Each track&#8217;s play count is incremented at the completion of that track&#8217;s play.  The player and mp3&#8242;s are currently on a flash drive yet through some clever mechanisms the flash drive communicates with a PHP/MySQL complex on a server.  It is remote complex that records the play counts after each track play and that provides the play order to the player when it is enabled (or refreshed).  I&#8217;m currently running a single play list but choosing one from among many playlists will be implemented as will combining playlists.  Eventually I&#8217;ll put all the mp3 tracks on a web server too and the player also.  Unless Apples does the right thing with the its buy-out and closing of Lala.com this will be my day-to-day media player. My site will not be public but I will gladly share the configurations that I have implemented to anyone&#8230;its basically a combination of Ajax and \pseudo-Ajax\, the latter being requesting images whose url contains the data to be communicated in its query string.  An .hta file is used as well.  The .hta gets the server play order and writes it to a local .js file which other javascript uses to populate the players play options (tracks).  Functionally integrating HTA files and Ajax technology (http requests of any form, really) enable communication between the local file system and a remote server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SirLamer</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-551</link>
		<dc:creator>SirLamer</dc:creator>
		<pubDate>Tue, 13 Oct 2009 17:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-551</guid>
		<description>&lt;a href=&quot;#comment-549&quot; rel=&quot;nofollow&quot;&gt;@Gregg&lt;/a&gt; 

Wow, thank you very much for this!

I have tested this new version and it works great!  Unfortunately, I tested it in the unique platform I hoped to use it and it&#039;s not going to work there.  It&#039;s at no fault of your own; it seems the in-game web browser in Team Fortress 2 and other Source engine games doesn&#039;t support JavaScript.  I&#039;m surprised, since they do support Flash applications!  Very well, then...

So, I&#039;m sorry I cannot put it to use like I hoped.  I&#039;ll keep an eye on things, though, and if they ever add JavaScript support I&#039;ll put your great program to use.</description>
		<content:encoded><![CDATA[<p><a href="#comment-549" rel="nofollow">@Gregg</a> </p>
<p>Wow, thank you very much for this!</p>
<p>I have tested this new version and it works great!  Unfortunately, I tested it in the unique platform I hoped to use it and it&#8217;s not going to work there.  It&#8217;s at no fault of your own; it seems the in-game web browser in Team Fortress 2 and other Source engine games doesn&#8217;t support JavaScript.  I&#8217;m surprised, since they do support Flash applications!  Very well, then&#8230;</p>
<p>So, I&#8217;m sorry I cannot put it to use like I hoped.  I&#8217;ll keep an eye on things, though, and if they ever add JavaScript support I&#8217;ll put your great program to use.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

