Continous music loop across all pages

Good Morning,
I am developing a website for a local retailer who advertises heavily on television and already has a theme song.
I want to load the theme song once and have it play continously across all pages, I do not want the theme song to restart with every page load.
Is there a trick at the host root to load it above the content or tie it to the domain somehow?  Where do I implement the music loop/player?
Thanks in advance,
JM

Hi
I do not know anyone who has done this for a music/audio file, but if you use flash as your encoder/player then the code for the basic functions in actionscript would probably be a variation of the following -
var turnOnTime=getTimer();
///function(play).... then what ever code you need to play the music....
var turnOffTime=getTimer();
///function(stopSetCookie)... set the cookie value
var elapsedTime=turnOffTime=turnOnTime;
It would require that javascript was used for preventing the default click action, (jQuery is probably the easiest for this) then passing control to the actionscript to perform the above as required. Once the actionscript is completed as required, control would be sent back to the javascript and the new page would be loaded, where the process would be reversed.
You may be better asking in the flash forum for more info, but as I have done this for large video files, (in flv format) it should also be possible for music/audio files.
PZ

Similar Messages

  • Hiding SWF Sound Control & Spanning Loop Across Site Pages

    Hi All,
    New here and first post with two questions:
    Is it possible to hide the play/stop SWF sound control on a
    page? I have one on a page and the client doesn't want it visible
    on the page. They want the music loop to always play. I have looked
    and can't find a way to set its property to
    "invisible" or anything like that.
    Second question, related somewhat to the first. They want the
    loop to play across all pages on a site and not be interrupted or
    restarted on page changes (which would happen if I embedded on
    every page). Is that possible? Just a thought...could I put it in a
    CSS sheet that applies to the entire site? Doubt it...but thought
    it would be a desireable goal ;)

    I seem to have the same problem. The sound would play in some programs, would not in others, and in all of them when I stop playing, it would repeat the last half second endlessly. Could anybody shed some light on this problem?
    in dmesg:
    AC'97 1 does not respond - RESET
    AC'97 1 access is not valid [0xffffffff], removing mixer.
    ali mixer 1 creating error.
    and in errors.log:
    May 13 09:14:22 aconarch ali15x3_smbus 0000:00:06.0: ALI15X3_smb region uninitialized - upgrade BIOS or use force_addr=0xaddr
    May 13 09:14:22 aconarch ali15x3_smbus 0000:00:06.0: ALI15X3 not detected, module not inserted.
    May 13 09:14:22 aconarch AC'97 1 access is not valid [0xffffffff], removing mixer.
    May 13 09:14:22 aconarch ali mixer 1 creating error.
    EDIT: 'lsmod | grep snd'
    snd_seq_oss 29056 0
    snd_seq_midi_event 6528 1 snd_seq_oss
    snd_seq 46800 4 snd_seq_oss,snd_seq_midi_event
    snd_seq_device 6796 2 snd_seq_oss,snd_seq
    snd_pcm_oss 38816 0
    snd_mixer_oss 14336 1 snd_pcm_oss
    snd_ali5451 19212 1
    snd_ac97_codec 95396 1 snd_ali5451
    ac97_bus 2432 1 snd_ac97_codec
    snd_pcm 68484 3 snd_pcm_oss,snd_ali5451,snd_ac97_codec
    snd_timer 19076 2 snd_seq,snd_pcm
    snd 44388 11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
    soundcore 6496 1 snd
    snd_page_alloc 7816 1 snd_pcm
    Last edited by bender02 (2007-05-13 15:41:04)

  • Is it possible to put a watermark across all pages of a Numbers document (i.e.:  DRAFT).  Thanks.

    Is it possible to put a watermark across all pages of a Numbers document (i.e.:  DRAFT)?  Thanks.

    You can include a water mark when priting by selecting the "Watermark" section from the print dialog.:
    If this watermark feature is part of the printer driver and you don;t have this feature you can add a text box, then rotate the box 45 deg, make the font the color and texture you want, then copy and paste it to each page of you document:
    You can place this text below ar above other content as you see fit by using the menu item "Arrange > Bring To Front" or "Arrange > Send To Back"

  • How do I globally change the font across all pages in a multi-page PDF document

    I have a 500 page document. I suceeded in changing only the font on the first page using Acrobat Pro and selecting "Edit Text and Images", selecting "All" on the first page and changing the font.  It worked perfectly.  Now I want to apply that font change to the remaining 499 pages. Any ideas?

    Sorry Bill, not how it works. You can select text across a page boundary using the normal multi-select tool for copying, but you cannot edit across a page boundary. If you try to activate the ETI tool from the Content Editing panel or use the context menu "Edit Text" item, Acrobat will trim the selection to the current page only.
    The previous two responses are correct - you must either repeat the edit by hand on every page, or go back to the original document and make the changes there (which is the expected workflow for such a drastic alteration).

  • Playing background music across all pages in an application

    I want to have background music playing as people use my application but I want to give them the option to turn it off. My solution is to have a button on my homepage that the user clicks to start background music. The code that launchs the music and a small player is placed on page 29 in an HTML region: e.g.
    <embed src="#IMAGE_PREFIX#wakingdreams.mp3" autostart="true" loop="true"
    width=200 height=60 controls="smallconsole" > </embed>
    This allows the user to stop or pause the music using a little player. My solution is to have the control in a small window in the corner but... If I use this code on the button that launches the player
    javascript:popupURL('f?p=&APP_ID.:29:&SESSION.');
    I don't know how to resize the player window so that most of my home page is visible and easy to navigate to.
    If I use the following code on the launch button then my home page window is blank with the word "[OBJECT]" stuck in the left top corner but the player and it's window is the correct size.
    javascript:window.open('f?p=&APP_ID.:29:&SESSION.'
    ,'DFK','height=35,width=70,toolbar=no,menubar=no,scrollbar=no,resizable=no,location=no,directories=no,minimize=no,maximize=no');
    any suggestions one way or the other?...or is there a simpler solution?
    any help appreciated
    regards
    Paul P

    Paul,
    Using
    javascript:popUp2('f?p=&APP_ID.:29:&SESSION::NO:::', 200, 200);
    will size the pop-up window to whatever you want. Can you not use frames instead?
    Denes Kubicek

  • Loop through all fields in a (2 page) form?

    Is it possible to do it in one go?
    suppose you have fields in 2 pages.. (2 subforms)
    would you have to write a script that would check for all fields in page 1
    and another to check for all fields in subform 2?
    or can you just loop through the parent of the 2 subforms?.. (the aim would be to check that all required fields have been filled in or are not equal to their default value)
    thank you in advance

    You can certainly write a script that'll find all fields on all pages and perform some action on them.
    I've included a sample form which contains two pages with fields on them. At the top of the first page, there's a "Find Fields" button which, when pressed, populates the list box next to it with the names of each field found across all pages. Clicking on an item in the list box will then set focus to that field.
    The script uses a recursive function called GetFieldNames in a Script Object called "Utils". In the function, lines 21 - 25 are as follows:
    else if (oNode.className == "field")
    // oNode is a field
    sFieldNames += (sFieldNames.length > 0 ? "\n" : "") + oNode.name;
    If you wanted to verify that all mandatory fields were filled, you could change them to this:
    else if (oNode.className == "field")
    // oNode is a field
    if (oNode.mandatory == "error" && (oNode.rawValue == null || oNode.rawValue.length == 0))
      sFieldNames += (sFieldNames.length > 0 ? "\n" : "") + oNode.name;
    That would find only fields that are required and haven't been filled accross all pages.
    Stefan
    Adobe Systems

  • Open all pages in a PDF and save them as sequential files

    I'm trying to make a script that will open all pages in a multi-page PDF and save them as sequential files, but I have had no luck with the simple script in the "Adobe Ilustrator CS5 Reference: JavaScript".
    there example to open a PDF to a designated page does not work for me in Illustrator CS 5.
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    var fileRef = filePath;
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    if anyone can get me on the right path it would be appreciated.

    Hi DuanesSFK,
    you can open a PDF page on this way (tested with CS3 and 5):
    //OpenPDFpage2.jsx
    var uILevel = userInteractionLevel; 
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    //var fileRef = filePath;
    var fileRef = File("~/Desktop/YourOwn.pdf");
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    app.userInteractionLevel = uILevel;
    To open all pages you have to loop through all pages etc.
    Easier for you:
    Search here in forum for the "open pdf" script  (I don't know the exactly name, it was written by CarlosCanto, ) This should always work for you.
    Have fun

  • One music track running through all pages on iWeb

    Any tips on how to have one music track playing all the way through a site?
    Obviously I can get a track running constantly on one page and starting automatically on opening, but struggling to know how to get the same effect across the whole site.
    Thanks!

    Welcome to the Apple Discussions. You can do it with an HTML snippet and IFrame code like I did in this test site: Helper Site. The darker area is the page with the music and the HTML snippet which embeds the other pages into the first page.
    OT

  • TS2972 I cannot seem to get all of my music shared across the network from my MacBook Pro to my iPad. This was not an issue a few days ago. Can anyone help?

    I cannot seem to get all of my music shared across the network from my MacBook Pro to my iPad. This was not an issue a few days ago. I can see all my songs if sorted that way, but if i sort by artist, only a few of them are present. Can anyone help or have any insight?

    Well I didn't think of it before, but I logged out of my apple ID othe iPad's home sharing. The I logged back in and it worked. It's a little weird, but I will take it. Thanks!

  • I need to create 4 A2 boards that print adjacent to one another with a photo image running across all 4 boards.How do I set up the pages so I can see the whole composition together , then print the seperate A2 boards.Do I use illustrator (C3) or Indesign?

    I need to create 4 @ A2 boards that print adjacent to one another (all landscape format) with a photo image running across all 4 boards.How do I set up the pages so I can see the whole composition together , then print the seperate A2 boards? Is it best to use Illustrator(CS3) or Indesign?
    Thanks.

    Re: I need to create 4 A2 boards that print adjacent to one another with a photo image running across all 4 boards.How do I set up the pages so I can see the whole composition together , then print the seperate A2 boards.Do I use illustrator (C3) or Indesign
    If possible, please try Indesign CS 4.

  • I have a Iphone4s and just brought a new Iphone 6 when I pluged the the new phone all my data wastransfered exepet for my ring tones all other info photos,music and contacts all downloaded ok but no ring tone how can i get them to come across to the

    I have a Iphone4s and just brought a new Iphone 6 when I pluged the the new phone all my data wastransfered exepet for my ring tones all other info photos,music and contacts all downloaded ok but no ring tone how can i get them to come across to the new phone

    This covers all the process
    Transfer content from an iPhone, iPad, or iPod touch to a new device - Apple Support

  • Actually I have problem in adding music to be played across all folios, the problem happened when I just lock the ipad and open it, the publication is still opened and i can navigate it but the music is stopped, and cann't be continued. how can I fix it t

    Actually I have problem in adding music to be played across all folios, the problem happened when I just lock the ipad and open it, the publication is still opened and i can navigate it but the music is stopped, and cann't be continued. how can I fix it to be continued after opening the ipad and continue navigating the digital publication.

    yes,thank you for ur answer,  but the owner of the publication which I working on said for  me that this is a problem, and we can't submit the digital publication if I can't fix it.
    Is their any solution to make the audio run after the device is unlocked.

  • How do I turn off Skype highlighting, so it doesn't automatically do it when I put a phone number on our website through Plone? The code gets repeated so it says "Skype highlighting" all across the page, and it's a pain to have to delete them all.

    See question above. Our website hosts think it's something to do with Firefox since it doesn't happen for them. When I go into a web page to update information, if it has a phone number, after I make an update, the words "Skype highlighting" extend all across the page. It's frustrating.

    Do you have the Skype extension for Firefox installed?
    That probably opens happens for users who have the Skype extension installed.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • How can i print all pages instead of only the first page using firefox

    How can i set firefox to print off my mac to my lexmark printer all pages i want. It is only printing the first page as of about 4 days ago
    == This happened ==
    Every time Firefox opened
    == about 4 days ago. it works ok on safari!

    Then duplicate that button to pages 3-23.
    To do that effectively go to Form Edit mode, right-click the button and select Duplicate Across Pages.

  • Infinite loop creating new page due to column header overflow.

    i am getting an error and some pages "Infinite loop creating new page due to column header overflow. " --
    using report builder 9, i have a fairly simple report - that contains 4 subreports.
    for some pages i get the error - it seems if there is more data than would fit on 1 page.
    smaller pages work fine.
    the subreports are all simple queries and dumps....
    containing page header, column header, detail sections.
    page header has just a text bar of the name of the section.
    column header has the field names
    detail section has the data - 1 row for each row in the recordset.
    nothing i do seems to change getting "Infinite loop creating new page due to column header overflow. " on a page with more than 15-20 records returned.
    any ideas would be appreciated.

    Try these links if you are still having the issue:
    http://community.jaspersoft.com/questions/543302/receive-infinite-loop-creating-new-page-d ue-column-header-overflow-exception
    http://community.jaspersoft.com/questions/500177/infinite-loop-due-page-header-overflow

Maybe you are looking for

  • How do I do to conect an Emac with a Mac Book Pro Mid 2009

    I want to conect my Emac with my Mac Book Pro Mid 2009 in order to share and move files. I bought a firewire cable 9 pins to 6 pins and conected both computers but I am unable to see the hard drives and move files.

  • Not synching :S

    My contacts wont synch to icloud even though my itunes says they are...?

  • Setting and updating Date field in a jsp form

    Hi: I have a form (in jsp) where in I have a field for Date. The Date is entered in the form: 12/18/2002. I using beans to retrieve the form values and then pass to the program. THe date field is passed as String to the bean. The program changes the

  • How to link the menu to the function?

    When edit menu,I don't know how to link item of menu to the Labview Function,means the items of the menu have no use ,can't achieve any function. Please tell me the experts ,Thanks !

  • Issues saving Stamps Acrobat 9

    I have a client who uses Adobe Acrobat 9.  When she creates a stamp, it would used to save it and she could use it the next day.  Now, starting about 3 months ago according to the user, when she reboots her machine, it deletes all stamps she previous