473,387 Members | 1,903 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,387 software developers and data experts.

audio and IE 7 security

I don't have IE 7 but is it true that IE 7 prevents javascript from
playing audio without the user first responding positively to a dialog box?

I have an elearning app that uses audio which is controlled by a simple
player. I know it would annoy the client if the user had to click a
'play' button and then also click 'yes' in a dialog box.

Andrew Poulos
Apr 18 '07 #1
12 1727
Andrew Poulos said the following on 4/17/2007 8:55 PM:
I don't have IE 7 but is it true that IE 7 prevents javascript from
playing audio without the user first responding positively to a dialog box?

I have an elearning app that uses audio which is controlled by a simple
player. I know it would annoy the client if the user had to click a
'play' button and then also click 'yes' in a dialog box.
URL to a test page to find out? I don't recall ever being asked before
to click a button to have audio. The only issue I do remember though is
with the EOLAS problem and it's "solution".

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 18 '07 #2
Andrew Poulos wrote:
I don't have IE 7 but is it true that IE 7 prevents javascript from
playing audio without the user first responding positively to a dialog box?

I have an elearning app that uses audio which is controlled by a simple
player. I know it would annoy the client if the user had to click a
'play' button and then also click 'yes' in a dialog box.

Andrew Poulos
This may be a "mark of the web" issue.
Mick
Apr 18 '07 #3
Randy Webb wrote:
Andrew Poulos said the following on 4/17/2007 8:55 PM:
>I don't have IE 7 but is it true that IE 7 prevents javascript from
playing audio without the user first responding positively to a dialog
box?

I have an elearning app that uses audio which is controlled by a
simple player. I know it would annoy the client if the user had to
click a 'play' button and then also click 'yes' in a dialog box.

URL to a test page to find out? I don't recall ever being asked before
to click a button to have audio. The only issue I do remember though is
with the EOLAS problem and it's "solution".
I emailed a sample to a friend with IE 7 and he said that it ran fine
locally. I'll try to find somewhere to upload it and I'll let everyone
know the result.

Andrew Poulos
Apr 19 '07 #4
"Andrew Poulos" <ap*****@hotmail.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
Randy Webb wrote:
>Andrew Poulos said the following on 4/17/2007 8:55 PM:
>>I don't have IE 7 but is it true that IE 7 prevents javascript from playing audio
without the user first responding positively to a dialog box?

I have an elearning app that uses audio which is controlled by a simple player. I know
it would annoy the client if the user had to click a 'play' button and then also click
'yes' in a dialog box.

URL to a test page to find out? I don't recall ever being asked before to click a
button to have audio. The only issue I do remember though is with the EOLAS problem and
it's "solution".
I emailed a sample to a friend with IE 7 and he said that it ran fine locally. I'll try
to find somewhere to upload it and I'll let everyone know the result.
Only because I am keenly interested in this problem, I can host a page. If interested
just let me know and I'll create an FTP account for you to upload your pages to, and the
URL to them.

Otherwise, hurry up and sign up for GeoCities or something.

-Lost
Apr 20 '07 #5
-Lost said the following on 4/20/2007 1:31 AM:
"Andrew Poulos" <ap*****@hotmail.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
>Randy Webb wrote:
>>Andrew Poulos said the following on 4/17/2007 8:55 PM:
I don't have IE 7 but is it true that IE 7 prevents javascript from playing audio
without the user first responding positively to a dialog box?

I have an elearning app that uses audio which is controlled by a simple player. I know
it would annoy the client if the user had to click a 'play' button and then also click
'yes' in a dialog box.
URL to a test page to find out? I don't recall ever being asked before to click a
button to have audio. The only issue I do remember though is with the EOLAS problem and
it's "solution".
I emailed a sample to a friend with IE 7 and he said that it ran fine locally. I'll try
to find somewhere to upload it and I'll let everyone know the result.

Only because I am keenly interested in this problem, I can host a page. If interested
just let me know and I'll create an FTP account for you to upload your pages to, and the
URL to them.

Otherwise, hurry up and sign up for GeoCities or something.
Geocities is the *last* place you should suggest to host a page. The JS
they insert can kill almost anything. Not to mention the ads/banners.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 20 '07 #6
"Randy Webb" <Hi************@aol.comwrote in message
news:5a********************@giganews.com...
-Lost said the following on 4/20/2007 1:31 AM:
>"Andrew Poulos" <ap*****@hotmail.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
>>Randy Webb wrote:
Andrew Poulos said the following on 4/17/2007 8:55 PM:
I don't have IE 7 but is it true that IE 7 prevents javascript from playing audio
without the user first responding positively to a dialog box?
>
I have an elearning app that uses audio which is controlled by a simple player. I
know it would annoy the client if the user had to click a 'play' button and then
also click 'yes' in a dialog box.
URL to a test page to find out? I don't recall ever being asked before to click a
button to have audio. The only issue I do remember though is with the EOLAS problem
and it's "solution".

I emailed a sample to a friend with IE 7 and he said that it ran fine locally. I'll
try to find somewhere to upload it and I'll let everyone know the result.

