[pmwiki-users] 4 questions: fullscreen flash, popups and css colour switching

David Stark clyphox at gmail.com
Thu Oct 23 07:47:36 CDT 2008


Hey all, I'm a first poster right now so go easy on me :p

I'm basicly creating a wiki with lots of embeded flash for videos/audio
I've spent about a week learning pmwiki and must say I am really
loving it, I'm more of a scripter than a coder, always prefered flat
files and even once tried making a similar project myeslf.

My thanks to everyone

I've got 3 questions/problems that are plagueing me right now...
they're not big but then the same can be said for my brain:


1. Fullscreening Flash

I've managed to embed raw .swf's/google/youtube quite nicely using
many of the different cookbooks I've found:

includesite  (lovely tool)
enableHTML (I don't intend to use this but needed to experiment)
flash  (plus experimented with swf-sites.php and swf-sites2.php)

Now say for example i use this to embed a google video
from http://video.google.com/googleplayer.swf?docid=3079242748023143842

(:googlevideo 3079242748023143842:)


I am able to embed a video (almost) perfectly
Problem is i would like (the option at least) for fullscreen, indeed
even clicking the "go to google" link does not work.
With youtube/google there is no (built-in to the displayed flash)
fullscreen button even. I would like that option there (should i not
be able to solve question 2 and also just for a furthered
understanding)

Using EnableHTML however i can get things to work with this as an example:

<object width="425" height="344"><param name="movie"
value="http://www.youtube.com/v/7h-ov2I4aJU&hl=en&fs=1"></param><param
name="allowFullScreen" value="true"></param><embed
src="http://www.youtube.com/v/7h-ov2I4aJU&hl=en&fs=1"
type="application/x-shockwave-flash" allowfullscreen="true"
width="425" height="344"></embed></object>

Question:
*is there a way of getting the fullscreen option _without_  using
enableHTML  (as it gives me the heebie geebies as I'd rather be able
to just call and exit enableHTML around the bits in question, global
stuff scares me)




2. Popups

Using the cookbook  popupwindow.php  I can creat popups easily now.
I've found i can remove the default blerg with things like:
(:noheader:)   footer/sidebar  etc..etc..

my question is
*how can a creat a popup that is truelly fullscreen, no taskbar or
borders... and where there is apsolutely nothing printed by the
headers/footers except the content (IE: a video)


3. Colour/themes/styles

I liked the skin skidoo, it (like virtually any other i expect) allows
me to pull up different "themes"   via $URL/?color=yellow
for example..
i can change colours in config.php  with :

SDV($SkinColor, 'lightgreen');

i can change the color in a link with something like:

*[[{*$FullName}?color=yellow | yellow]]

Problem is i want the client to be able to "remember" what color
they're using and continue to browse elsewhere..
I know its possible to do this with cookbook/ViewModes  but i can't
work out exactly how..

Question
*can someone give me an example or an i going about this the wrong way?


sorry to post so many questions at once but i promise i'm holding back :p
thanks in advance -David



More information about the pmwiki-users mailing list