pass "allow fullscreen" via query string: possible?

Hi all,

sorry, this is a cross-post (also posted here in the FPP forum). Since I urgently need an answer, I'm hoping that maybe the question gets some attention here -- it has a number of views over at the FPP forum, but no answer yet.
--------

I am currently working on a site that displays the panoramas in a lightbox-like window ("shadowbox", actually). I have to reference directly the pano.swf including it's XML because of mouse event catching trouble if doing it as HTML in a shadowbox. So I do it with a query string like this:

<a href="pano.swf?xml_file=my-xml-file.xml" rel="shadowbox;height=600;width=900">panorama</a>

OK, so everything works fine instead one thing: Flash won't allow me to go fullscreen! Normally, I use SWFObject and "allowFullScreen", "true" which I can't here. So I tried:

<a href="pano.swf?xml_file=my-xml-file.xml&allowFullScreen=true" rel="shadowbox;height=600;width=900">panorama</a>

...but it's not working: Flash would always tell me that fullscreen is not allowed when clicking onto the fullscreen button inside the pano.
Could anyone please tell me how I can allow Flash to go fullscreen via query string?

Any help would be greatly appreciated!
Regards, Ph

re: pass "allow fullscreen" via query string: possible?

Hey there:

To my knowledge, you'll need to embed the SWF in HTML in order to pass it the allowFullScreen parameter. This is an Adobe security feature.

?

__________________

Patrick Cheatham
Forum Administrator

Thanks, Patrick, for your

Thanks, Patrick, for your quick reply. I finally found a possibility to have shadowbox show a website containing the pano and still react to the scroll wheel in a correct way, so I don't need to link directly to the swf any more (and thus I also don't need to allow fullscreen via query string any longer). But good to know that it wouldn't have been possible anyway so I can take care of that if I ever come across something similar again.

Best regards, Philipp

re: shadowbox

Hi Philipp:

Good news! (sort of...?) Smile

At cheathamlane.net, I use lightwindow, and have successfully used it to deliver iframed content (that is, and FPP presentation in a Web page). You might check lightwindow out. Also, over at IVRPA.org, I know Aldo instituted one of the greybox type things. His blog at IVRPA's site should have info on his modifications.

Cheers,

__________________

Patrick Cheatham
Forum Administrator

Thanks for the info (again)

Thanks for the info (again) Smile At my personal homepage, I also use Greybox for my panos. But for my business site which I am preparing at the moment, I use a CMS that wanted mootools and didn't like jquery, so I tried Smoothbox. Had some trouble, but eventually I use Shadowbox and I am very satisfied; it does everything it is supposed to plus some stuff you'll never need Smile, and it's very flexible (can be used with many different javascript libraries). So, in the end, everything's fine now.

Sigh, and now after all that byte-twisting it's time for some pizza Smile

Regards, Philipp