Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    Hi all,

    Is there a way to redirect the user to a flash page rather than a non-flash page.

    Many thanks
    • CommentAuthorpauld
    • CommentTimeFeb 22nd 2007
     
    HI! Yes but there are two attributes and it depends on what you want.

    so.setAttribute("xiRedirectUrl", "http://www.yourwebsite.com/somepage.html");
    so.setAttribute("redirectUrl", "flash_not_detected.asp");

    The first one is used to redirect the user after an express install.
    The second one is used to redirect the user if the flash version is not the right version needed for the your swf.

    Paul
  2.  
    Thanks for getting back but I want to redirect them to the flash version if they have the correct version installed. ie as opposed to redering the flash div it redirects the user to a page with the flash content on it? I am not using the express install.

    Any ideas?

    Thanks mate
    • CommentAuthorGeoff
    • CommentTimeFeb 22nd 2007
     
    i guess you could do something like that, but why would you want to?

    if they have flash, you just show them the flash movie, no sense in redirecting to another page...
  3.  
    I have the non flash version on the page mainly for search engines to index everything, so I have a number of pages eg products.html, collections.html etc etc so if a user comes to the site from google as it stands the flash version is shown if detected but the url in the address bar is still www.mysite.com/products.html or whatever page google directed them to. I was wanting to through them back to the base url if they had flash. The site does not have flash versions of every page, only one flash all encompassing version with all pages inside it and all the individual html pages.

    If there is a better way of doing this then please let me know.

    Thanks for a really excellent bit of work btw.
    • CommentAuthorGeoff
    • CommentTimeFeb 22nd 2007
     
    i see - that's a different setup than I would do.

    you can use the detection code inside swfobject to detect what version they have and redirect them based on that.

    take a look at the flashversion.html page to see how to get the player version without embedding any swf on the page.

    then it's just a matter of using an if statement and redirecting them to wherever you want.
    • CommentAuthorpauld
    • CommentTimeFeb 23rd 2007 edited
     
    HI! I have the same issue and what I did was. my first page has a small flash movie that has two things.

    Low bandwidth and High bandwidth. This gives the user a choice of either entering into the FLash Version or the Non-Flash version.

    I use the detection process to detect on the small flash movie to know if the user has flash or if the version is lower than the content that I have created. If the version is lower then I bring to a page to upgrade if Flash is NOT Detected then I bring them to a page to install it.

    There is a bit more that I have done such as what if the user does not have javascript turned ON? well that is handled once again to prevent them from entering into the site without going through the detect proccess.

    There is a few things to consider in my opinon. But this depends on how far you want to go on Error Handling.

    If you want to check out what I did just visit my site at www.webcandesign.com ( only bandwidth is corrected) and if you have any questions or suggestions or if you find any errors let me know. :)

    Paul
  4.  
    Sorry to be a pest Geoff, is there any chance you could tell me the code I would use, I am not so good with javascript or telling the page to redirect

    Really appreciate it mate if you could

    Cheers