Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Audio player on all pages
Old 07-20-2007, 03:50 AM Audio player on all pages
Junior Talker

Posts: 3
Trades: 0
Hello!

I'm a musician and I already have configured an audio player for my website. But I don't know how to achieve this:

I'd like to have the audio player shown on all pages, in a way that the music plays while the viewer browses through all pages, but so that the player plays continuously (i.e. doesn't load from the start again all the time the viewer goes to a different page).

I'd like to achieve that without frames or iframes. Is this possible? How?
Thank you very much for your help!
bossa-nova is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-20-2007, 02:48 PM Re: Audio player on all pages
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Server side includes would be the only remaining option.

I have to say, if you're going to insist on playing your music on your site, then at least give people the option for turning it off.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-20-2007, 03:31 PM Re: Audio player on all pages
Junior Talker

Posts: 3
Trades: 0
Thanks.

I tried SSI but the player is reloaded everytime the viewer goes to a new page and then starts to play from the beginning again. Maybe there is a trick which I don't know?!

I'd like to have the player playing continuously without being reloaded (and don't worry, it's a flash player with a pause button!).

Any idea?
bossa-nova is offline
Reply With Quote
View Public Profile
 
Old 07-21-2007, 09:26 AM Re: Audio player on all pages
RanaD's Avatar
Super Talker

Posts: 139
Name: David
Trades: 0
This may help - I used it some time ago by placing a link to an online radio station on the site, which would pop up and play uninterrupted when clicked. I'm sure you can modify it to pop up automatically.

Javascript in head section:
Code:
<script type="text/javascript">
<!--
function popup(mylink, windowname){if (! window.focus)return true;var href;if (typeof(mylink) == 'string') href=mylink;else href=mylink.href;window.open(href, windowname, 'width=300,height=50,scrollbars=yes');return false;}//--></script>
Menu link is something like this:
Code:
<a href="/media/" 
   onclick="return popup(this, 'notes')" class="menu">Radio</a>
For simplicity, I'm attaching the content of the media folder in a zip file. You'll want to probably edit the index.html, and put the link to your music files in the vortex.m3u file.

Nitpickers may find some errors in document types and such, but it works fine.
Attached Files
File Type: zip media.zip (1.7 KB, 0 views)
RanaD is offline
Reply With Quote
View Public Profile
 
Old 07-21-2007, 11:02 AM Re: Audio player on all pages
Junior Talker

Posts: 3
Trades: 0
Thanks a lot, very kind of you!

But I really wanted the player on top of the pages. So I come to the conclusion that unfortunately there are no other options rather than frames, which I'll use.

If you like brazilian music, here goes my website:
http://www.bossanovamusic.net
bossa-nova is offline
Reply With Quote
View Public Profile
 
Old 07-21-2007, 12:52 PM Re: Audio player on all pages
Super Talker

Posts: 122
Name: Nate
Location: Orlando, FL
Trades: 0
If I was going to build a web site with a music player, then I think I would use frames as well. I would use a very small Top frame and then a large main frame which has all of the content.
NateL is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Audio player on all pages
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.67072 seconds with 13 queries