Video.js: Video not played with type="video/quicktime"

Created on 3 Apr 2013  Â·  15Comments  Â·  Source: videojs/video.js

Video not play in Chrome, Workded after change type="video/mp4"

Is this a bug of video-js? Carrierware recognize .mov content_type to "video/quicktime", and all the .mov can't played in video-js player.

<video id="video_3" class="video-js vjs-default-skin" controls="" preload="none" width="768" height="576" poster="/video/29/3/poster.png" data-setup="{}">
<source src="/video/29/3/051-rails-routing.mov" type="video/quicktime">
</video>




Most helpful comment

You've got to use formats and codecs that browsers can play. MP4s are only widely playable with the h264 and aac codecs. MOV isn't supported in HTML5 video.

All 15 comments

Video.js passes the mime type you supply directly to the browser to check if the type is supported, so if video/quicktime doesn't work, then the browser is saying it can't support it. Or there's an error in the file that's blocking playback. You can see what mime types are supported in your browser here:
http://videojs.com/projects/mimes.html

On Apr 3, 2013, at 6:13 AM, shenhf [email protected] wrote:

Video not play in Chrome, Workded after change type="video/mp4"

Is this a bug of video-js? Carrierware recognize .mov content_type to "video/quicktime", and all the .mov can't played in video-js player.

—
Reply to this email directly or view it on GitHub.

I had this issue too, and solved it by just not supplying the mime type at all if it's not one of the 3 that video.js has listed on its website.

switch (mime_type) {
case 'video/ogg':
case 'video/mp4':
case 'video/webm':
break;
default:
mime_type = false;
}

Keep in mind that using unsupported mime types might work sometimes, but will most likely not play well cross-browser. The Flash fallback, for instance, only supports h264 (mp4), so be wary of using anything beyond the "blessed" html5 containers.

Very true. In the application I used it in though, we do not supply multiple video formats. The videos are user's files which they uploaded, and we do not have the resources to create and store all the different formats. Letting the browser figure out what to do (load quicktime, play using html5 video, etc.).

Bad link to the mimes document.

@HeyWrecker found the old page and put it back up here: http://videojs.com/mimes.html

@akinne please help.... how did you get it to work for you? i would like to allow users to upload .mov and all cell phone mp4's and play them back in chrome. however, chrome will not play either format

i am using rails and here is my video.js code " <%= videojs_rails sources: {mp4: @listing.pin_image.url, webm: @listing.pin_image.url, ogg: @listing.pin_image.url }, autoplay: true, setup: "{}", width:"450", height:"450" do%>
<% end %> for some reason i cant play .mov and some mp4 videos...

You've got to use formats and codecs that browsers can play. MP4s are only widely playable with the h264 and aac codecs. MOV isn't supported in HTML5 video.

Thanks but i am new to raiks how do i do this please help

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: mister-ben notifications@github.com
Date: 1/23/17 2:10 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with type="video/quicktime" (#423)

You've got to use formats and codecs that browsers can play. MP4s are only widely playable with the h264 and aac codecs. MOV isn't supported in HTML5 video.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/videojs/video.js/issues/423#issuecomment-274586172, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASmJ7Dy6zJxNsgym6ndd5yHSodv8d2Y7ks5rVPswgaJpZM4AjGsO.

Or better yet what do i do.. i need to know how to convert the video for the user when they upload their videos

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: mister-ben notifications@github.com
Date: 1/23/17 2:10 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with type="video/quicktime" (#423)

You've got to use formats and codecs that browsers can play. MP4s are only widely playable with the h264 and aac codecs. MOV isn't supported in HTML5 video.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/videojs/video.js/issues/423#issuecomment-274586172, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASmJ7Dy6zJxNsgym6ndd5yHSodv8d2Y7ks5rVPswgaJpZM4AjGsO.

You would need to set-up some type of transcoder on your server (for
example, ffmpeg) that receives the file and transcodes it to an HTML5
friendly codec. I'm not familiar with Rails so I can't give you the details
of how that would be set-up.

On Mon, Jan 23, 2017 at 3:56 PM, myconnec notifications@github.com wrote:

Or better yet what do i do.. i need to know how to convert the video for
the user when they upload their videos

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: mister-ben notifications@github.com
Date: 1/23/17 2:10 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with
type="video/quicktime" (#423)

You've got to use formats and codecs that browsers can play. MP4s are only
widely playable with the h264 and aac codecs. MOV isn't supported in HTML5
video.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub videojs/video.js/issues/423#issuecomment-274586172>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
ASmJ7Dy6zJxNsgym6ndd5yHSodv8d2Y7ks5rVPswgaJpZM4AjGsO>.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/videojs/video.js/issues/423#issuecomment-274614102,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCIMqDhGbJ95y0NJYx1y71RSLSPFpIQks5rVRPqgaJpZM4AjGsO
.

Thanks for the insight however i know what is needed from what I've research, i need to know how to write it in rails so that it fits in my project.. i cant find rails example. Btw i am using Cloud9

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: Rick Zawadzki notifications@github.com
Date: 1/23/17 4:11 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with type="video/quicktime" (#423)

You would need to set-up some type of transcoder on your server (for
example, ffmpeg) that receives the file and transcodes it to an HTML5
friendly codec. I'm not familiar with Rails so I can't give you the details
of how that would be set-up.

On Mon, Jan 23, 2017 at 3:56 PM, myconnec notifications@github.com wrote:

Or better yet what do i do.. i need to know how to convert the video for
the user when they upload their videos

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: mister-ben notifications@github.com
Date: 1/23/17 2:10 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with
type="video/quicktime" (#423)

You've got to use formats and codecs that browsers can play. MP4s are only
widely playable with the h264 and aac codecs. MOV isn't supported in HTML5
video.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub videojs/video.js/issues/423#issuecomment-274586172>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
ASmJ7Dy6zJxNsgym6ndd5yHSodv8d2Y7ks5rVPswgaJpZM4AjGsO>.

-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/videojs/video.js/issues/423#issuecomment-274614102,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCIMqDhGbJ95y0NJYx1y71RSLSPFpIQks5rVRPqgaJpZM4AjGsO
.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/videojs/video.js/issues/423#issuecomment-274618064, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASmJ7NZfa3oRUbeaJjThmF2DbOQ4OLc_ks5rVReSgaJpZM4AjGsO.

You could look to see if there are any existing libraries that extend Rails
to include a transcoder. Otherwise, you'll have to write a service in Rails
that calls / executes FFMPEG. For example, I've used the ColdFusion
to issue a command to FFMPEG in the past. To try to write a
transcoder on your own is something I don't think you want to involve
yourself in.

On Mon, Jan 23, 2017 at 8:53 PM, myconnec notifications@github.com wrote:

Thanks for the insight however i know what is needed from what I've
research, i need to know how to write it in rails so that it fits in my
project.. i cant find rails example. Btw i am using Cloud9

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: Rick Zawadzki notifications@github.com
Date: 1/23/17 4:11 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with
type="video/quicktime" (#423)

You would need to set-up some type of transcoder on your server (for
example, ffmpeg) that receives the file and transcodes it to an HTML5
friendly codec. I'm not familiar with Rails so I can't give you the details
of how that would be set-up.

On Mon, Jan 23, 2017 at 3:56 PM, myconnec notifications@github.com
wrote:

Or better yet what do i do.. i need to know how to convert the video for
the user when they upload their videos

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: mister-ben notifications@github.com
Date: 1/23/17 2:10 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment <
[email protected]>
Subject: Re: [videojs/video.js] Video not played with
type="video/quicktime" (#423)

You've got to use formats and codecs that browsers can play. MP4s are
only
widely playable with the h264 and aac codecs. MOV isn't supported in
HTML5
video.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub videojs/video.js/issues/423#issuecomment-274586172>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
ASmJ7Dy6zJxNsgym6ndd5yHSodv8d2Y7ks5rVPswgaJpZM4AjGsO>.

-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/videojs/video.js/issues/423#issuecomment-274614102,
or mute the thread
ADCIMqDhGbJ95y0NJYx1y71RSLSPFpIQks5rVRPqgaJpZM4AjGsO>
.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub videojs/video.js/issues/423#issuecomment-274618064>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
ASmJ7NZfa3oRUbeaJjThmF2DbOQ4OLc_ks5rVReSgaJpZM4AjGsO>.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/videojs/video.js/issues/423#issuecomment-274677631,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCIMtxLsb0Awgoa1ObrliR0pUM7svOcks5rVVl_gaJpZM4AjGsO
.

Got it thanks i will research that

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: Rick Zawadzki notifications@github.com
Date: 1/24/17 8:02 AM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with type="video/quicktime" (#423)

You could look to see if there are any existing libraries that extend Rails
to include a transcoder. Otherwise, you'll have to write a service in Rails
that calls / executes FFMPEG. For example, I've used the ColdFusion
to issue a command to FFMPEG in the past. To try to write a
transcoder on your own is something I don't think you want to involve
yourself in.

On Mon, Jan 23, 2017 at 8:53 PM, myconnec notifications@github.com wrote:

Thanks for the insight however i know what is needed from what I've
research, i need to know how to write it in rails so that it fits in my
project.. i cant find rails example. Btw i am using Cloud9

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: Rick Zawadzki notifications@github.com
Date: 1/23/17 4:11 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment comment@noreply.github.com
Subject: Re: [videojs/video.js] Video not played with
type="video/quicktime" (#423)

You would need to set-up some type of transcoder on your server (for
example, ffmpeg) that receives the file and transcodes it to an HTML5
friendly codec. I'm not familiar with Rails so I can't give you the details
of how that would be set-up.

On Mon, Jan 23, 2017 at 3:56 PM, myconnec notifications@github.com
wrote:

Or better yet what do i do.. i need to know how to convert the video for
the user when they upload their videos

Sent from my Verizon, Samsung Galaxy smartphone

-------- Original message --------
From: mister-ben notifications@github.com
Date: 1/23/17 2:10 PM (GMT-05:00)
To: "videojs/video.js" video.js@noreply.github.com
Cc: myconnec davis.ron@hotmail.com, Comment <
[email protected]>
Subject: Re: [videojs/video.js] Video not played with
type="video/quicktime" (#423)

You've got to use formats and codecs that browsers can play. MP4s are
only
widely playable with the h264 and aac codecs. MOV isn't supported in
HTML5
video.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub videojs/video.js/issues/423#issuecomment-274586172>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
ASmJ7Dy6zJxNsgym6ndd5yHSodv8d2Y7ks5rVPswgaJpZM4AjGsO>.

-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/videojs/video.js/issues/423#issuecomment-274614102,
or mute the thread
ADCIMqDhGbJ95y0NJYx1y71RSLSPFpIQks5rVRPqgaJpZM4AjGsO>
.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub videojs/video.js/issues/423#issuecomment-274618064>, or mute the thread<
https://github.com/notifications/unsubscribe-auth/
ASmJ7NZfa3oRUbeaJjThmF2DbOQ4OLc_ks5rVReSgaJpZM4AjGsO>.

-
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/videojs/video.js/issues/423#issuecomment-274677631,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCIMtxLsb0Awgoa1ObrliR0pUM7svOcks5rVVl_gaJpZM4AjGsO
.

-
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/videojs/video.js/issues/423#issuecomment-274796899, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASmJ7MKP3_wfyLJT-CAxUicLjAB3G9qfks5rVfZPgaJpZM4AjGsO.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

d3x7r0 picture d3x7r0  Â·  4Comments

kitsunde picture kitsunde  Â·  4Comments

pblasi picture pblasi  Â·  3Comments

shivamg705 picture shivamg705  Â·  4Comments

stephanedemotte picture stephanedemotte  Â·  4Comments