
Modes not working
Sorry, but I'm a confused newbee at this and I could use some guidance
Thanks,
Jerry Kornbluth
I can get the player to almost work with the basic setup shown below. The video plays, but "loading the player..." text never goes away, leading me to believe that the jwplayer never loads correctly. http://www.elleschorrphotography.com/presentations5.php
When I add the mode options, the page doesn't work at all in FireFox 3.6 (nothing loads) and the "loading the player" text is the only thing that appears. http://www.elleschorrphotography.com/presentations7.php
In IE 8 the white screen appears, the "loading the player" text appears and the page hangs on (1 item remaining) to download.
Here's the code in the head of my page:
<script type="text/javascript" src="http://www.elleschorrphotography.com/jwplayer/jwplayer.js"></script>
Here's the "basic" code:
<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
flashplayer: "jwplayer/player.swf",
file: "presentations/schorr.mp4",
height: 500,
width: 667
});
</script>
And here's the "modes" code:
<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
file: "presentations/schorr.mp4",
height: 500,
width: 667,
modes: [
{ type: "html5" },
{ type: "flash", src: "http://www.elleschorrphotography.com/jwplayer/player.swf" }
]
});
</script>
If I add flashplayer: "jwplayer/player.swf", to the modes code, the player appears and plays the video.