Thanks. How were you able to tell what encoding it was using? The converter I am using (Handbrake) said I was converting the video to H.264

jimlongo

Oct 21 2013, 05:03 PM

I downloaded the video directly from it's URL in the sourceOpened it in QuickTime Pro.Then using the inspector I was able to see what the video was composed of. (Quicktime non-pro would also show this just a little less info.)

Doug D at UNC

Oct 21 2013, 05:07 PM

QUOTE(jimlongo @ Oct 21 2013, 06:03 PM)

I downloaded the video directly from it's URL in the sourceOpened it in QuickTime Pro.Then using the inspector I was able to see what the video was composed of. (Quicktime non-pro would also show this just a little less info.)

it plays in Firefox, but in IE9, only one second of it plays. Why does it play on their server but not mine? I used almost the same code.

jimlongo

Oct 21 2013, 05:47 PM

I don't know the bunny plays fine in Safari as well.Maybe try removing the onerror tag. Start with the simplest case possible, adding things until it breaks.

As for JVT being the same as H.264 maybe someone forgot to tell MS. ?

I know HTML5 video is supposed to be very straightforward in theory, but in practice I've run into the same type of codec/browser/server problems that you are experiencing.I've found that using a player is the way to go nowadays.Javascript player with Flash fallback, I use JWPlayer and I haven't had any issues.

I don't know the bunny plays fine in Safari as well.Maybe try removing the onerror tag. Start with the simplest case possible, adding things until it breaks.

As for JVT being the same as H.264 maybe someone forgot to tell MS. ?

I know HTML5 video is supposed to be very straightforward in theory, but in practice I've run into the same type of codec/browser/server problems that you are experiencing.I've found that using a player is the way to go nowadays.Javascript player with Flash fallback, I use JWPlayer and I haven't had any issues.

I know I encoded the file as H.264. I did check the mime type and it is correct. I will try some type of flash player.

Doug D at UNC

Oct 21 2013, 06:18 PM

Also, I tried video.js, and it didn't work for me.

Doug D at UNC

Oct 22 2013, 02:47 PM

I figured it out. It was that the request was going through the CMS I was using. The CMS can't handle requests for partial files, so it just outputs the entire thing each time. So, in my .htaccess I made it so that my mp4 files would not be routed through the CMS anymore and it started working.

Sorry about the trouble, that was one I hadn't even thought of.

jimlongo

Oct 22 2013, 02:52 PM

Good one.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.