473,378 Members | 1,140 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Playing song in website

i am trying to play music in my music website in php.The problem is occured when i reload other page music start form begining.How to play song continueoulsy in my websitge?
how to use ajax to solve this problem?

plase give me answer as soon as possible.

Thank you.. in advance....
Aug 12 '12 #1
4 1845
ariful alam
185 100+
You may try to use HTML5 <audio></audio> tag.
Aug 12 '12 #2
gits
5,390 Expert Mod 4TB
in case you embed a mediafile in a page and it starts playing and you reload that page or load another page, then the playback starts from the beginning in any case. you might use frames to avoid this and embed the media-file in the parent frame, that then shouldn't be reloaded. you might even use ajax-techniques to avoid complete page-loads and load only specific parts of a page and replace some nodes in the current page if you dont want to use frames as described.
Aug 13 '12 #3
Thank you so much..
but i don't know more knowledge about AJAX. I want to use ajax in my website and implement this.Plese tell me how use AJAX in my website to slove above problem....
Aug 16 '12 #4
ariful alam
185 100+
start your learning of AJAX here -> http://www.w3schools.com/ajax
Aug 16 '12 #5

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

Similar topics

4
by: Shelly | last post by:
I have a list of file descriptions in a list box that is filled via a php mysql select. I know the name of the file that is described by the file that is select from that list box. It is an audio...
2
by: Vinay | last post by:
Hi, I want to verify if a particular song is being played from my program. I have read a lot of examples of using winmm.dll and importing PlaySound(). If there anyway to check if a song is being...
4
by: Sumaira Ahmad | last post by:
Hi, Is there any way of playing songs and downloading songs from a server onto a client machine. I want to develop an application such as a music portal which allows clients to play songs that...
3
by: Tommy DN | last post by:
I've made a program that displays the track that's playing on a (internet)radiostation. The name of the "now playing" track comes from the radiostation's website ( from the statusbar using the...
1
by: Paul Fi | last post by:
im writing a C# program that tries to get the currently playing song in a seperate windows media player instance (external app) i found out that there might be a way to do that using the windows...
0
by: poppy | last post by:
I tried to play a wav file with function Playsound() but it played only the first seconds of the song.I would like to play whole the song.What might de be wrong?Here is my code in case someone can...
2
by: =?Utf-8?B?Qm9iQWNoZ2lsbA==?= | last post by:
How can I best play several mp3 files one immediately after the other? Will this tie up the AxWindowsMediaPlayer1 instance such that I can't use the instance again until the files finish playing...
1
by: Adelaide | last post by:
I have been trying to create a quiz for my website and I am confused. This is the code I am using but it doesn't seem to be showing up when I preview in a browser. I have this in the head ...
2
by: Apostle | last post by:
How do I detect song is over? I have a function that run ONLY when song have finished playing. How do I do that?
5
by: Saser | last post by:
I'm thinking of making a program which must detect when a song played in, for example, iTunes. Whenever a new song is playing, either if a song has ended and another one start or if the user choose...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.