Jump to content

Update the [flash] embeding html


Guest henke37

Recommended Posts

I would be happy to see that we started using the free javascript class SWFObject to do the embedding, since it takes care of browser quirks like IE having the click to enable overlay.
There is so many different ways of embedding flash, but few works without quirks, some can't do preloading, some plain does not work and some has the mentioned IE quirk.

While talking about this subject, there is a few parameters to the embed code, such as allowing fullscreen and javascript from the flash "movie" I think that the admin should be able to chose those parameters easily in the acp, without having to modify the php sources.

Since I got space left, I might as well ask for a tiny feature. Send the header for the downloads that means "this is not a valid cross domain policy file".

Link to comment
Share on other sites

Actually we do. :P You have to enable it. Format is



[ flash=width,height] movie [/ flash]



Huh. I dug around, but couldn't find one. Interesting!

I don't know about the cross-domain bit though - I thought the only way to do that was with a crossdomain.xml file, which they couldn't guarantee you'd want.
Link to comment
Share on other sites

The crossdomain thing is new to a lot of people, it's only in the absolutely latest player. Basically, they added meta policies in order to prevent "policies" from appearing where they should not. Part of this is understanding a http header that means that the request reply is NOT a valid policy file in any case.

Link to comment
Share on other sites

Actually we do. :P You have to enable it. Format is



[ flash=width,height] movie [/ flash]



I tried this on my test board and couldn't get it to work? It is enabled but not parsing at all. Any ideas as to why that would be?
Link to comment
Share on other sites

For those who are curious why flash is disabled by default, it is because Flash got some powerful tricks up it sleeve. For example, it can use the browser session to make http requests, the user's cookies included! Not to mention the simple fact that it can execute javascript.
These capabilities can be disabled by the embed code.

Link to comment
Share on other sites

  • 3 weeks later...

This isn't a support form. Really quickly

1) Under Security and Privacy set "Allow flash movies in posts and avatars?" to Yes
2) Under Topics, Posts and Polls set "Max. height of posted Flash movies (in pixels)" and "Max. width of posted Flash movies (in pixels)"
3) When posting the flash movie width and height MUST be lower than the settings in the ACP (or the tag simply isn't processed)

Link to comment
Share on other sites

i want to post the embedded flash code in my post.is it possible??

Suppose i want to add the flash player in my post ..how to do this?

Here is the embedded Code


<embed

src="http://www.jeroenwijering.com/embed/mediaplayer.swf"

width="400"

height="20"

allowscriptaccess="always"

allowfullscreen="true"

flashvars="height=20&width=400&file=http://abc.com/DemoPlayer/1Michhil by Kalponik/1Michhil-Kalponik.mp3"

/>

Link to comment
Share on other sites

Well, there is always raw html... But then you don't need to think hard to add in some malicious scripting.
If you got some regex skills and php skills, you could mod the ipb php level code to add in support for this parameter.
Or just load a wrapper movie that loads the other one in the right way, but then you need a flash compiler and those usually cost.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...