Dynamic Player mp3 list, with no direct links
Hi,
this is a great player indeed.
I have a question. I need to implement a player tha handles multiple mp3s (like a playlist), but gets the actual mp3 every time though asp script.
So, there will be no direct links on mp3s, on source code.
how can this be implemented with SM2 ?
(thanx in advance)
this is a great player indeed.
I have a question. I need to implement a player tha handles multiple mp3s (like a playlist), but gets the actual mp3 every time though asp script.
So, there will be no direct links on mp3s, on source code.
how can this be implemented with SM2 ?
(thanx in advance)
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The company marked this question as answered.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?You can write your own player script and play any URL, eg. soundManager.play('someSoundID','http://path/to/a/sound.php'); even.. Using the page player script, you can add class="playable" to links which don't end in .mp3 and the player should pick up on that.
Make sure you serve your MP3 files with the correct HTTP headers, or else it will fail and/or do funny things in different browsers.
http://getsatisfaction.com/schillmani...
I’m confident
The company says
this answers the question
-
Inappropriate?thank you for your response. is there any example of that you describing i could have a look at ?
regards
G!
I’m thankful
-
Inappropriate?i found out how to do it. so i publish the code for the mp3 http headers passing for the asp file, in case someone needs it!
thank you again for the great player!!
the code:
----------------------------------------------------------------
Dim strFile
strFile = "<%=physical path to the file%>"
Response.Buffer = True
Response.Clear
Response.ContentType = "audio/mpeg"
Set objStream = Server.CreateObject("ADODB.Stream")
objStream.Open
objStream.Type = 1
objStream.LoadFromFile strFile
Response.BinaryWrite objStream.Read
objStream.Close
Set objStream = Nothing
Response.End
----------------------------------------------------------------
%>
I’m very happy
1 person says
this answers the question
-
Inappropriate?I too am trying todo this, I need the player to support a single playlist.
For now looks like i will have to use the above method.
This player seriously rocks. Nicely done.
Loading Profile...



EMPLOYEE