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

AxMediaPlayer and URLs

Anyone know how to get AxMediaPlayer to play a URL? I thought it would be
straight-forward, but this isn't working. Any help greatly appreciated.

AxMediaPlayer1.AutoStart = False

AxMediaPlayer1.FileName = "http://radio.yourstation.com"

AxMediaPlayer1.Play()

Thanks

FF
Nov 20 '05 #1
6 4180
Hello,

"FastForward" <ff@dev.null> a écrit dans le message de
news:10****************@spandrell.news.uk.clara.ne t...
Anyone know how to get AxMediaPlayer to play a URL? I thought it would be
straight-forward, but this isn't working. Any help greatly appreciated.

AxMediaPlayer1.AutoStart = False

AxMediaPlayer1.FileName = "http://radio.yourstation.com"
It seems that http://radio.yourstation.com isn't a valid file or not ? like
..../myfile.asf ... ?

AxMediaPlayer1.Play()

Thanks


Bismark
Nov 20 '05 #2
That's why it's not working - do you know how I can set AxMediaPlayer1. to
TargetURL (or similar?). Manipulating .FileName would also work, but I'm
stuck...

Cheers!

N
"Bismark Prods" <tr*******@vtxnet.ch> wrote in message
news:ca**********@newshispeed.ch...
Hello,

"FastForward" <ff@dev.null> a écrit dans le message de
news:10****************@spandrell.news.uk.clara.ne t...
Anyone know how to get AxMediaPlayer to play a URL? I thought it would be straight-forward, but this isn't working. Any help greatly appreciated.

AxMediaPlayer1.AutoStart = False

AxMediaPlayer1.FileName = "http://radio.yourstation.com"
It seems that http://radio.yourstation.com isn't a valid file or not ?

like .../myfile.asf ... ?

AxMediaPlayer1.Play()

Nov 20 '05 #3
> It seems that http://radio.yourstation.com isn't a valid file or not ?
like
.../myfile.asf ... ?

p.s. I want to play streamed radio stations, so there isn't a default
filename to call in AxMediaPlayer. I know WMP does it with OpenLocation, so
anyone know the control name?

Cheers

N
Nov 20 '05 #4
I think if you try to do a "DownloadFile" on this URI ... you certainly
could know the filename used to stream the radio ...and then you could try
to put this filename to your method of AxMediaPlayer and then i would works
i HOPE...

Bismark

"FastForward" <ff@dev.null> a écrit dans le message de
news:10****************@nnrp-t71-02.news.uk.clara.net...
It seems that http://radio.yourstation.com isn't a valid file or not ? like
.../myfile.asf ... ?

p.s. I want to play streamed radio stations, so there isn't a default
filename to call in AxMediaPlayer. I know WMP does it with OpenLocation,

so anyone know the control name?

Cheers

N

Nov 20 '05 #5
"Bismark Prods" <tr*******@vtxnet.ch> wrote in message
news:ca**********@newshispeed.ch...
I think if you try to do a "DownloadFile" on this URI ... you certainly
could know the filename used to stream the radio ...and then you could try
to put this filename to your method of AxMediaPlayer and then i would works i HOPE...


Thanks but .DownloadFile isn't a member of AxMediaPlayer :(

FF


Nov 20 '05 #6
I know that !!! But it's a way to know the name of the file used by default
by the web site to display the music !!!

Try this ... Make research and find the solution !

Bismark

"FastForward" <ff@dev.null> a écrit dans le message de
news:10**************@sabbath.news.uk.clara.net...
"Bismark Prods" <tr*******@vtxnet.ch> wrote in message
news:ca**********@newshispeed.ch...
I think if you try to do a "DownloadFile" on this URI ... you certainly
could know the filename used to stream the radio ...and then you could try to put this filename to your method of AxMediaPlayer and then i would

works
i HOPE...


Thanks but .DownloadFile isn't a member of AxMediaPlayer :(

FF

Nov 20 '05 #7

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

Similar topics

1
by: phpkid | last post by:
Howdy I've been given conflicting answers about search engines picking up urls like: http://mysite.com/index.php?var1=1&var2=2&var3=3 Do search engines pick up these urls? I've been considering...
26
by: Howard Brazee | last post by:
I would like to click on a URL of a html document that will open several URLs at once for me. Does someone have an example of a html document that will do this?
1
by: DM | last post by:
I'm working on a site with more than 1700 HTML files. We'll be moving files around on this site a lot because we're reorganizing it. I'm thinking of writing a script that will convert all URLs in...
10
by: jflash | last post by:
Hello all, I feel dumb having to ask this question in the first place, but I just can not figure it out. I am wanting to set my site up using dynamic urls (I'm assuming that's what they're...
0
by: =?Utf-8?B?Smlt?= | last post by:
I just inherited a project that uses a AxMediaPlayer control. The project was building fine on the developer's computer, and I no longer have access to that computer or the developer. When I...
9
by: Salve =?iso-8859-1?Q?H=E5kedal?= | last post by:
What is the best regular expression for finding urls in plain text files? (By urls I mean http://www.something.com, but also www.something.com, or salve@somewhere.com) Salve
2
by: Simon Wigzell | last post by:
I have inherited a database driven website that comes with a table of image links. The images are scattered all of the internet and there are thousands of them. I would like to write an asp script...
3
by: WebCM | last post by:
How to apply nice URL-s into CMS? 1. Should we use nice urls for every page? 2. Do we need to put a FULL path into <a href="">? 3. What is faster and better? a) 10 rules in .htaccess...
4
by: Guy Macon | last post by:
As a personal learning experience with limited practical use, I have been doing some experiments with using .htaccess to redirect mis-typed URLs to a preferred canonical form. I have set up a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
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...
0
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...
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...

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.