Jump to:

3392 Posts in 976 Topics by 852 members

Template Questions

SilverStripe Forums » Template Questions » Problem with Flash header

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

Page: 1
Go to End
Author Topic: 1402 Views
  • Jaap
    Avatar
    Community Member
    2 Posts

    Problem with Flash header Link to this post

    Hi guys,

    First of all, I'm a complete SilverStripe noob but I managed to get my first site running with this great CMS.
    I've got a small problem with my Flash header, everytime I go to a different page the movie starts playing from the start.
    Is there a way to keep it looping when browsing the site?

    Regards,

    Jaap

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Problem with Flash header Link to this post

    Hi and welcome to SilverStripe.
    Embedded content like SWFs (Flash) or Movies always start anew with every page-refresh.
    There are several workarounds for this, but they are either complicated or a SEO nightmare.

    Here the possibilities I can think of:
    1) Create a frameset. Run the flash header in the top frame and the rest of your site in the frame below.
    Pros: Easy to do
    Cons: Really bad in terms of search engine friendliness, bookmarking etc.

    2) Load your site-contents via AJAX instead of reloading the whole site
    Pros: No frameset, other elements (like the navigation) could stay "static" as well
    Cons: Almost the same problems as with frames. Problem can be solved by using a deep-linking script like SWFAddress

    3) Keep track of the flash-position inside flash (by storing the "playhead-position" in a shared object or similar and restart the movie from there at every page-refresh)
    Pros: Website can be built as usual
    Cons: Requires some advanced flash skills and most importantly: Access to the flash source.

    1402 Views
Page: 1
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.