Dann poste doch dein bisheriegen kompletten Code.
Wenn nicht dann füge diese Deklarationen ein und test ob es funktioniert.
html {
background:#000;
}
body {
padding:10px 10px 10px 0px;
margin:0 auto;
background:#aaa;
height:800px;
width:800px;
position:relative;
}
#player_a,#player_b {
float:left;
margin-left:10px;
}
Alles anzeigen
HTML
<div id="player_a" class="projekktor"></div>
<script type="text/javascript">
$(document).ready(function() {
projekktor('#player_a', {
poster: 'media/intro.png',
title: 'this is projekktor',
playerFlashMP4: 'swf/StrobeMediaPlayback/StrobeMediaPlayback.swf',
playerFlashMP3: 'swf/StrobeMediaPlayback/StrobeMediaPlayback.swf',
width: 390,
height: 220,
playlist: [
{
0: {src: 'media/intro.ogv', type: 'video/ogg'},
1: {src: 'media/intro.mp4', type: 'video/mp4'},
2: {src: 'media/intro.webm', type: 'video/webm'}
}
]
}, function(player) {} // on ready
);
});
</script>
<div id="player_b" class="projekktor"></div>
<script type="text/javascript">
$(document).ready(function() {
projekktor('#player_b', {
poster: 'media/intro.png',
title: 'this is projekktor',
playerFlashMP4: 'swf/StrobeMediaPlayback/StrobeMediaPlayback.swf',
playerFlashMP3: 'swf/StrobeMediaPlayback/StrobeMediaPlayback.swf',
width: 390,
height: 220,
playlist: [
{
0: {src: 'media/intro.ogv', type: 'video/ogg'},
1: {src: 'media/intro.mp4', type: 'video/mp4'},
2: {src: 'media/intro.webm', type: 'video/webm'}
}
]
}, function(player) {} // on ready
);
});
</script>
Alles anzeigen