Hi, (now with correct coding)
first of all, i am not so familiar with javascript, i am the "paiste and copy" type, so i think many of you can help me very easily.
I'm trying to find a simple way for me and for my customers, to use the flowplayer on a website.
I tryed this:
---------------------------------
-------------------------
and this is working without problems.
But then I tried to change the controlbar and some other behaviour of the player (e.g. scaling: 'fit') and this was the code:
--------------------------
and I see NOTHING. What is wrong?
Please help me!
Greetings
Max
first of all, i am not so familiar with javascript, i am the "paiste and copy" type, so i think many of you can help me very easily.
I'm trying to find a simple way for me and for my customers, to use the flowplayer on a website.
I tryed this:
---------------------------------
<a id="player" style="width:512px;height:290px;display:block"></a>
<script language="JavaScript">
flashembed("player", "flowplayer/flowplayer-3.1.5.swf", {config: {
clip:'video1/schuh01.flv',
plugins: {
controlbar:null
}
}});
</script>
-------------------------
and this is working without problems.
But then I tried to change the controlbar and some other behaviour of the player (e.g. scaling: 'fit') and this was the code:
--------------------------
<a id="player" style="width:512px;height:290px;display:block"></a>
<script language="JavaScript">
flashembed("player", "flowplayer/flowplayer-3.1.5.swf", {config: {
clip:'video1/schuh01.flv',
plugins: {
controls: {
url: 'flowplayer/flowplayer.controls-3.1.5.swf',
// display properties
bottom:0,
height:24,
z-index:1,
backgroundColor: '#2d3e46',
backgroundGradient: 'low',
// controlbar-specific configuration
fontColor: '#ffffff'
timeFontColor: '#333333',
autoHide: 'never',
// which buttons are visible and which are not?
play:true,
volume:true,
mute:true,
time:true,
stop:false,
playlist:false,
fullscreen:true,
// scrubber is a well-known nickname for the timeline/playhead combination
scrubber: true
// you can also use the "all" flag to disable/enable all controls
}
}});
</script>
-----------------------------------and I see NOTHING. What is wrong?
Please help me!
Greetings
Max