Video in website sample – JW Player

by Lepki on January 13, 2010

There are a number of ways of integrating videos in to your website, this is not that guide.

longtail-video-jw MPG, FLV, SWF – you name it, various formats online.

This simple example looks at embedding FLV videos in to simple HTML web pages.

Code hither:

<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video.flv');
s1.write('preview');
</script> 

from LongTail video – JW player.

By downloading their package, integrating their code, pointing to your FLV URL – you are in business.

Definition of non-commercial use

    • websites with any advertisements;
    • websites owned or operated by corporations;
    • websites designed to promote other products, such as a band or artist;
    • products (e.g. a CMS) that bundle LongTail products into its offering.

Have at it!

Leave a Comment

Previous post: Zen-Cart Quick Setup Tips

Next post: Inserting Adsense with Live Writer

Get Adobe Flash playerPlugin by wpburn.com wordpress themes