473,542 Members | 2,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Play Music in background while browsing though website

49 New Member
Hi everyone.

How can I play music in background while user can browse through my website. Uptill now I have created a music player which plays audio tracks but as soon as users jumps to another page the music stops.

How can I achieve this. any ideas !!!!!


Muddasir Hussain
Aug 10 '09 #1
17 12843
49 New Member
anybody ?
Aug 10 '09 #2
6,050 Recognized Expert Expert
What are you using to play the sound?

P.S. Do not rush people - this is a privilege, not a service.

Aug 10 '09 #3
8,658 Recognized Expert Moderator Expert
this thread should be moved to HTML forum, since it’s got nothing to do with PHP. please ask a Moderator to move it there.
Aug 10 '09 #4
6,050 Recognized Expert Expert
See my post above. When the user responds on the method used, I'll move it to the appropriate forum.

Aug 10 '09 #5
3,509 Recognized Expert Moderator Specialist
On a side note, I personally think its just wrong to put music on to a site for a user to listen to, that they didn't choose to begin with. I usually find a way to disable it if I can as it usually conflicts with whatever I already am listening to. Just my .02.


Aug 10 '09 #6
569 Recognized Expert Contributor
I totally agree with you, but that's a design question :-)

Muddasir, you could divide your page in two frames. One of 100% and one of 0%, to make it invisible. In the 0% frame you put your music stuff and in the other one the rest. This will only work if you reload only the 100% frame and not the index.php where the frames are defined!

Aug 10 '09 #7
49 New Member
Thank you all for replying.

I am using embed code for player. It also has a feature of adding music to play list. Actually its the requirement of the project to keep playing the music while user can browse through the site.

@Steven: thanks i will try that

and my apologies for posting this question in this section rather than in html forum

- Muddasir
Aug 11 '09 #8
431 Recognized Expert Contributor
I was of the same opinion until recent. A friend of mine (photographer) showed me a site (gallery) with music that was working so well with the art work presented. Like sometime they do for real world galleries. After seeing that example I am not so quick on dismissing music on the site. But hey that's design issue :)
Aug 11 '09 #9
5,058 Recognized Expert Expert
I was looking into pretty much this exact problem a while ago.

The only two solutions I came up with were using frames, as Steven suggested, and creating a 100% client-side site.
Personally I would rather create a client-side web then use frames, but that's just me.

Another option I disregarded from the start was to open the music player in another window, but that is an option if you don't mind using such a crude method.
Just make sure to take pop-up blockers into account if you do.

And I have to agree with Jeff to. I hate it when websites start playing audio without any warning.
Aug 12 '09 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Carl Mercier | last post by:
Hi! I'm sure this has been answered before but I can't seem to find anything related to this on Google Groups. What I'm trying to do might sound pretty simple in theory, but in practice, I have no clue how to implement this. I need to write some .NET code that will log on a PHP website using a username and password. The URL is similar...
by: charbonneau | last post by:
I need to develop a WinForm application which can play .mp3 music files stored on another machine on a LAN. This applicaiton needs to run on servaral different client machines at the same time. I want to have complete control over the UI - no visibly embedded Media Player if possible. I also need to be able to programatically...
by: Kevin | last post by:
Hello, all experts: May I ask you some questions? First, i'm programming a software of auto-authentication by using VB.NET tool. This software's functions is similar to do the account login through browser. I meet some questions when I post data to authentication page. I have tested the authentication webpages of Gemtek G-6000 and...
by: chitara | last post by:
code.poet Group: Members Joined: 16 Dec, 2005 Posts: 64 My Contributions
by: sketchgrrl | last post by:
I'm using IE to build a GoDaddy.com Website Tonight site. I want to add a background image (probably a repeating one to make sure it covers all the empty spaces behind the images on the page already). I found some CSS and also HTML code online but when I tried those, they didn't work. Into those codes, I had inserted the name of the jpg image...
Ali Rizwan
by: Ali Rizwan | last post by:
How to play sound with vb6 without using wmp control
by: Kapil Choubisa | last post by:
Hi! Everybody I am creating an application for playing music files in Browser. I successfully palyed the .Wav file. but I am unable to play other formats of music files. Is there any tool or way for this. or How can I add plugins to my web application for asking user to install for playing Plz help me
by: Niheel | last post by:
How can i browse the production website while also working on a local development enivornment? Right now i'm using the HOSTS file to propogate the domain's URL to the local version: website.com and when i want to browse live i have to edit it and do # website.com
by: samvb | last post by:
I just did an ajax based file where users play music. I wanted to add this feature where that music would continue to be played when visitors navigate thru out the website. I have placed a player on top of the page but it gets reloaded everytime. Any idea?
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.