Undownloadable

A few days ago a client asked me to put up an edit on my site so that any visitors could not download it for later review. She wanted people to look at the edit in situ. That meant creating a Flash version of the QuickTime movie and uploading it instead.

My friend Matt Davis told me how. I have software for creating Flash versions of movies, but not the player to embed on a web page. People are used to pausing, rewinding and replaying videos. They also want control over the volume. Luckily there is a player available for free on the internet.

Here’s how to make a web page to play Flash FLV files.

    Go to Jeroen Wijering’s website.
    Download the JW FLV player.
    Export your movie as a Flash 8 FLV file.
    Name your video video.flv
    Create a preview .jpg called preview.jpg
    Upload the flash video, the preview picture, the flvplayer.swf file, the swfobject.js javascript file and an html file to your website.

Here’s a version of the html file I used:

<html>
<head><script type="text/javascript" src="swfobject.js">
</script>
</head>
 
<body>
<p id="player1">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see the video.</p>
<script type="text/javascript">
   var s1 = new SWFObject("flvplayer.swf","single","1024","596","7");
   s1.addParam("allowfullscreen","true");
   s1.addVariable("file","video.flv");
   s1.addVariable("image","preview.jpg");
   s1.addVariable("width","1024");
   s1.addVariable("height","596");
   s1.write("player1");
</script>
</body>
</html>

My source movie had a resolution of 1024 by 576. In the html, you can see the dimensions used are 1024 and 596. I added 20 pixels to the height for the controls of the player.

Mr. Wijering also has a setup wizard that can generate the html for you, based on settings you provide. For more support, go to the Support section of the JW FLV Player page.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: