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

Flash crashing due to memory leak, want to set up HTML5 JWPlayer


I have a couple of concerns:

1. When I am using the default Flash/Shockwave player, the Task Manager is showing a continuously increasing amount of RAM used. Within 30-45 minutes, the Shockwave process will be using over 1GB of RAM, and then cause the player to crash or the computer to be unresponsive. Does anyone know a workaround to this?

Example URL: http://www.earnhoney.com/videos/video/celebs_impersonating_celebs?start=1

2. I want to try the JWPlayer in HTML5, and the FLASH player as a backup only. How do I do this? I have a test page set up, so I can copy/paste any code there.

Example URL: http://ec2-54-148-21-15.us-west-2.compute.amazonaws.com/test/PT-waterfall.html

Thank you. My email is msheng@baybeegames.com if you want to talk directly.

3 Community Answers

jshimizu

User  
0 rated :

None of the www.longtailvideo.com links work anymore. Please fix this. Everything is just going to support.jwplayer.com . A lot of information is lost.

MisterNeutron

User  
0 rated :

The longtailvideo links are, for the most part, pointing to obsolete information, so there's no point resurrecting them.

If you're using m3u8, you're still stuck with Flash for IE, Firefox, and Chrome. These browsers do not support HLS.

There is no "modes" attribute in JW 6. And player.swf is from JW 5, so you can't use that. Don't specify the Flash file name at all - just let the JW 6 main script find it. You should have jwplayer.js, jwplayer.html5.js, and jwplayer.flash.swf together in a directory - then just load jwplayer.js in your <head> section.

Your page has no DOCTYPE. Don't do that - you'll regret it.

See http://support.jwplayer.com/customer/portal/articles/1430218-using-hls-streaming

Cooper Reid

JW Player Support Agent  
0 rated :

  1. There is no workaround for this, it sounds like your system has low memory because I’ve never seen this occur. I recommend using HTML5 mode to avoid this issue altogether
  1. I recommend you encode all of your videos to H264-encoded Mp4s.

Please make sure you are using these settings in your encoding: http://support.jwplayer.com/customer/portal/articles/1403635-media-format-reference#video/. Some browsers are more stringent than others about encoding requirements. I typically use Handbrake (free on Mac) to encode video files.

Here are a few screenshots of my encoding settings:
http://cl.ly/image/0g1D3o3b1Z2v
http://cl.ly/image/3Z0d3y0u3F1I

ffmpeg is also a great solution to properly encoding h264 mp4’s -

You can then use the `primary` parameter in your JWPlayer setup:
jwplayer(“player”).setup({
file: ‘bunny.mp4’,
title: ‘Bunny’,
image: ‘bunny.jpg’,
width:‘100%’,
primary :‘html5’
});

Kind Regards,
Cooper
Client Support Engineer, JWPlayer

This question has received the maximum number of answers.