Audio Uploads
5 posts by 3 authors in: Forums > CMS Builder
Last Post: September 23, 2009 (RSS)
Also, could anyone give me any links to CMSB sites that have audio on the page so that I can see how the link will be displayed on the page and how other people have added audio (ie. audio players etc)?
Thanks! [:)]
Re: [Kittybiccy] Audio Uploads
By Chris - September 22, 2009
Sorry, I don't have any examples for you, but I thought I'd point out that the [url http://www.macloo.com/examples/audio_player/]"Audio Player Wordpress plugin" flash audio player[/url] looks promising.
Please keep us updated on your progress and let us know if you have any problems getting CMSB to generate the correct code to get things working.
Chris
Re: [Kittybiccy] Audio Uploads
By Kenny - September 22, 2009
Try this: http://www.eradiosports.com/podcast
We used a normal upload field allowing mp3's as an acceptable extension. Click on each link and the detail page will show up using an embedded audio player that plays the file.
Let me know if this is what you are looking for and I will post the source and code here.
Kenny
Re: [sagentic] Audio Uploads
By Chris - September 23, 2009
That's pretty cool! Please post the code that you use in your detail pages to embed that widget! :D
Chris
Re: [chris] Audio Uploads
By Kenny - September 23, 2009 - edited: September 23, 2009
Here's the code:
<table>
<?php foreach ($mediaRecord['upload_file'] as $upload): ?>
<tr>
<td><?php echo $media_downloadsRecord['title'] ?></td>
</tr>
<tr>
<td><embed wmode="transparent" src="music.swf?url=<?php echo $upload['urlPath'] ?>&autostart=false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="50">
</td>
</tr>
<?php endforeach ?>
</table>
The embedded player is attached to this post.
I have tried to put several players on one page before, but some browsers ignore the autostart=false and have all the players start playing at the same time. This can get annoying.
Kenny