Only because I am keenly interested in this problem, I can host a page. If interested
just let me know and I'll create an FTP account for you to upload your pages to, and
the URL to them.

Otherwise, hurry up and sign up for GeoCities or something.

Geocities is the *last* place you should suggest to host a page. The JS they insert can
kill almost anything. Not to mention the ads/banners.
Good point. Jeez, I totally forgot about that.

Nevermind, Andrew. Post here and I'll hook up with some ad-free, zero-insertion hosting
(sans CGI as well though).

-Lost
Apr 20 '07 #7
-Lost wrote:
"Randy Webb" <Hi************@aol.comwrote in message
news:5a********************@giganews.com...
>-Lost said the following on 4/20/2007 1:31 AM:
>>"Andrew Poulos" <ap*****@hotmail.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
Randy Webb wrote:
Andrew Poulos said the following on 4/17/2007 8:55 PM:
>I don't have IE 7 but is it true that IE 7 prevents javascript from playing audio
>without the user first responding positively to a dialog box?
>>
>I have an elearning app that uses audio which is controlled by a simple player. I
>know it would annoy the client if the user had to click a 'play' button and then
>also click 'yes' in a dialog box.
URL to a test page to find out? I don't recall ever being asked before to click a
button to have audio. The only issue I do remember though is with the EOLAS problem
and it's "solution".
>
I emailed a sample to a friend with IE 7 and he said that it ran fine locally. I'll
try to find somewhere to upload it and I'll let everyone know the result.
Only because I am keenly interested in this problem, I can host a page. If interested
just let me know and I'll create an FTP account for you to upload your pages to, and
the URL to them.

Otherwise, hurry up and sign up for GeoCities or something.
Geocities is the *last* place you should suggest to host a page. The JS they insert can
kill almost anything. Not to mention the ads/banners.

Good point. Jeez, I totally forgot about that.

Nevermind, Andrew. Post here and I'll hook up with some ad-free, zero-insertion hosting
(sans CGI as well though).
Someone emailed me with a kind offer of some web space, and I've emailed
them a simple test piece to upload.

Andrew Poulos
Apr 21 '07 #8
>>>>>Andrew Poulos said the following on 4/17/2007 8:55 PM:
>>>>>>I don't have IE 7 but is it true that IE 7 prevents javascript
>>from playing audio without the user first responding positively
>>to a dialog box?
Ok, a preliminary report is in. I'm using the following code to include
the MP3 in my web page:

<object type='audio/mpeg'
id='objmedia0'
style='position:absolute; left:0px; top:0px;'
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'

codeBase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715'
width='100'
height='100'>
<param name='FileName' value='sample.mp3'>
<param name='AutoStart' value='0'>
<param name='ShowControls' value='1'>
</object>

IE 7 puts a yellow warning dialog across the top of the browser window,
warning that an ax control wants to run. You need to click this dialog
for a confirmation dialog to appear. I don't yet know if this is a once
off thing or something a user needs to do every session.

Maybe I should sidestep this by using a small SWF to play audio???

Andrew Poulos
Apr 21 '07 #9
Andrew Poulos said the following on 4/20/2007 11:01 PM:
>>>>>>Andrew Poulos said the following on 4/17/2007 8:55 PM:
>>>I don't have IE 7 but is it true that IE 7 prevents javascript
>>>from playing audio without the user first responding positively
>>>to a dialog box?

Ok, a preliminary report is in. I'm using the following code to include
the MP3 in my web page:

<object type='audio/mpeg'
id='objmedia0'
style='position:absolute; left:0px; top:0px;'
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'

codeBase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715'

width='100'
height='100'>
<param name='FileName' value='sample.mp3'>
<param name='AutoStart' value='0'>
<param name='ShowControls' value='1'>
</object>

IE 7 puts a yellow warning dialog across the top of the browser window,
warning that an ax control wants to run. You need to click this dialog
for a confirmation dialog to appear. I don't yet know if this is a once
off thing or something a user needs to do every session.
It depends on the security settings of the user and whether they choose
to prompt, allow or deny ActiveX as to whether they are going to have to
click it every time or not.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 21 '07 #10
"Andrew Poulos" <ap*****@hotmail.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
-Lost wrote:
>"Randy Webb" <Hi************@aol.comwrote in message
news:5a********************@giganews.com...
>>-Lost said the following on 4/20/2007 1:31 AM:
"Andrew Poulos" <ap*****@hotmail.comwrote in message
news:46***********************@per-qv1-newsreader-01.iinet.net.au...
Randy Webb wrote:
>Andrew Poulos said the following on 4/17/2007 8:55 PM:
>>I don't have IE 7 but is it true that IE 7 prevents javascript from playing audio
>>without the user first responding positively to a dialog box?
>>>
>>I have an elearning app that uses audio which is controlled by a simple player. I
>>know it would annoy the client if the user had to click a 'play' button and then
>>also click 'yes' in a dialog box.
>URL to a test page to find out? I don't recall ever being asked before to click a
>button to have audio. The only issue I do remember though is with the EOLAS problem
>and it's "solution".
>>
I emailed a sample to a friend with IE 7 and he said that it ran fine locally. I'll
try to find somewhere to upload it and I'll let everyone know the result.
Only because I am keenly interested in this problem, I can host a page. If
interested just let me know and I'll create an FTP account for you to upload your
pages to, and the URL to them.

Otherwise, hurry up and sign up for GeoCities or something.
Geocities is the *last* place you should suggest to host a page. The JS they insert
can kill almost anything. Not to mention the ads/banners.

Good point. Jeez, I totally forgot about that.

Nevermind, Andrew. Post here and I'll hook up with some ad-free, zero-insertion
hosting (sans CGI as well though).
Someone emailed me with a kind offer of some web space, and I've emailed them a simple
test piece to upload.
http://foomanchu.com/andrew_poulos/

-Lost
Apr 21 '07 #11
"Randy Webb" <Hi************@aol.comwrote in message
news:IN********************@giganews.com...
Andrew Poulos said the following on 4/20/2007 11:01 PM:
>>>>>>>Andrew Poulos said the following on 4/17/2007 8:55 PM:
>>>>I don't have IE 7 but is it true that IE 7 prevents javascript from playing
>>>>audio without the user first responding positively to a dialog box?

Ok, a preliminary report is in. I'm using the following code to include the MP3 in my
web page:

<object type='audio/mpeg'
id='objmedia0'
style='position:absolute; left:0px; top:0px;'
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'

codeBase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715'
width='100'
height='100'>
<param name='FileName' value='sample.mp3'>
<param name='AutoStart' value='0'>
<param name='ShowControls' value='1'>
</object>

IE 7 puts a yellow warning dialog across the top of the browser window, warning that an
ax control wants to run. You need to click this dialog for a confirmation dialog to
appear. I don't yet know if this is a once off thing or something a user needs to do
every session.

It depends on the security settings of the user and whether they choose to prompt, allow
or deny ActiveX as to whether they are going to have to click it every time or not.
And, whilst I do not have IE7, I can say that IE6 requires that click on the security bar
every session.

Speaking of which, what was the setting again that made that box permanently disappear? I
thought it was "Allow active content to run in files on My Computer."

-Lost
Apr 21 '07 #12
-Lost said the following on 4/21/2007 1:59 AM:
"Randy Webb" <Hi************@aol.comwrote in message
news:IN********************@giganews.com...
>Andrew Poulos said the following on 4/20/2007 11:01 PM:
>>>>>>>>Andrew Poulos said the following on 4/17/2007 8:55 PM:
>>>>>I don't have IE 7 but is it true that IE 7 prevents javascript from playing
>>>>>audio without the user first responding positively to a dialog box?
Ok, a preliminary report is in. I'm using the following code to include the MP3 in my
web page:

<object type='audio/mpeg'
id='objmedia0'
style='position:absolute; left:0px; top:0px;'
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'

codeBase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715'
width='100'
height='100'>
<param name='FileName' value='sample.mp3'>
<param name='AutoStart' value='0'>
<param name='ShowControls' value='1'>
</object>

IE 7 puts a yellow warning dialog across the top of the browser window, warning that an
ax control wants to run. You need to click this dialog for a confirmation dialog to
appear. I don't yet know if this is a once off thing or something a user needs to do
every session.
It depends on the security settings of the user and whether they choose to prompt, allow
or deny ActiveX as to whether they are going to have to click it every time or not.

And, whilst I do not have IE7, I can say that IE6 requires that click on the security bar
every session.
That is a personal setting based on your security level setting.
Speaking of which, what was the setting again that made that box permanently disappear? I
thought it was "Allow active content to run in files on My Computer."
Tools>Internet Options>Security Tab>Custom Level Button

There is an entire section on ActiveX. I refer to it as the "Please have
my computer, I don't want any security" section.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Apr 21 '07 #13

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

Similar topics

2
by: Bruce Bon | last post by:
The class below is intended to play a Sun audio file (.au) in the background while the main thread, which is servicing a GUI, continues without impact. It doesn't work. For a sound file that...
1
by: laredotornado | last post by:
Hello, I want to play an audio file embedded on my page by clicking on an audio image and the page change to a new page. Is there a cross-browser Javascript way to do this? Right now the code I...
2
by: SivaprakashShanmugam | last post by:
Hello Can any one explain me how to send audio file to web server by using Web Services. I would like to have more security on top of it.
5
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...
5
by: drabee | last post by:
Please help 2 things: 1-I need c# code to compare 2 audio files .or any other .net code 2-code to receive bluetooth file from mobile and save it using .net code
2
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...
2
by: tiffxi | last post by:
I'm an ASP.NET newbie. I'm trying to write an audio-recording code in an ASP.Net page. I created a windows User Control that has the buttons and codes for this (it calls the winmm.dll in system32...
0
by: roopaloswal | last post by:
Hi All, I need to record audio captured from microphone to the local file system .Is it possible? I am trying to use NetConnect() to connect to local file system. But its throwing error. I...
3
by: AWW | last post by:
Using XP and VB 2005, it seemed like a good idea to save audio in the clipboard and then play it with backgroundworker. Cannot find a good Clipboard audio example anywhere - just SetAudio and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: 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
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,...

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.