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

JW Player setup - not working in safari


Our setup is using amazon s3, and the jwplayer. I am currently able to get videos to play in all browsers using html5 or flash fallback, ipad as well.

I cannot get safari to work - when i monitor the request to amazon s3 after clicking the play button - there is never a response, and the video player just shows the loading signal.


The video itself, plays fine in safari when i link directly to it. The videoplayer works fine in all other browsers (we serve up 3 different modes to the player) using the load() function.

I can't link to an example currently - but has anyone had any of these same problems?

Any ideas?

34 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You need to provide something so we can debug it. Link definitely needed here.

JW Player

User  
0 rated :

Hey Ethan - can you I send you credentials privately?

Ethan Feldman

JW Player Support Agent  
0 rated :

http://www.longtailvideo.com/support/contact-us

JW Player

User  
0 rated :

Thanks - just submitted the credentials

JW Player

User  
0 rated :

basic setup:
bc.. if ($('#videoPlayer').length){
jwplayer('videoPlayer').setup({
width: 480,
height: 270,
provider: 'video',
modes: [
{
type: 'html5'
},
{
type: 'flash',
src: '/bmiqpro_core/bmiqpro/video/player.swf',
stretching:'exactfit'
}
]

});
}



For the video module -we attach three amazon links to the link element

We are loading our video in a modal window

I recently added the timeout hoping that would help out, but so far it is has not.

Bascially we create an object to pass to the player for the thumbnail and the different levels.

bc.. var videoModule = (function(){
var videoOverlay,trigger = $('[data-jsAgent="videoContent"]');
var setup = function(){
$("#videoContent").overlay(gblModalSettings);
videoOverlay = $("#videoContent").data('overlay');
bindEvents();
}
var bindEvents = function(){
videoOverlay.onClose(function(){
jwplayer('videoPlayer').stop();
})

$('[data-jsAgent="modalClose"]').click(function(e){
videoOverlay.close();
e.preventDefault();
})

trigger.click(function(e){

videoOverlay.load();
setTimeout(function(){

var dataVideoLevels = trigger.attr('data-videoLevels');
var str = dataVideoLevels.split(',');
var data =[];
for(i=0; i<str.length; i++){
data.push(str[i])
}
dataVideoLevels = data;
var jwObject = {}
jwObject.image = trigger.attr('data-videoImage')
jwObject.levels = [];
jwObject.levels.push(
{'file': dataVideoLevels[2], 'type': 'video/mp4' }, // H.264
{'file': dataVideoLevels[0], 'type': 'video/webm' }, // WebM
{'file': dataVideoLevels[1], 'type': 'video/ogg' } // Ogg
);


jwplayer().load(jwObject)
}, 100);
e.preventDefault();
})
}

return {
init: function(){
setup();
}
}
})();

// Only Run if videoContent modal is present
if($('#videoContent').length){
videoModule.init();
}

Ethan Feldman

JW Player Support Agent  
0 rated :

Hi Nick,

Np. It worked for me. Please note, Safari (at least on Windows), requires that the QucikTime plugin be installed. I would change the mode default to Flash, to work around this issue.

-Ethan

JW Player

User  
0 rated :

Thanks for your help on this. Hoping that will be an okay solution for everyone.

I am pretty sure I have quicktime on the machine I was checking with - mac 10.6.8 and safari 5.1.7 and never got it to play. It just spun and spun and spun - The request never reached amazon

thanks again

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

I am in Dreamweaver CS5.5 building a veterans site for my unit. (iMac 27 10.6.8)

Was hoping jwplayer could save me some time over my current way of displaying video: (Current = http://www.centaursinvietnam.org/Photo/VideoBAP11.html)

Here is the page with the imbed code that I have tried:
http://www.centaursinvietnam.org/Reunion/ireunionCavOwen.html

This is my draft website:
http://www.centaursinvietnam.org/index.html

I am not a programmer and my site has been referred to as an incoherent house of cards; but it does work so far.

Thanks for any help or referral.

Ethan Feldman

JW Player Support Agent  
0 rated :

Hi Bruce,

The video on – http://www.centaursinvietnam.org/Reunion/ireunionCavOwen.html works fine for me?

Did you fix the issue?

Best,
-Ethan

JW Player

User  
0 rated :

Ethan,

I was excited to receive your quick response. The fact that it works somewhere is very encouraging!

I have not changed anything, and it still does not play a video on my iMac 27, on my PC with XP in Firefox 15.0.1 or IE8.

Do I need to adjust the code to activate these browsers?

Bruce

Ethan Feldman

JW Player Support Agent  
0 rated :

You don’t need to adjust it. It might be a computer issue. Can you have others check?

JW Player

User  
0 rated :

Not sure I understand. It has been tested on two computers and 3 browsers.

So I assume you are saying the code is good, but there is some other problem.

1. Do you have suggestions of whom I might talk to?

2. Is there a different way to code it than what I have done, that might work?

JW Player

User  
0 rated :

New info:

I do not have Adobe Flash Player installed on any of my computers, nor do I want it installed.
Could that be the problem?

Does your product not work without Flash?

Bruce

Ethan Feldman

JW Player Support Agent  
0 rated :

It does work without Flash.

Take a look at our site – http://www.longtailvideo.com/players/

This works without Flash.

JW Player

User  
0 rated :

Thank you. I will give it another shot.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np.

JW Player

User  
0 rated :

Ethan,

After I downloaded your latest version and reinstalled everything, it worked!

It is very slow on the loading but I assume that to be the large size (929 x 523"). I will have to kick it down to a smaller 622 x 350 and see how that goes.

What would it cost us to have code to take the watermark logo off? We are a no profit military vet site, if that makes any difference.

Thanks for your help.

Bruce

Ethan Feldman

JW Player Support Agent  
0 rated :

Np!

Hm, where is this running?

We can give you a discount, please email us about it – http://www.longtailvideo.com/support/contact-us

JW Player

User  
0 rated :

I've been screwing with it so you probably couldn't get it for the last few hours.

Try: http://www.centaursinvietnam.org/Reunion/ireunionCavOwen.html

I need to center it and provide some background fill.

I loads really slow, but I don't want to go any smaller with the size. I'm playing with Compressor 4 (from FCPX) to find some better settings.

Question: When I click on it for full screen it doesn't center the video on the screen. Is there an adjustment for that?

Bruce

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm, it takes about 15 seconds to load for me, then starts playing pretty fine? I am on a home cable connection.

Regarding your issue, try this:

under:

image: “/jwplayer/CentMultiMediaProd929.jpg”,

Add:

stretching: “exactfit”,

Does that help at all?

I think you could save some load time by slightly reducing the video’s file size, though.

JW Player

User  
0 rated :

When I first tried the "exactfit" it did not work. After recompressing the mov trying to make it smaller to load faster, and shuffling some of the divs and graphics, it now centers when I go to full screen.

I'm going to take this "Owen" mov and recompress and set it up as I did the 8mm movies (HTML video player) to see if it loads any faster. I can't go any less on the video quality. I cannot find anyone on the internet that knows how to make a good quality yet fast loading video at the 640 x 360 size (smallest acceptable size).

Can I add code to make jwplayer do "autoplay"?

Bruce

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok, glad you got that working…yes, you can add a variable called “autostart”, set it to “true”.

JW Player

User  
0 rated :

Success at last. Apparently the biggest problem I had was using the .m4p extension on my compressed movie. I simply changed it to .flv, and it works perfectly and loads fast on my none Flash Mac system. I don't understand at all. Just read the idea on line and tried it.

Do you have any idea what is going on here? It is not important to me but just curious. I just want it to work.

Bruce

JW Player

User  
0 rated :

Disregard last message. I tested this idea on my other computers (replacing .m4p with .flv) and it works just the same with either. It does however mess up the iphone and ipad playing.

I must have had a loaded version of the movie on my browser somewhere.

It sure was great to see everything working quickly for a while, even if it was a fluke.

There must be someway to fix this.

Bruce

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm…where is that running?

JW Player

User  
0 rated :

http://www.centaursinvietnam.org/Reunion/ireunionCavOwen.html

Ethan Feldman

JW Player Support Agent  
0 rated :

Try to run this tool on your file – http://renaun.com/blog/2010/06/qtindexswapper-2/

JW Player

User  
0 rated :

I ran that program on my .flv and got:

Version: /Users/user/Desktop/Web4site/jwplayer/OwenJoePre2.flv -
Atom Metadata: [code: ftyp,size: 32,offset: 0]
Atom Metadata: [code: moov,size: 59266,offset: 32]
Atom Metadata: [code: free,size: 8,offset: 59298]
Atom Metadata: [code: free,size: 8,offset: 59306]
Atom Metadata: [code: mdat,size: 28656077,offset: 59314]
ERROR: MOOV is in proper place, processing not needed.
Completed Time: 0.003s

Ethan Feldman

JW Player Support Agent  
0 rated :

Sorry, for FLVs, use this tool – http://www.buraks.com/flvmdi/

JW Player

User  
0 rated :

Doesn't seem to work on a Mac.

Ethan Feldman

JW Player Support Agent  
0 rated :

Ah, hmm, maybe one of the programs here? – http://www.highdots.com/forums/macromedia-dreamweaver/flv-metadata-injector-mac-osx-125970.html

JW Player

User  
0 rated :

Ethan,

I appreciate your assistance, but have reached a point where I have to give it up and go back to straight html 5 coding ("Video for everyone" article on line").

Your product works well on iMac with Safari but not enough others to make it worth while.

I'm sure you will eventually work out all the bugs. Best of luck.

Bruce

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

This question has received the maximum number of answers.