Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Non stop mp3 player

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #28910
    skullcrusher
    Member

    [link deleted]

    I want the mp3 flash player in the top of the site never stop playing the music while browsing other pages (inside the page). What’s the best way to do this? Iframe? Ajax?

    Thanks

    #75000
    Rob MacKay
    Participant

    The "best" way to do it is have a small pop up window that your user can open then use the player in it.

    Iframes and aJax – I would go with ajax before an iframe but both are pants really.

    As a word of advice on a user interaction front – most people when browsing the web are listening to music – so do not autoplay your site’s music when the user loads the window – because if it clashes with their music it will sound terrible and their first reaction is to close your window. This is especially relevant for a site promoting music, as the visitors would most definitely be "muso’s" (english slang for music lovers…) listening to something :)

    #75001
    skullcrusher
    Member

    Yeah, i think popup is the best way. Already implemented!

    Thanks for your help. :)

    #75020
    Rob MacKay
    Participant

    awesome :-)

    #75062
    skullcrusher
    Member

    Another question..

    Code:

    It will open the poup window every time that body is loaded, so i want to implement a function that:
    – verifies if the popup is already opened (to not reload)
    – and load-it only 1 time in one session (for the people that closed it)

    Thanks!!

    #75067
    Rob MacKay
    Participant

    I would personally let the user open the window… it can be seen as a little rude if you force it on people :)

    #75068
    skullcrusher
    Member

    Yeah, I agreed with you, but it was a feature request by the client.

    I write a little code to my question above.

    Code:
    Code:
    “;

    } else {

    echo “>”; }?>

    Its working, thanks.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.