473,404 Members | 2,213 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,404 software developers and data experts.

Important Media Player

D
Dear all, anyone know how i can place a media player on my asp page to
allow user to listen to sample songs, etc? or anyone know where to find
the code?? Thanks

Regards
cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #1
11 1542
Youll do it the same way as you would on an html page - however this group
is about server side code.

<D> wrote in message news:uC**************@TK2MSFTNGP12.phx.gbl...
Dear all, anyone know how i can place a media player on my asp page to
allow user to listen to sample songs, etc? or anyone know where to find
the code?? Thanks

Regards
cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #2
The same way is how???

cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3
D wrote on 30 okt 2004 in microsoft.public.inetserver.asp.general:
Dear all, anyone know how i can place a media player on my asp page to
allow user to listen to sample songs, etc? or anyone know where to find
the code?? Thanks


I use something like this to send off-site sound to the user:

''''...........
Response.Clear()

if instr(href,"mms:")=1 then
Response.ContentType = "video/x-ms-asf"
%>
<ASX version="3.0">
<Entry>
<ref HREF="<%=href%>"/>
</Entry>
</ASX>
<%
elseif instr(href,"rtsp:")=1 OR instr(href,"pnm:")=1 then
Response.ContentType="audio/x-pn-realaudio"
%>
<%=href%>

<% else
''''........

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 21 '05 #4
What does that code mean?? Do i have to amend it to suit my website??

cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #5
Daniel wrote on 30 okt 2004 in microsoft.public.inetserver.asp.general:
What does that code mean??
[please quote, this is not email, but usenet Response.ContentType = "video/x-ms-asf"] Do i have to amend it to suit my website??


This you have to understand to use it.
Just the pasting will get you nowhere.

If you don't understand,
try to learn about Response.ContentType and streaming media
or do not use the code.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 21 '05 #6
If i dun want to use code, then i ask for what? ask for fun??? if i dun
know the code, of course i must ask

cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #7
[please quote, this is not email, but usenet]
<D> wrote in message news:e0**************@TK2MSFTNGP15.phx.gbl...
If i dun want to use code, then i ask for what? ask for fun??? if i dun
know the code, of course i must ask

cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #8
Quote what??? I already state my question in the first msg :)

Dear all, anyone know how i can place a media player on my asp page to
allow user to listen to sample songs, etc? or anyone know where to find
the code?? Thanks

cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #9
Daniel wrote on 30 okt 2004 in microsoft.public.inetserver.asp.general:
If i dun want to use code, then i ask for what? ask for fun??? if i dun
know the code, of course i must ask


Dear Daniel,

When asking in a technical forum like this NG, often [and this time] you
get a technical hint for an answer, because one expects you to know the
basics of ASP serverside scripting in VBscript or Jscript.

This has nothing to do with your or my fun, funnily enough.

An expectation of a complete solution will often not be fulfilled,
as this NG is not a payed helpline.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress,
but let us keep the discussions in the newsgroup)

Jul 21 '05 #10
D wrote:
Quote what??? I already state my question in the first msg :)

Quote the message to which you are replying. So we don't have to go back to
see the previous messages to see the thread of the conversation.

I think what others are suggesting is that you have been given the solution,
and that it is up to you now to go research the provided solution so that
you can understand it. There is a wealth of material out there on the web to
help you. All you need to do is search for it. For example, you don't
understand Response.ContentType. Go to Google and put that term in the
search field. You will find lots of information. Or go to
msdn.microsoft.com/library and search for that term. You will find the
documentation for all Microsoft technology on that site. Make use of it.

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 21 '05 #11
Go to a site that does this, then choose View Source

Jeff
<D> wrote in message news:uC**************@TK2MSFTNGP12.phx.gbl...
Dear all, anyone know how i can place a media player on my asp page to
allow user to listen to sample songs, etc? or anyone know where to find
the code?? Thanks

Regards
cheers

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Jul 21 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Anise | last post by:
I have a question concerning embedding a windows media player into a web application in .net.. I download Windows Media Player 10 and its SDK On the .ascx page I placed a windows media player...
1
by: Stephen Adam | last post by:
Hi there, Have spent a while trying to find out how to connect to Windows Media Player through COM. Unfortunately there doesnt seem to be much stuff about it on the web. What I need to do is...
1
by: Shane | last post by:
I'm trying to access the media player (V10) mediacollection object from my ..NET web service to return a list of media files. For some reason when i call getByAttribute("MediaType", "Audio") ...
3
by: UJ | last post by:
I have a .avi file that uses the Divx codec. If I load it with windows media player program it works fine. If I load it using my control in a program, it doesn't display. Over standard media files...
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
2
riptide2049
by: riptide2049 | last post by:
I really have a problem here. I have a code that is suppost to take the href of a link from the right class;value of a link maked toreturn false. the value is a Media file the file is sent to...
0
by: artsohc | last post by:
Hey Everyone, this is my first time posting so go easy on me. I am trying to hook up music-on-hold at the office I work at. I got all the music loaded and I got Windows Media Player working while...
1
by: =?Utf-8?B?Y2h1ZA==?= | last post by:
I am using vista and every song that i download or rip into my media player becomes corrupt. at the last 20 second mark of every song it skips. it only happens if i play the song using the media...
3
by: hurricane_number_one | last post by:
I want to be able to play/pause/next/back the tracks in whatever media player app is running. So if iTunes is running, it will receive those commands, if Windows Media Player is, it will receive...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.