Preventing WiMP from being launched
- From: Dave Brown <key88sf@xxxxxxxxx>
- Date: Thu, 22 Nov 2007 22:51:18 -0800 (PST)
My app hosts a web browser control, and if the user clicks on a link
which launches a video (say a streaming ASX or MMS link), I get
Windows Media Player launched as an external app. I'd like to be able
to handle this myself -- so I want my program to both prevent the
launching of media player, and also grab the URL that was fed to media
player and do something with it.
It's not enough to just look at the clicked url and check for a WMV or
ASX extension. A lot of pages simply return a MIME type of video/x-ms-
asf, which then launches the media player. I need to handle these
events too.
Does anyone know how to do this? I already implement IServiceProvider,
so I can implement another interface if needed when
IServiceProvider::QueryService() is called.
Thank you!
.
- Follow-Ups:
- Re: Preventing WiMP from being launched
- From: Igor Tandetnik
- Re: Preventing WiMP from being launched
- Prev by Date: Re: Preventing QuickTime from handling MP3 and other media links
- Next by Date: Re: Preventing WiMP from being launched
- Previous by thread: Obtaining the Favicon without downloading?
- Next by thread: Re: Preventing WiMP from being launched
- Index(es):
Relevant Pages
|