Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » iframe around page.ss

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1 2
Go to End
Author Topic: 2653 Views
  • shox
    Avatar
    Community Member
    21 Posts

    iframe around page.ss Link to this post

    hello everyone. im making a site and i have the following problem.
    the site must have continuous music playing on the background.
    The only option i found was to use an iframe around the main .ss page so that the outer part will stay the same and only the iframe will change.

    Does anyone know another better way? if not, can someone point me where i should place the iframe?

    thanks in advance,
    harry

  • shox
    Avatar
    Community Member
    21 Posts

    Re: iframe around page.ss Link to this post

    anyone???

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: iframe around page.ss Link to this post

    Although it does not work 100 percent perfect.. You could also use something like XSPF player extended.

    It supports auto-resume and works fairly well..

    http://www.boutell.com/xspf/

  • shox
    Avatar
    Community Member
    21 Posts

    Re: iframe around page.ss Link to this post

    Thanks for the tip Fuzz10 although in my case i cant stop the playback of the music, it has to be fluent.
    If someone can tell me which page calls the main page.ss i can probably put that in an iframe and call it like that (?).
    If someone knows please share

  • Howard
    Avatar
    Community Member
    215 Posts

    Re: iframe around page.ss Link to this post

    Hi there,

    This is an interesting problem, you could do it with ajax and just change the $Content of the page but this means it would be hard to change the page type and add extra variables if at all possible.

    The iframe option could work. You create a pagetype "Player" and make your homepage this page. In the template for Player you only call the flash player and iframe for a different page which will actually hold your homepage content so the address is something like example.com/iframehome and for the pages inside the frame have the more standerd pagetype and template including all your navigation etc.... I think this would work but if others see problems then chime in

  • shox
    Avatar
    Community Member
    21 Posts

    Re: iframe around page.ss Link to this post

    Hello howardgrigg and thanks for your answer. it sounds like a logical plan. i will try it today.
    thanks

  • Fuzz10
    Avatar
    Community Member
    786 Posts

    Re: iframe around page.ss Link to this post

    I would try to avoid the use of an Iframe to run your site ; you will definitely be punished SEO wise if you go that route.

  • shox
    Avatar
    Community Member
    21 Posts

    Re: iframe around page.ss Link to this post

    I know and i really dont like that. but its a must to have music. if i had the option i wouldnt put music, but the person who wants the site has it on a top level priority :S

    any other ideas are welcome, but the music has to play non-stop, and with no pop-ups :S

    2653 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.