How to post Flash videos

Board policy, rules, etc. (newbies please read before posting).

Moderator: Moderators

Post Reply
User avatar
Darth Wong
Sith Lord
Sith Lord
Posts: 70028
Joined: 2002-07-03 12:25am
Location: Toronto, Canada
Contact:

How to post Flash videos

Post by Darth Wong »

The forum software allows you to post Flash videos, however a lot of people seem to have trouble with it. In many cases, they try to post Flash and all they get is a white box. This is how you post Flash.

First, I have an example of a self-hosted Flash video on my Empire website at http://www.stardestroyer.net/Empire/Tec ... eraan.html (it's the Death Star destroying Alderaan). To post this kind of Flash video, you would use the following code:

Code: Select all

[flash=540,252]http://www.stardestroyer.net/Empire/Tech/Beam/FlowPlayer.swf?config={videoFile:'DeathStar-SE.flv',loop:false}[/flash]
Notice that the "540,252" part is the resolution, and you can use the "config" parameter to send flashvars to the actual Flash program on the hosting server. In this case, I needed to specify the videoFile and loop parameters, which are normally specified with flashvars. Note that flashvars are not universal; these parameters are specific to the FlowPlayer software. In any case, this produces the following result:



In order to post Youtube videos, first look at the embedding code that Youtube suggests you use. Here's an example:

Code: Select all

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/oPSig85oBPM&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/oPSig85oBPM&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
Obviously, you can't post that. But you can inspect it for the information you need. In this case, the key information is the resolution (425,344) and the "embed src" tag. So you would strip out the useful information and place it in a flash tag like so:

Code: Select all

[flash=425,344]http://www.youtube.com/v/oPSig85oBPM&hl=en&fs=1[/flash]
And the result would look like this:

Image
"It's not evil for God to do it. Or for someone to do it at God's command."- Jonathan Boyd on baby-killing

"you guys are fascinated with the use of those "rules of logic" to the extent that you don't really want to discussus anything."- GC

"I do not believe Russian Roulette is a stupid act" - Embracer of Darkness

"Viagra commercials appear to save lives" - tharkûn on US health care.

http://www.stardestroyer.net/Mike/RantMode/Blurbs.html
Post Reply