Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macintosh issue with background music on our website

    Hello,
    I am trying to change the background music on our website to be continuous, right now the music restarts every time you go to a new page. The webmaster who designed the website has this coding on the header page on the includes folder, he said setting it to restart with every page change was the only way we could set it up to be compatible with seo, I have had mixed information about this. Can anyone tell me how I should change this code without affecting the seo results. THANK YOU
    [code]
    <script type="text/javascript">
    var flashvars = {};
    flashvars.width = "70";
    flashvars.height = "50";
    var params = {};
    params.wmode = "transparent";
    var attributes = {};
    attributes.id = "music";
    swfobject.embedSWF("background_music.swf", "music", "70", "50", "8.0.0", true, flashvars, params, attributes);
    </script>
    [code]
    Last edited by panzer; 01-02-2011 at 03:27 PM. Reason: editing code

  • #2
    New to the CF scene
    Join Date
    Jan 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    could anyone help me please? thanks in advance!

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,243
    Thanks
    203
    Thanked 2,555 Times in 2,533 Posts
    The guy who designed your webpage is right. It is not possible to make your music play continuously as the user moves from page to page. A new page will restart the music afresh.



    All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

  • #4
    Regular Coder tpeck's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, Australia
    Posts
    884
    Thanks
    53
    Thanked 6 Times in 5 Posts
    Use a frameset. One page in the frameset is always visible and so play the sound in it.

    I suggest you offer a way to turn it off (as I do at http://aapress.com.au, but I don't require the sound on every page.)

    I used soundmanager2 which is crossbrowser, and cookies to save the user's on or off preference.
    The difference between genius and stupidity is that genius has its limits. (Albert Einstein)

  • #5
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,448
    Thanks
    11
    Thanked 598 Times in 578 Posts
    you web guy simply doesn't know how to optimize ajax delivered sites. New technologies above and way beyond robots.txt, like sitemaps.org, google analytics, REL attribs to related pages, microformats, and noscript link sections, can give you a far better SEO footprint than a an unoptimized yet static site like everyone built a few years ago.

    I would say that at one point whomever you talked to was mostly correct at some time, but that time was several years ago. Heck, google and bing execute javascript on their crawler bots so you don't even need to use the technique mentioned above for them to find your site "pages". You can make a more visible site using the new techniques than you could with just some meta tags and links like we all did a few years ago...

    Bottom line: you can now use ajax or iframes to deliver a site with constant music and search-able content.
    Last edited by rnd me; 01-03-2011 at 07:31 PM.
    my site (updated 2014/10/20)
    BROWSER STATS [% share] (2014/9/03) IE7:0.1, IE8:4.3, IE11:9.2, IE9:2.7, IE10:2.6, FF:16.8, CH:47.5, SF:7.8, NON-MOUSE:37%


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •