Topic: Rockin' the walls (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=29838" title="Pages that link to Topic: Rockin&amp;#039; the walls (Page 1 of 1)" rel="nofollow" >Topic: Rockin&#039; the walls <span class="small">(Page 1 of 1)</span>\

 
argo navis
Bipolar (III) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-04-2008 12:12

Some time ago, flash embeding inside the "animation" and "sigs" forum was possible.
Let's see if it holds true :

<object type="application/x-shockwave-flash" width="1" height="1" data="http://www.youtube.com/v/V0u0AG_floQ&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=0&autoplay=1"><param name="movie" value="http://www.youtube.com/v/V0u0AG_floQ&rel=0&color1=0xd6d6d6&color2=0xf0f0f0&border=0&autoplay=1"></param><param name="wmode" value="opaque"></param></object>

...
(crap. Well, the movie I am trying to embed is http://www.youtube.com/watch?v=V0u0AG_floQ - work safe
and this is the little "trick" I use to stream "white rabbit" on beyondwonderland : a 1px x 1px Flash animation linked directly from youtube, in concordance with their policy -
they did not specify a display size limit when embedding free contents).

(Edited by argo navis on 01-04-2008 12:14)

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 01-04-2008 13:17

You should know we've never allowed html around these parts...

If flash was supported it would have it's own ubb code.
There isn't though.
I'd be happy to add it, if there's enough support from the inmates.

so long,

->Tyberius Prime

argo navis
Bipolar (III) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-04-2008 14:02

Okay. Mind the corrections :

>> You should know we've never allowed html around these parts...

It was, back in the ubb days, and it still is possible in ubb : I genuinely did not know.
I remember I demonstrated the first examples of "CSS" through it, and that there was a huge debate back then : I do not remember the details
and what followed.

>> If flash was supported it would have it's own ubb code.

Flash automated export is subject to problems, see www.alistapart.com Flash Satay for details.

That is why I left the code in my above post, "blatantly" : because it does "satay" and it does "hide as much as possible from an embeded youtube movie",
it is of interest to inmates who use Flash.

If such a tag is to be added, I recommend some precautions, while keeping a maximum flexibility as well : the above "trick" is simple, but 1x1 youtube movies
make for a nice way to stream music - at the expense of nobody since Youtube want to stream contents.

Frankly, Flash can hardly be ignored as a web development tool, and nowadays, it can be decently mixed
to dhtml, and used for transparent sigs as well - so I would love a "Flash movie" ubb.

Especially since "video" will be part of HTML5 in the future - it's the "zeitgeist", might as well lend an ear.



(besides : "should know" do help confusion during discussion - I am no telepath, nobody that I know really is)

(Edited by argo navis on 01-04-2008 14:13)

summary_of_argo_navis
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jan 2008

posted posted 01-04-2008 14:35

-html in the asylum was once possible, when it was based on 'ultimate bulletin board'.
-flash should be supported, it's the "zeitgeist".
-embedding flash as valid html is complicated, see [url=http://alistapart.com/articles/flashsatay] for a helpful description how to do it.

Not actually by argo_navis. Believe his posts to be to long. Might contain inaccuracies, blatantly false representations and ommit beautiful nuances from the original. But at least is a shorter read.

(Edited by summary_of_argo_navis on 01-04-2008 14:35)

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 01-04-2008 14:43

Not really sure I want to see Flash, autplayed Flash at least, in the halls. I certainly don't want to see the Asylum turn into mySpace

As for Video, and Audio, it could make sense as long as they don't autoplay. Also the markup for Video is ridiculously simple.

argo navis
Bipolar (III) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-04-2008 14:54

Fun stuff, summary Really. But you forgot one point. The one after the sig.

kuckus
Paranoid (IV) Mad Librarian

From: ber/ger
Insane since: Dec 2001

posted posted 01-04-2008 15:05

LOL, welcome to our inmate #6666


I'd have to second poi's concerns on the topic at hand, though. I don't suppose it would be possible to keep people from linking to flash movies that do funny things like playing games with your clipboard's contents etc., which could end of being somewhat annoying.

argo navis
Bipolar (III) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-04-2008 15:21

>> I don't suppose it would be possible to keep people from linking to flash movies

It would be : force "double embed". Have a Flash container movie be the only possibility for others to embed contents - and filter out the fun stuff.
Weadah did that on another forum, it worked a threat.

As for the Asylum becoming myspace (summarize THIS!) - I trust the inmates, simply : ever seen a "viagra" sig around? ,)
I do not trust spambots but this is a different topic altogether.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 01-04-2008 15:43

I don't know enough flash to create such a 'filter' movie - do you still have contact to Wedah?
Or another source for such a movie?



Inmate 6666 - how fittin'

argo navis
Bipolar (III) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-04-2008 15:47

(considers getting back to real world sometime soon)

Yeah, we had God, the Devil, a constellation, and now I even have gruppies of my own to read my novel sized posts AND summarize them - what's next?

I can do such a script : it's ECMA script. It would be open source, so you can make SURE I do not have hidden motives,
and it would be the exact recipe of a Flash Satay container - except that when exporting, you just turn off all possibilities to call external stuff in the options
(so the container movie gets compiled with these options disabled).

Lemme know.

@bout Weadah : he sadly is one of the only inmates I cannot track back. Emperor still has a page, some people still post at the GN, not him.

(Edited by argo navis on 01-04-2008 15:48)

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 01-04-2008 16:49

How does flash handle cross-site importing - I mean, I believe, by default a satay script sitting here can't import something on youtube - or
am I wrong?

I guess we could have a proxy script sitting at the asylum - but that's something that might generate quite a bit of bandwidth.

argo navis
Bipolar (III) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-04-2008 17:47

Righto : http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14213&sliceId=2

One solution is to set a "cross domain policy file", and make it configurable to Asylum users with filtering. No bandwidth cost.
Another solution is what Weadah used : put form for uploading the files directly to the forum.

..Btw, this may be something to consider for some useful image files : some tutorials from the faqs now have "gaps" because the originating site is dead.

argo navis
Bipolar (III) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-05-2008 11:22

Very interesting.

There are proxy and "shim" examples available for download from Adobe (basically, two of the options highlighted above) :
Proxy and Shim code examples for loading outer swf files

That makes for the implementation of two of the options.
Let me implement an example of the third.

...
Implementation not complete yet, I have to fiddle with subdomains, but I have some conclusions :
About loading outer SWF in Flash CS3

Basically, it could work like this :
* Stub Flash loader is hosted at the Asylum
* Users register their home domain on their profile page
* These domains are gathered as a flat file, or xml list on the Asylum server
* Stub Flash loader loads list of all inmate domains at startup
* Users who publish swf for the Asylum NEED to add a couple of lines of ActionScript to say "Asylum can load and script my movies"
* Script inside Asylum Stub does whatever it wants from the loaded movie : script them, turn their scripting options off, turn some scripting options off - whatever

Once a mutual "trust" has been established between two Flash movies across different domains, the "parent", or "stub" movie
can play around with the child's script as it pleases.

All this is encapsulated in the Flash Sandbox, quite advanced, which does nicely prevent most abuses.
So security is a limited concern, since both the uploader and uploadee MUST tailor their actionscript (so there is a will to mutual trust),
since there is such a thing as a complex sandbox for Flash, AND the Asylum stub can fully control the loaded movies.

Thoughts?

(Edited by argo navis on 01-05-2008 12:17)

SleepingWolf
Paranoid (IV) Inmate

From:
Insane since: Jul 2006

posted posted 01-05-2008 18:11
quote:

argo navis said:

Flash automated export is subject to problems, see www.alistapart.com Flash Satay for details.



SWFObject seems to be the way to go these days:
http://blog.deconcept.com/swfobject/


quote:
* Accessibility issues. - Using Flash Satay, some screen readers (like JAWS) will ignore your Flash content.
* With changes from the Eolas patent dispute, users will have to first click on your Flash content to 'activate' it before interacting with it. More info here.
* There is noplug-in detection. - Same as above - With no plug-in detection, users may see broken or no content. When the Flash player encounters a Flash movie embedded in a page, it will try to play it no matter what the version is. So if you have Flash player 6 installed, and encounter a Flash 7 movie, your plug-in will try to play it, possibly causing odd behavior.
* Some methods of Flash satay don't stream the Flash movie to the player - So this method may require 'holder' swf movies that your movie is loaded in to. This makes passing variables from FlashVars parameters a hassle and make it a pain to maintain Flash content as you now have twice as many swf files floating around your web server.
* Older Safari versions ignore param tags - Up until version 2.0 (on Tiger) or 1.3 (on Panther) and possibly 1.2.8 (pre Panther) Safari would completely ignore the param tag. This meant that if you tried to set other options using them, like Flashvars or Align, Salign, etc. Safari would not see those values.



Nature & Travel Photography
Main Entrance

argo navis
Paranoid (IV) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-12-2008 00:29

Ok, more news as I progress, but it's tech spec time - so let's draw the outline.

General areas to document :
---------------------------------------------------------------------------------
0) Mapping the movies to (xhtml) : Flash Satay vs Flash standard vs SWFObject
1) No sound in movies - can be done using stopAllSounds cleverly (or other action script methods)
2) Preventing XSS attacks - can be done using the Flash sandbox (disabling fscommands for one)
3) Usage and integration of the crossdomain.xml policy file
4) Is an additional "Flash proxy" useful and/or required?
5) Setting a maximum size?
6) Other constraints required?

And while we're at it, one of the important docs I am using :
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19604&sliceId=2
http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps.html

(I am laying this post as a "notepad", but it's open to input from anyone in the forum, of course - just have to draw the line
between what's best, what's desired, what's tedious, etc..)

(Edited by argo navis on 01-12-2008 00:48)

argo navis
Paranoid (IV) Inmate

From: Switzerland
Insane since: Jul 2007

posted posted 01-13-2008 23:59

My head aches for the catching up on dojo, jquery, and everything web 2.0, but at least I have the answers to some of the above questions :

quote:

0) SWFObject not recommended for this case - requires remapping of tags to "script" tags which could cause trouble.

Satay.
Implies : remapping of [ Flash ] tags to [ object ] tags with some params (wmode for transparency of movies).

1) redundant stopAllsounds "hack" in the main control frame and/or listing sound items in library and disabling all instances.
Implies : 0 changes on the server side.

2) preventing xss : requires all measures documented here - http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps_02.html
Implies : 0 changes on the server side.

3) crossdomain.xml required, and a dynamic one at that.
Implies : registration of user sites inside their cell, and generating an xml file from that.

4) Flash proxy not required.
5) I recommend 640x480 for convenience.
6) The only question remaining is : flv (video) allowed or not?



So the only server side impact is what I first thought - just tying user domains to an xml file, basically : all the rest of the patching and embedding occurs
inside the swf. The "Flash" bb code should allow a couple of parameters in a form or another.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu