
code incorrect
bc.. <div id="myElement2">Loading the player...</div>
<script>
jwplayer("myElement2").setup({
playlist: "url",
height: 400,
controls: true,
startparam: "start",
//listbar: {
//position: 'right',
//size: 220
//},
width: 732,
primary:'flash',
captions: {
back: false,
//color: 'FFFFFF',
fontsize: 16
}
events:{
onTime: function(object) {
if(object.position > object.duration - 1) {this.pause();}
}
}
});
</script>
why not works?