Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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.

14 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Your issue is that this file is missing – http://www.elleschorrphotography.com/player.swf

JW Player

User  
0 rated :

Ethan,

Thanks for getting back to me.

I'm not sure I understand your reply.

The player.swf is in the folder jwplayer and the call is to that directory "jwplayer/player.swf"

In the simple implementation http://www.elleschorrphotography.com/presentations5.php even when I copied player.swf to the root directory as suggested in your reply, there's no change and the "loading the player..." text never goes away.

Am I missing some code in the implementation?

I'd like to get this resolved before I go on to the "modes" issue.

Thanks

Jerry

Ethan Feldman

JW Player Support Agent  
0 rated :

Your code is referencing the player at the root of your site. You just need to upload the player to the root and then your link will work.

JW Player

User  
0 rated :

Ethan,

Thanks for being so patient.

OK, I changed all the src's to point to the root directory and that fixed <ul>most</ul> of the problem in both IE and FF. (typos are a bear)

But the "loading the player..." text still stays on the screen.

Sorry to be such a pain,

Jerry

Ethan Feldman

JW Player Support Agent  
0 rated :

Works fine now here – http://www.elleschorrphotography.com/presentations5.php, clear your cache.

JW Player

User  
0 rated :

Sorry Ethan,

I closed the page and cleared the cache on both FF 3.6 and IE 8 and the "loading the player..." text still stays on the screen here.

Hope you have another idea.

Thanks,

Jerry

Ethan Feldman

JW Player Support Agent  
0 rated :

This is weird. On http://www.elleschorrphotography.com/presentations5.php I see the text loading the player, but its under a working JW Player! You don’t see that? This is in FF 3.6

JW Player

User  
0 rated :

Ethan,

At least I'm not totally bonkers...

I noticed that there's reading plugins.longtailvideo.com in the status bar at the bottom of the FF browser.

Maybe that's something?

Another question was how to get rid of the share it screen and how to have a jpg show in the screen before play is clicked.

Thanks,

jerry

Ethan Feldman

JW Player Support Agent  
0 rated :

@Gerald Kornbluth – I don’t think that’s it. You can remove the share by going to – http://www.longtailvideo.com/players/jw-flv-player/ and re-downloading the player, making sure “Viral Plugin” in unchecked. You can set an image using the “image” variable, and pointing to an image on your server.

JW Player

User  
0 rated :

Ethan,

Thanks for that.

If I can solve the text issue, (without just removing the div), that would be a good thing.

I look forward to your further insights.

Thanks,

Jerry

JW Player

User  
0 rated :

Dear Ethan,

I'm having another unrelated issue. I've recently signed up to the 20 euro per month account but everytime i try and log in it say my account is suspended. When i type in lost my details it doesn't send any new details through.

My email is pedge@westminster.gov.uk

I urgently need to upload some video for a sponsor. Please help i don't know what else to do.

Paul - 0044 7791552 373
0044 2076415370

Ethan Feldman

JW Player Support Agent  
0 rated :

@Jerry – Np. Just removed the “loading the player” part from the div. The player will still load.

I have changed you account from Suspended back to Normal. You can reset the password here – http://dashboard.bitsontherun.com/reset_password/ , use pedge@westminster.gov.uk as the email.

JW Player

User  
0 rated :

Brilliant cheers

Ethan Feldman

JW Player Support Agent  
0 rated :

Cheers :)

This question has received the maximum number of answers.