see live demo!

Not signed in (Sign In)

Categories

 

buy Monoslideshow

via PayPal / credit card

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

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorwbj
    • CommentTimeNov 5th 2009 edited
     permalink

    Hi. Bought monoslideshow yesterday have been trying, without any luck, to embed the demo slideshow in the index page of my CMS, wondering if someone could help?

    <script type="text/javascript" src="public/javascript/frontend/swfobject.js?v=2.2"></script>

    is in the <head> tag and is loading swfobject.js, I can see it at its URL.

    I can also view the swf file at its URL mydomain.com/public/slideshow/album/monoslideshow.swf

    The problem is:

    If I use this embed code it causes an error and I get a blank page

    <div id="flashContent"> <p> </p></div> <script type="text/javascript"> var?flashvars?=?{};var?params?=?{};var?attributes =?{};swfobject.embedSWF( "public/slideshow/top/monoslideshow.swf","flashContent","480", "360", "9", false,flashvars,params,attributes); </script>

    If I use this embed code it it doesn't cause an error but the slideshow doesn't display

    <div id="monoSlideshow"> <p><strong></strong></p> </div> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject("public/slideshow/top/monoslideshow.swf", "SOmonoSlideshow", "480", "360", "7", "#ffffff"); so.write("monoSlideshow"); // ]]> </script>

    Hope someone can help.

    Thanks

  1.  permalink

    First of all: There is a trillion of threads in this forum concerning embedding MSS, you might want to do a search on "swfobject.js".
    If you have other Flash movies on your website, embed MSS exactly like them and you should be done.
    If you use swfobject.js (which is highly recommended), there is a static and a dynamic way to use it, both get you there but must not be mixed up. Your first code snippet uses the dynamic way, but the belonging "head" section is not complete - check either the manual or look for the swfobject.js-documentation at GoogleCode.
    Christoph

    • CommentAuthorwbj
    • CommentTimeNov 5th 2009
     permalink

    Yes, thank you, it's showing now but I get a "securityError". Oh well, I'll do some more searching.

    • CommentAuthorwbj
    • CommentTimeNov 5th 2009 edited
     permalink

    I managed to get it working with this code although for some reason it only works in Firefox and not in Chrome or IE 7/8....?

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="480" height="360"> <param name="movie" value="monoslide.swf" /> <!--[if !IE]>--> <object width="480" height="360" type="application/x-shockwave-flash" data="/public/slideshow/top/monoslideshow.swf"> <!--<![endif]--> <p>Alternative content</p> <!--[if !IE]>--> </object> <!--<![endif]--> </object>

    Thankful People: Jarredja
  2.  permalink

    You need to change the path to monoslideshow twice, so directly in front of the first conditional comment add the path info like you do in the line below.
    Christoph

    • CommentAuthorwbj
    • CommentTimeNov 6th 2009
     permalink

    Yes, it displays in Chrome and IE now, thanks so much!

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="480" height="360"> <param name="movie" value="/public/slideshow/top/monoslideshow.swf" /> <!--[if !IE]>--> <object width="480" height="360" type="application/x-shockwave-flash" data="/public/slideshow/top/monoslideshow.swf"> <!--<![endif]--> </object> <p>Alternative content</p> <!--[if !IE]>--> </object> <!--<![endif]-->

    • CommentAuthorwbj
    • CommentTimeNov 6th 2009 edited
     permalink

    .

monokai logo © 2009 Monokai, all rights reserved. Buy Monoslideshow.