JW FLV Player als BBCode ?
Verfasst: 23.02.2009 16:38
Hallo , geht um diesen Player : http://www.longtailvideo.com/players/jw-flv-player/
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.
Notice the flashvars parameter above can contain a list of variables for configuring the player to use different Plugins or Skins. To quickly set up flashvars, use the setup wizard. Simply choose an example, select the variables you want to use and paste the code onto your page. It’s that easy.
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 ?
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 ?