Hi All,
On my web server during an user request I generate dynamicaly a small
wav file and then send it to the browser by calling to:
Response.Transm itFile ( eventFileName );
The problem is that browser on a client machine opens automatically the
media player.
Is there a way to eliminate this behaviour ?
And another question:
Is there better way to implement this flow?
Thank you very much!!
Vladislav 3 1478
Set the repsonse content-type to octetstream. That should take care of it.
"vladislavf " <vl**********@n ice.comwrote in message
news:11******** *************@v 61g2000cwv.goog legroups.com...
Hi All,
On my web server during an user request I generate dynamicaly a small
wav file and then send it to the browser by calling to:
Response.Transm itFile ( eventFileName );
The problem is that browser on a client machine opens automatically the
media player.
Is there a way to eliminate this behaviour ?
And another question:
Is there better way to implement this flow?
Thank you very much!!
Vladislav
This free media player control should take care of the details for you, and
the source code is free too in case you need to make any ajustments. http://SteveOrr.net/articles/StreamingMedia.aspx
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"vladislavf " <vl**********@n ice.comwrote in message
news:11******** *************@v 61g2000cwv.goog legroups.com...
Hi All,
On my web server during an user request I generate dynamicaly a small
wav file and then send it to the browser by calling to:
Response.Transm itFile ( eventFileName );
The problem is that browser on a client machine opens automatically the
media player.
Is there a way to eliminate this behaviour ?
And another question:
Is there better way to implement this flow?
Thank you very much!!
Vladislav
Thank you very much!
Steve C. Orr [MVP, MCSD] wrote:
This free media player control should take care of the details for you, and
the source code is free too in case you need to make any ajustments.
http://SteveOrr.net/articles/StreamingMedia.aspx
--
I hope this helps,
Steve C. Orr, MCSD, MVP http://SteveOrr.net
"vladislavf " <vl**********@n ice.comwrote in message
news:11******** *************@v 61g2000cwv.goog legroups.com...
Hi All,
On my web server during an user request I generate dynamicaly a small
wav file and then send it to the browser by calling to:
Response.Transm itFile ( eventFileName );
The problem is that browser on a client machine opens automatically the
media player.
Is there a way to eliminate this behaviour ?
And another question:
Is there better way to implement this flow?
Thank you very much!!
Vladislav
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ron Provost |
last post by:
Hello,
I'm developing a piece of software to assist illiteraate adults to learn to
read. I'm trying to figure out how, if possible, to make audio playback
asynchrnous but still controllable. I'm using python 2.4 with pymedia on
XP. I started out with the example in the tutorials section of the pymedia
website. The pymedia docs imply to me that playback using Output's play()
method should already be asynchronous and controllable. I...
|
by: Brett Hofer |
last post by:
Does anyone know of a good component for audio(.WAV) playback that supports
double-speed/normal/half-speed? I need to provide this control
in an .aspx page and control it using C#.
I have tried using the DirectX playback but it is very limited and doesn't
support variable speed from what I have seen. I've also read
postings that say to avoid it... Any suggestions would be appreciated :)
Thanks,
Brett++
|
by: ACaunter |
last post by:
Hi all,
I am in desperate need of being able to have the users of my asp.net site to
be able to make a recording from their computer mic, and save that audio on
my server.. the user should be able to play back the recording with fast
forward, rewind, and pause features...
If you can provide any free code that could do this for me, i will always
have a kind spot in my heart for you
thank you so much
|
by: hzgt9b |
last post by:
Using VS2003, VB.NET,
BACKGROUND
I have a window forms based application that will be distributed and
executed directly from CD media. The app contains a TreeView control and a
WebBroswer (AxSHDocVw.AxWebBrowse) control. The TreeView is populated with
nodes that when clicked play an audio clip that is stored on the CD and
navigate the browser control to a specified web URL (also stored on the CD).
All the web URLs are html documents...
|
by: hzgt9b |
last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0,
BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with
nodes that when clicked play an audio clip from specified local or web URL
and navigate the browser control to a specified local or web URL. Audio
playback uses as hidden media player object AxWMPLib.AxWindowsMediaPlayer).
| |
by: hzgt9b |
last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0,
BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with
nodes that when clicked play an audio clip from specified local or web URL
and navigate the browser control to a specified local or web URL. Audio
playback uses as hidden media player object AxWMPLib.AxWindowsMediaPlayer).
|
by: anil.rita |
last post by:
When the user chooses an AV file to play, based upon the type of file,
I want to use the default installed media player to play it.
I am wondering if this is a good way - any alternatives, suggestions or
improvements?
if( wmv file)
document.write("<OBJECT id=Player
classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354"
width="479">
|
by: =?Utf-8?B?U2F0eWE=?= |
last post by:
My PC crashed and I have installed windows XP SP2 again. Now audio is
distored (it runs too fast) with all applications like Windows Media Player,
Real Player, WIN DVD player, CD player. etc. What would solve this?
|
by: Ryan Liu |
last post by:
Hi,
I want to play Audio/Video in my C# application(standlalone, not web
applicatoin). The source of multimedia may in different formats and decided
by the end user, which I have no control.
My question is -- which is the best approach to add multimedia capability to
my c# application, to support most possible formats, and make it easiest for
the end user(e.g. does not need convert before play it)?
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |