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

Prompt for Flash or java install?


Hello,

We have jwplayer embedded into our website and we are finding more and more that people dont have flash or java installed and aren't being prompted in anyway to update or install these crucial components, and as a result they cant see our live feeds and don't know what to do. Is there anything we can add to the embed code that can prompt them to download these?

Thanks so much for all of your help

14 Community Answers

MisterNeutron

Best Answer 

JW Player is very tolerant about specifying booleans and integers as if they were strings, but it's a bad habit to get into. True and false are booleans, not strings. In other words, the value isn't the letters t, r, u, and e, put together into a string.

As a general rule in programming, only strings should be quoted. So,

file: "http://example.com/video.mp4",
fallback: false,
width: 720,
stretching: "uniform"

View in conversation

Ethan Feldman

JW Player Support Agent  
-1 rated :

You can put a message inside of the div that the player replaces, with a message to install. You also need to set the player’s fallback variable to false.

MisterNeutron

User  
-1 rated :

If you're using JW Player 6, and feeding it MP4's, the only users who need Flash are those running IE8, Firefox on WinXP or OSX, or Opera. All modern browsers just use their native video capabilities.

The exception is RTMP, which is a Flash-only technology. All site visitors would need Flash to be able to view an RTMP feed.

There is no Java in JW Player at all.

Please give us a link to your site.

webmaster

User  
0 rated :

Thanks for your feedback guys, the player version is 6 and we are mostly doing RTMP with fallback to mp4 whenthe stream is offline. This config is working great but some of these people either have an old version of flash or its not installed at all. The website is bargainsbeyond.com

<script src="http://jwpsrv.com/library/KcMWZuH8EeOpKiIACmOLpg.js"></script>
<div class="contentcontainer">
<div id='playerjxUzssOPWgxA'></div>
<script type='text/javascript'>
jwplayer('playerjxUzssOPWgxA').setup({
file: 'rtmp://urlmasked.for.security.com',
image: 'http://www.bargainsbeyond.com/assets/images/intro.png',
width: '635',
height: '360',
autostart: 'true',
controls: 'true',
primary: 'html5',
rtmp: { subscribe: true }
});
jwplayer().onError(function(){
jwplayer().load({file:"http://www.bargainsbeyond.com/intro.mp4"});
});
jwplayer().onComplete(function(){
window.location = window.location.href;
});
jwplayer().onBuffer(function(){
theTimeout = setTimeout(function(){
jwplayer().load({file:"http://www.bargainsbeyond.com/intro.mp4"});
},15000);
});
jwplayer().onPlay(function(){
clearTimeout(theTimeout);
});
</script>
<div id="bidnowpage"></div>
</div>

Ethan Feldman

JW Player Support Agent  
1 rated :

Put a message in:

<div id='playerjxUzssOPWgxA'></div>

For example:

<div id='playerjxUzssOPWgxA'>Update Flash</div>

And under:

primary: ‘html5’,

Add:

fallback:false,

webmaster

User  
0 rated :

Thanks so much for your reply Ethan..I adjusted that.. I did try to test on a remote server with IE 11 and the error I see is:

Error loading player:
No playable sources found

I'm guessing this is what some of our customers are seeing, I'm not sure yet how to fix that.. I know there is documentation on that somewhere any help would be great. But I will try and test on some other systems to see how it looks.. I also changed the primary to flash since its flash we'll be using.. Is that correct?

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have an example of where this is running?

webmaster

User  
0 rated :

Yes the code is live at: http://www.bargainsbeyond.com

Ethan Feldman

JW Player Support Agent  
1 rated :

fallback: ‘false’,

Should be:

fallback: false,

webmaster

User  
0 rated :

Ethan ,

That worked, I should have listened to you the first time, I dont know why I thought I could make the syntax like all the other entries in the code. Thanks so much man your guys are awesome!

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

mark

User  
0 rated :

I have always used fallback: ‘false’, is this wrong. What exactly does it do anyway

Ethan Feldman

JW Player Support Agent  
0 rated :

This disables the player’s download fallback.

MisterNeutron

Best Answer  User  
0 rated :

JW Player is very tolerant about specifying booleans and integers as if they were strings, but it's a bad habit to get into. True and false are booleans, not strings. In other words, the value isn't the letters t, r, u, and e, put together into a string.

As a general rule in programming, only strings should be quoted. So,

file: "http://example.com/video.mp4",
fallback: false,
width: 720,
stretching: "uniform"

Ethan Feldman

JW Player Support Agent  
0 rated :

Indeed.

This question has received the maximum number of answers.