PDA

View Full Version : 1 audio file play through all pages?


99t1
03-28-2006, 03:24 AM
Hi,

I'm a newbie with dreamweaver. I managed to embed an audio file in a page but I want the same file to play when you first hit the index page AND keep playing through all other page navigation???

I recall something about putting the entire site or just the pages inside other frames and then linking the 1 audio file???

Any help would be appreciated.

Morgan

chriskq
03-28-2006, 06:26 AM
i got around this problem by using an xml file (that is a playlist) that connects to a little flash player (with buttons for next, previous and stop), all wrapped up in a pop-up window that opens automatically when the index page is loaded.
that way users have the option of closing the window (in effect = turning off the audio) or keeping it on whilst they browse.

Remember that most users are annoyed with audio in a website. most prefer their own source.

from what i kno so far, there is no easy way to make the audio continue playing from where it left off once you navigate to a new page within your site.. (unless your whole site is made in Flash).

let us kno if this sounds like what u need and i can prolly provide more info.
BAM!

domedia
03-28-2006, 01:49 PM
To turn the site into a frames site only in order to play music for people (that likely don't want it), is a declaration of failure, from a usability standpoint.. :-/

99t1
04-04-2006, 01:49 AM
no failure here...just trying to make my client happy. Here is how it was done.


Make a two frame frameset. Make one of the frames have a height of 0px, and
the other frame have a flexible height. Load your sound file into the 0px
frame, and your website's index file into the other.

MAKE SURE YOU PUT A SOUND OFF BUTTON ON YOUR SITE!

--

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<meta http-equiv="imagetoolbar" content="no" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
<meta name="robots" content="index,follow" />
</head>

<frameset rows="*,0" frameborder="no" border="0" framespacing="0">
<frame src="contentFrame.html" name="mainFrame" id="mainFrame"
title="mainFrame" />
<frame src="musicFrame.html" name="bottomFrame" scrolling="No"
noresize="noresize" id="bottomFrame" title="musicFrame" />
</frameset>
<noframes><body>
</body>
</noframes></html>

You will have three files -

1. This frameset file.
2. contentFrame.html
3. musicFrame.html

domedia
04-04-2006, 02:44 PM
Failure from a usability standpoint I said.
It doesn't mean it can't be a success for the client, depending on how how he measures success ;)

chriskq
04-05-2006, 05:03 AM
Hey 99t1,
do u mind showing us ur final outcome when its done/ready. Im interested in how it will look and how you achived that outcome.
I was never told anything about frames and basically told to not go near them, as whatever ur trying to do in frames you can do in talbes or divs and reach a wider audience... This is what i was told, im not preaching that btw.

so yea would love to see the final version.
Thanks
Chris