467,886 Members | 1,809 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,886 developers. It's quick & easy.

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
  • viewed: 1560
Share:
12 Replies
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bruce Bon | last post: by
2 posts views Thread by SivaprakashShanmugam | last post: by
5 posts views Thread by ACaunter | last post: by
5 posts views Thread by drabee | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.