|
1pixelout playerBy Markus Sandy at 07/18/2007 - 12:45
As part of providing support for cool players on channels, we have set up a folder of the popular players, including the popular 1pixelout player. Here are details on how to access this player. The script and movie are located at the following url's http://ourmedia.org/players/1pixelout/audio-player.js and http://ourmedia.org/players/1pixelout/player.swf
Here is an example which uses the player and script at ourmedia and audio data from archive.org: which is produced by embedding this code: <script language="JavaScript" src="http://ourmedia.org/players/1pixelout/audio-player.js"></script>IMPORTANT NOTE: be careful that no additional tags get automatically inserted into the above code. Depending on the setup, Drupal input filters may automatically insert line breaks or paragraph marks (<p>). The result of this is that everything looks fine, but no audio plays (it never stops buffering). In this case, be sure that there are no line breaks between any of the tags. At the moment, outmedia.org does not care about extra line breaks, but channels.ourmedia.org and tools.ourmedia.org do). Examples:
* Note: this example does not include the <script> tag in the post body as suggested. I cut it out to move it to the template and noticed it was working as expected. I'm not sure what functionality was lost by doing this, but it's easier than editing template. Perhaps this is important if there are multiple players on a page. We'll try it for a while and see what happens. Needless to say, this last example shows that we could easily provide a "widget" for each mp3 item at Ourmedia/Archive. ** See next post Links:
Comments and discussion: |
New Example
The audio stopped playing and I checked the Archive status and this item has a task associated with it that says "waiting for hard drive fix".
http://www.archive.org/download/The_Three_Tenors/testblog.mp3
So I am replacing the example with this:
http://www.archive.org/download/OLEspanishtrance_dancemp3/ole2.mp3
from
http://ourmedia.org/node/325698