home control panel register User Groups faq members
DomainsDot.net Forum Index -> alt html pub newsgroups -> Embed; Music stops when new window opens.

 
Post new topic   Reply to topic View previous topic :: View next topic  


 
Author Message
AllYou!
Guest






Sat Apr 07, 2007 1:34 am
PostPost subject: Embed; Music stops when new window opens. Reply with quote
I've used the embed tag to play a short mp3 clip when I open a page,
and if I manuall open another instance of IE, the music keeps playing
just fine.

That's what I want to happen when I also open another window from
JavaScript, but when I do that, the music stops. I don't want it to
stop. Help?


<head>
<script type="text/JavaScript"
src="styles_programs/p7popmenu.js"></script>

<SCRIPT LANGUAGE="JavaScript">
<!--
var newwindow;
function poptastic(url)
{
newwindow=window.open(url,'Journey','height=591,width=750');
}
// -->
</script>
</head>

<body>
<a href="javascript:poptastic('http://www.google.com/');">Pop it</a>
<embed src="photos/AshokenFarewell01.mp3" autostart="True" loop="True"
width="2" height="0"></embed>

</body>
Back to top

 
Author Message
Neredbojias
Guest






Sat Apr 07, 2007 12:41 pm
PostPost subject: Re: Embed; Music stops when new window opens. Reply with quote
On Fri, 06 Apr 2007 20:34:17 GMT AllYou! scribed:

Quote:
I've used the embed tag to play a short mp3 clip when I open a page,
and if I manuall open another instance of IE, the music keeps playing
just fine.

That's what I want to happen when I also open another window from
JavaScript, but when I do that, the music stops. I don't want it to
stop. Help?

Why don't you check out the standards for "embed"? Oh wait, there are no
standards. <sigh>

--
Neredbojias
He who laughs last sounds like an idiot.
Back to top

 
Author Message
Gérard Talbot
Guest






Tue Apr 10, 2007 6:50 am
PostPost subject: Re: Embed; Music stops when new window opens. Reply with quote
AllYou! wrote :

Quote:
I've used the embed tag to play a short mp3 clip when I open a page,

I don't understand what you're saying. Are you saying that you want to
automatically start an mp3 clip in your visitors' browser window as they
open your page?

Quote:
and if I manuall open another instance of IE, the music keeps playing
just fine.

That's what I want to happen

What about your visitors request? Is that a reasonable expectation for
your visitors?

when I also open another window from
Quote:
JavaScript, but when I do that, the music stops. I don't want it to
stop. Help?

Can you first make your markup code use valid code? You'll find
appropriate help in section 2.2.4.1 of
Using Web Standards in your Web Pages
http://developer.mozilla.org/en/docs/Using_Web_Standards_in_your_Web_Pages

After that, can you just post an url?

Gérard
Back to top

Display posts from previous:   
Post new topic   Reply to topic    Page 1 of 1 All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum