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

Chrome problems


Hi

win7 64 bit Chrome 23

link - www.world-war.co.uk/demo1.html

I am having a problem getting videos to run in Chrome
the videos are MP4 - H.264, and they work fine on IE, Firefox and Safari

in Chrome all I get is a blank screen and an error report

Resource interpreted as Image but transferred with MIME type text/html: "http://127.0.0.1/video.php3". jwplayer/jwplayer.html5.js:1
ah.redraw jwplayer/jwplayer.html5.js:1
Resource interpreted as Image but transferred with MIME type text/html: "http://127.0.0.1/video.php3". awmlib2.js:10
aCo awmlib2.js:10
(anonymous function)

the code is
<div id='intro'></div>
<script type='text/javascript'>
jwplayer('intro').setup({
file: 'jwplayer/iaf.mp4',
image: "jwplayer/thumbs/intro.jpg",
skin: "jwplayer/fs40/fs40.xml",
width: '425',
height: '300'
});
</script>

any help much appreciated
thanks .. Mike

26 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

This works in Chrome for me, did you fix this?

JW Player

User  
0 rated :

no changes, and it still doesnt work for me

have uninstalled and reinstalled with no extensions and I still cant get it to work

just get a black screen

had another report from a Chrome user that he can only get a few seconds of play

Ethan Feldman

JW Player Support Agent  
0 rated :

Can you have others check this? It works here…

JW Player

User  
0 rated :

more research and it seems Chrome and the player are causing some very odd symptoms.

extract from the site log below

I load the page at 15:47:01
at 15:47:02 the page loads a further 2 times
at 15:47:44 I click a video in the playlist
the page reloads 6 more times

this only happens in Chrome, in IE there is only 1 page load

the log below is from my home PC server, it does the same thing on the production server

its on my site here - www.world-war.co.uk/scharnhorst1.php3

I dont know if this is related to the videos not showing ?

hope it helps
Mike

127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 37205 "http://127.0.0.1/index.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Countries/scharnhorst_dec40.jpg HTTP/1.1" 200 20490 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Countries/scharnhorst43.jpg HTTP/1.1" 200 20218 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Countries/northcape_map.jpg HTTP/1.1" 200 17289 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Edinburgh/belfast42.jpg HTTP/1.1" 200 61952 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Edinburgh/belfast_ice.jpg HTTP/1.1" 200 82607 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Countries/saumarez.jpg HTTP/1.1" 200 24485 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Countries/duke_of_york45.jpg HTTP/1.1" 200 25641 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=Fiji/jamaica_torp.jpg HTTP/1.1" 200 30166 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:01 +0000] "GET /rotate.php3?ship=germany/scharnhorst_survive.jpg HTTP/1.1" 200 20669 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:02 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 37205 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:02 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 37205 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:44 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 37205 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:47 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 37205 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:47 +0000] "GET /jwplayer/scharn.mp4 HTTP/1.1" 200 1884318 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:47 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 37205 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:48 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 37205 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:48 +0000] "GET /jwplayer/norway.mp4 HTTP/1.1" 200 2521635 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [28/Dec/2012:15:47:49 +0000] "GET /scharnhorst.php3 HTTP/1.1" 200 6102 "http://127.0.0.1/scharnhorst.php3" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"

Ethan Feldman

JW Player Support Agent  
0 rated :

This still works for me. Have you had others check?

JW Player

User  
0 rated :

OK progress made

my son's PC works fine with this page on Chrome so its obviously a problem with my setup.
I have got it to work on both his and mine by using
sources: [
{ file: "jwplayer/rn_cruisers.ogv" },
{ file: "jwplayer/rn_cruisers.mp4" }
],

and it now works on everything apart from Opera, which only delivers audio.

the last issue I have is why Chrome plus jwplayer is calling multiple instances of the PHP page. If I remove the jwplayer calls, then the problem goes away. And it doesnt happen on any other browser.
It occurs on both my domestic PC (windows) and production server (Linux), from both my PC and my son's PC.
The issue causes a problem for me as the site detects multiple page calls and treats it as bad usage.

do you have any idea what might be causing this ?
thanks .. Mike

JW Player

User  
0 rated :

one more thought

I copied the resultant code from the PHP page, and ran it as an html page, and got exactly the same results - see below

so its not a result of anything in the php environment

IE produces a single call to the html page

127.0.0.1 - - [30/Dec/2012:20:08:07 +0000] "GET /test.html HTTP/1.1" 304 - "http://127.0.0.1/test.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [30/Dec/2012:20:08:08 +0000] "GET /test.html HTTP/1.1" 304 - "http://127.0.0.1/test.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [30/Dec/2012:20:08:09 +0000] "GET /test.html HTTP/1.1" 304 - "http://127.0.0.1/test.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [30/Dec/2012:20:08:13 +0000] "GET /jwplayer/norfolk.ogv HTTP/1.1" 304 - "http://127.0.0.1/test.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [30/Dec/2012:20:08:13 +0000] "GET /test.html HTTP/1.1" 304 - "http://127.0.0.1/test.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11"
127.0.0.1 - - [30/Dec/2012:20:08:17 +0000] "GET /test.html HTTP/1.1" 304 - "http://127.0.0.1/test.html" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97

Ethan Feldman

JW Player Support Agent  
0 rated :

I see those warnings but everything plays fine.

The only error I see is this:

http://www.world-war.co.uk/jwplayer/thumbs/norway.png 404 (Not Found)

JW Player

User  
0 rated :

problem sorted - sorry to take up your time

it was being caused by the FS40 skin, removed it and the problem went away.

One request, is it possible to have an option so the playlist will only play the requested video, and not fall through all the videos in the list ?

thanks .. Mike

Ethan Feldman

JW Player Support Agent  
0 rated :

Np. Glad you got it.

Regarding only playing one video at a time, it is possible to do this with our JavaScript API and the onComplete event, however, there is an issue that has to be fixed in the player first in a future version so this actually works correctly.

JW Player

User  
0 rated :

I am seeing this same issue in Chrome 24

JW Player

User  
0 rated :

More info:

JW Player 6

Chrome Version 24.0.1312.56 m

FF and IE10 work fine.

https://icontent.plateau.com/content/customersupport/PrintanOrganizationchartinPDF3.html

What should I do?

Jimmy

JW Player

User  
0 rated :

Sorry! Had to change some things!

The JW6 one is here:
https://icontent.plateau.com/content/customersupport/PrintanOrganizationchartinPDF5.html

I had to revert to an older player to get Chrome 24 to work!

Jimmy

Ethan Feldman

JW Player Support Agent  
0 rated :

I would try out this file, it might be your encoding – http://www.longtailvideo.com/jw/upload/bunny.mp4

JW Player

User  
0 rated :

Ethan

Same file worked fine in older version of JW. how would it be broken now?

Thanks,

Jimmy

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have an example of it working with the older version? It also can be because in JW6 the default mode in HTML5 and the older version was Flash, so you can try to set the player’s primary variable to flash to work around this issue, but chances are the encoding is not right for HTML5 mode…

JW Player

User  
0 rated :

I also have this problem with Chrome 24 without using JW player. I'm inserting a video tag into my page dynamically using innerHTML.

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a link?

JW Player

User  
0 rated :

The chrome making multiple requests thing is something I noticed too. Isn't there some known issue with chrome and html5 video with the preload attribute? Is there a way to trigger the preload attribute on the video tag that jw player generates? I think it would be interesting to test...

JW Player

User  
0 rated :

Or it could just be a chrome bug with long videos... Found this, and I do see this broken behavior for long videos in chrome... To the point where I'm about to revert to flash first as it isn't similarly affected.

http://oddlystudios.com/blog/html5-video-problems-in-chrome/

JW Player

User  
0 rated :

@Micheal

There was an issue, of which there were many, in using Chrome 23 which was corrected in version 24.

The reference article you provided, I suspect was written when/using Chrome23 hence the comments about HTML5 video in Chrome. I personally use primarily FF to develop my web site and use Chrome to verify functionality etc.

I am currently using Chrome 25.0.1364.97 and not experiencing any issues in using native HTML5video on my web site.

Although my web site showcases the feature of the JWPlayer version 5.10.2295 and 6.2.3115, I do have an example using native HTML5 for video which function very well in Gecko and Webkit rendering engines.

To see this in action, visit www.starbase-alpha.com and from the 'teleport menu' select "HTML5 Video" portal.

In viewing that example, the coding used may be viewed by clicking on the 'view code' icon. In a nutshell it uses a playlist that utilizes a multidimensional array, in fact three dimensional.

For example (playlist in part):

bc.. var videos = new Array();

videos[0] = [
"http://media.w3.org/2010/05/bunny/poster.png",
"http://media.w3.org/2010/05/bunny/trailer.webm",
"http://media.w3.org/2010/05/bunny/trailer.mp4"
];
videos[1] = [
"video/images/enigma.jpg",
"video/Enigma - Principal of Lust.webm",
"video/Enigma - Principal of Lust.mp4"
];
.
.
.



Here you can see that the variable 'videos' is a three dimensional array videos[n] = [n] [n] [n].

OK, now we have a populated a videos array that contains
<ol>
<li>a poster image</li>
<li>video in webm formatr</li>
<li>video in mp4 format>
</ol>

Now two things are needed, to load the playlist and how to get them in the video element and with the help of the DOM this is easily accomplished.

<ol>
<li>
bc.. function init()
{
document._video = document.getElementById("HTML5video");
}

document.addEventListener("DOMContentLoaded", init, false);


</li>
<li>
bc.. function switchVideo(n)
{
if (n >= videos.length) n = 0;
var webm = document.getElementById("webm");
var mp4 = document.getElementById("mp4");
var parent = webm.parentNode;
document._video.setAttribute("poster", videos[n][0]);
webm.setAttribute("src", videos[n][1]);
mp4.setAttribute("src", videos[n][2]);

document._video.load();
}



As you can see each array element has the same structure; poster, webm format, mp4 format

Now we need to use all of this information, as follows(as an example):

The video element(tag) is given an ID with its options; this is in fact array[0] to

bc.. <video id="HTML5video"
autoplay
controls
preload='none'
width="370"
height="240"
poster="video/images/sade.jpg"
>
<source id='webm' src="video/Sade - Cherish%20the%20day.webm">
<source id='mp4' src="video/Sade - Cherish%20the%20day.mp4">
<p>Your user agent does not support the HTML5 Video element.</p>

</video>




The videos array from the playlist is displayed and with a mouse click will select another video that may be played.

At the moment, I am in the process of porting this from native HTML5 to the JWP6 and will once completed place it online in order to have a comparison available between using native HTML5 video and that of using the JWPlayer. I am hoping that in the near future a new version, hopefully with VTT support,is released for the JWPlayer as currently I am using JWP6.2.3115 which does have some unrelated issues.

I am not sure if this is of any help for you but at the very least it does five you the fact that native HTML5 video works very well.

Ethan Feldman

JW Player Support Agent  
0 rated :

This might be a chrome specific issue related to <video>.

JW Player

User  
0 rated :

@Ethan

It is IMHO.

remember the email I had sent you regarding video issues with Chrome23 some months ago?

Ethan Feldman

JW Player Support Agent  
0 rated :

Yeah

JW Player

User  
0 rated :

Unfortunately HTML5 video is still a moving target implementation-wise...

I notice this in Chrome because its my primary browser, but I see it in IE9 as well, which makes me suspect that it isn't really a Chrome issue in my case. Also, my test video for this (a 720p 11 minute MP4) only seems to cause an issue on my local virtual machine. It seems to work ok on the server.

The weirdest part is that it will play fine for two or three minutes and then randomly stop somewhere. Which kind of screams "dropped connection", but since I just reproduced it in IE9 on my local virtual machine, I'm kind of wondering if it isn't the VM now....

Ethan Feldman

JW Player Support Agent  
0 rated :

It might be, sometimes when using VMs there are weird issues like this.

This question has received the maximum number of answers.