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.
    • CommentAuthortomnab
    • CommentTimeDec 10th 2009
     permalink

    Hi Folks,
    I have it also, that Error 2148 problem! My slideshows do not play localy. To fix it, I have to include the directory of my monoslideshow.swf file into the Global Security Settings of the Flash Player as a trusted file. You can do that on this page Global Security Settings.

    So far so good! But!
    I want to deliver my content on a CD. I tried the cd on several maschines. I allways get the error 2148 and the slideshow can not be played!

    Any ideas?

    This is how I call the player on my html page:

    <html>
    <head>
    <script type="text/javascript" src="swfobject.js"></script>
    </head>
    <body>
    <center>
    <div id="flashContent">
    <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
    </div>
    <script type="text/javascript">
    var flashvars={showRegistration: "false", showLogo: "false", dataFile: "monoslideshow_buehne.xml"};
    var params = {allowScriptAccess: "sameDomain", allowfullscreen: "true", allowNetworking: "all"};
    var attributes = {id: "monoslideshow_buehne.xml", name: "monoslideshow_buehne.xml", bgColor: "000000"};
    swfobject.embedSWF("monoslideshow.swf", "flashContent", "240", "160", "9", false, flashvars, params, attributes );
    </script>
    </body>
    </html>

  1.  permalink

    That's a tricky one, and I'm not sure it will work, but try this:
    Copy the xml into the html like described in the manual on page 14 ("Pass XML data directly to Monoslideshow"). It may help.
    Christoph

    • CommentAuthortomnab
    • CommentTimeDec 11th 2009
     permalink

    I did like you advise, below is my code.
    But I get a white page - no error message - no flash - no slideshow.
    Tested on OS X with Safari, Fireox, Opera.

    <html>
    <head>
    <script type="text/javascript">
    var flashvars = {xml:
    '<album title="!" itemPath="album/images/" thumbnailPath="album/thumbnails/">' +
    '<contents>' +
    '<image source="photo1.jpg" title="title 1" description="description 1" />' +
    '<image source="photo2.jpg" title="title 2" description="description 2" />' +
    '<image source="photo3.jpg" title="title 3" description="description 3" />' +
    '</contents>' +
    '</album>'
    };
    var params = {allowScriptAccess: "always"};
    var attributes = {id: "monoslideshow", name: "monoslideshow"};

    swfobject.embedSWF( "Monoslideshow.swf", "flashContent", "480", "360", "9", false, flashvars, params, attributes
    );

    </script>
    </body>
    </html>

    •  
      CommentAuthorchristophvl
    • CommentTimeDec 11th 2009 edited
     permalink

    Check capitalization, my guess is your file is called monoslideshow.swf and not Monoslideshow.swf.
    Additionally, you still need
    <div id="flashContent">
    <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
    </div>
    from your original code, otherwise swfobject.js doesn't know where to place the Flash movie.

    You can also right-click (or whatever you Mac guys do :-) on the area where the Flash movie should show, usually you get an error message like "movie not loaded" or something like that.

    Christoph

    • CommentAuthortomnab
    • CommentTimeDec 11th 2009
     permalink

    I am getting nearer!
    I found out, what you said with the <div id="flashContent">...

    And wow! it is running local - no more 2148 error! I can see my configation (fullscreen button i.ex, and Ken burns are working)

    But! :-((
    The images are not displayed. I got this gray sign with the exclamation mark. That means to me the images were not found.
    The pathes and the writing are correct.

    my code:

    <html>
    <head>
    <script type="text/javascript" src="swfobject.js"></script>
    </head>
    <body>
    <center>
    <div id="flashContent">
    <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
    </div>
    <script type="text/javascript">
    var flashvars={xml: '<album title="!" itemPath="album_buehne/images/" thumbnailPath="album_buehne/thumbnails/">' +
    '<configuration viewport="2,2,2,2,offset" delay="5" >'+
    '<transition kenBurnsMode="randomZoomOut" kenBurnsStrength="0.15" kenBurnsTime="5" time="0.3" performOutro="true" />'+
    '<controller disappearDelay="1" showFullScreenButton="true" startHidden="true"/>'+

    '</configuration>'+

    '<contents>' +
    '<image source="photo01.jpg" title="" description=""/>'+
    '<image source="photo02.jpg" title="" description=""/>'+
    '<image source="photo03.jpg" title="" description=""/>'+
    '<image source="photo04.jpg" title="" description=""/>'+
    '</contents>' +
    '</album>',

    showRegistration: "false", showLogo: "false"};
    var params = {allowScriptAccess: "always", allowfullscreen: "true"};
    var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "000000"};
    swfobject.embedSWF("monoslideshow.swf", "flashContent", "700", "450", "9", false, flashvars, params, attributes );
    </script>
    </body>
    </html>

    • CommentAuthortomnab
    • CommentTimeDec 11th 2009
     permalink

    Hi christophvl,
    I changed again the flash security settings and after adding my directory with the monoslide.swf , my pictures are shown and everything works fine.

    But was does that mean?

    One security problem exists no more. There is no more need to load the xml File, because it is embedded in the html page as a text string. But there is still the need of loading the images - and this it seems is (locally) forbidden for security reasons by the Flash Player.

    Oh boys! What now??!

  2.  permalink

    Hi,
    in case you see the exclamation mark and don't get a 2148 error, there is something wrong with the paths (even if you say it is not). Check again the paths, the "/" at the end is definitely wrong. Check also that you don't mix photo1.jpg and photo1.JPG.
    Try with empty paths and put some images exactly into the directory with the slideshow html.
    Christoph

    • CommentAuthortomnab
    • CommentTimeDec 13th 2009
     permalink

    Hi again,
    I did like you said. The "/" at the end was wrong, that's true, but after changing it - no images!
    I also used empty pathes like you see below - no images!

    I am using "sandvox" to create the html pages. It is a javascript tool like rapidweaver. Within the program while editing, I can see the photos, the slideshow works! Opening the html pages i get the exclamation mark :(
    The tool is not the problem, I tried a html page with nothing else as the code below - same thing.
    At my opinion it is not a wrong path, it must be something else - and don't forget, when I change the flash security settings and include my directory, the images are found an the slideshow works fine!

    What about allowScriptAccess and allowNetworking?? or another parameter which can save me ;-)
    Tom

    <html>
    <head>
    <script type="text/javascript" src="swfobject.js"></script>
    </head>
    <body>
    <center>
    <div id="flashContent">
    <p>Please <a href="http://get.adobe.com/flashplayer/">install Flash®</a> and turn on Javascript.</p>
    </div>
    <script type="text/javascript">
    var flashvars={xml:'<album title="!" itemPath="" thumbnailPath="">' +

    '<contents>' +
    '<image source="photo1.jpg" title="title 1" description="description 1" />' +
    '<image source="photo2.jpg" title="title 2" description="description 2" />' +
    '<image source="photo3.jpg" title="title 3" description="description 3" />' +
    '</contents>' +
    '</album>', showRegistration: "false", showLogo: "false"};
    var params = {allowScriptAccess: "always", allowfullscreen: "true"};
    var attributes = {id: "monoslideshow", name: "monoslideshow", bgColor: "000000"};
    swfobject.embedSWF("monoslideshow.swf", "flashContent", "300", "200", "9", false, flashvars, params, attributes );
    </script>
    </body>
    </html>

  3.  permalink

    Ok, sorry, I'm at the end of my "wisdom", maybe Monokai could help (try the contact form). The only other idea I have is checking the Adobe knowledgebase http://www.adobe.com/cfusion/search/index.cfm?loc=en_us&term=security%20settings&cat=support&product=flash, given some time you may find your solution there, or ask in the Adobe forums.
    Christoph

  4.  permalink

    ah well, another idea worth a try: Put a "crossdomain.xml" in the root directory of the cd (check the adobe knowledgebase for details). Could help.
    Christoph

    • CommentAuthortomnab
    • CommentTimeDec 14th 2009
     permalink

    First, I thank you for trying to solve my problem so hardly ;-)

    I was reading a bit about crossdomain.xml's...
    Do yo have an idea how to adress the local machine??

    <cross-domain-policy>
    <allow-access-from domain="www.friendOfFoo.com"/>
    <allow-access-from domain="*.foo.com"/>
    <allow-access-from domain="105.216.0.40"/>

    Tom

    • CommentAuthortomnab
    • CommentTimeDec 14th 2009
     permalink

    It seems a guy tried to put a show on cd with monoslideshow 1.0 an he suceedd.

    He wrotes:

    The base folder is set as follows:

    so.addParam("base","/newfork/");

    This does the trick for the images and thumbnails, but the MP3 won't load. Am I missing something?!?

    What is "addParam" ??

    so.addParam("base","/newfork/");

    This is his forum entry:

    ferdbiffle Aug 16th 2008
    I want to distribute a Monoslideshow burned on CD's for my Boy Scout Troop's recent summer camp. I have the slideshow working just fine, but the path I use to access the MP3 file is not working. Here are the xml file settings:

    <album thumbnail="images/GettingThere/thumbs/GettingThere.jpg" title="Camp New Fork- Getting There"
    description="Fun on the way to Camp New Fork" imagePath="images/GettingThere"
    thumbnailPath="images/GettingThere/thumbs" backgroundMusic="music/FacingWest.mp3"
    backgroundMusicFadeOut="true" onFinished="showAlbumWindow">

    The base folder is set as follows:

    so.addParam("base","/newfork/");

    This does the trick for the images and thumbnails, but the MP3 won't load. Am I missing something?!?

    Thanks,

    Eric

  5.  permalink

    Security was completly different (=non-existant) for v1, so that won't help you.
    Christoph

    • CommentAuthortomnab
    • CommentTimeDec 15th 2009
     permalink

    Hi Christoph,
    I just wanted to tell you that I have given up... Monokai did not answer yet ... :(

    I will using now Version 1 for my project. It works from CD but I have no fullscreen option and for the videos I had to embed a second player.
    Also links are not possible.

    Thanks for your help!
    Tom

  6.  permalink

    Hi Tom,
    sorry for that, but links are definitely possible (and working) in v1. Check the manual, the syntax is different, but they definitely work.
    Christoph

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