Den möchte ich gerne als BBCode einbauen und damit Videos vom eigenen Webspace abspielen zu lassen . So soll es in HTML eingebaut werden :
Installation
This section details a step-by-step process of how to install the JW FLV Player onto your page. The download ZIP contains everything you need to get started.
Step 1: Transfer the player.swf and swfobject.js file from the ZIP to your website. (Make sure that you’ve also uploaded all the necessary videos / songs / images to your site.)
Step 2: Embed the player in your HTML page with the lines of code below. Note: If you place the files in different directories, make sure to set the references in this code accordingly.
Code: Alles auswählen
<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>
Ich habe die Software vom Download in den Ordner root/mediaplayer kopiert , die Videos sollen in den Ordner root/videos . Wie müßter der BBCode nun aussehen ?