jquery - Javascript manipulation of video tag -


i trying play video on iphone encoded mp4 has wrong extension , mime type (which can't changed on server).

if use like:

<video width="320" height="240" controls>   <source src="internal.mp4" type="video/mp4">   <your browser not support video tag> <video> 

can use javascript / jquery make video player think play file called internal.mp4 playing

http://192.168.0.1/video.tjc 

the source-tag's attribute type made define mime-type, meas browser knows expect, isn't problem. mp4 mime-type doesn't tell browser codec video compressed with. file should in case seems mixed up.

anyways there codec attribute in html5 defined here: http://www.rfc-editor.org/rfc/rfc4281.txt

you should read this, best intro web video: http://diveintohtml5.info/video.html

here find complete list of codec type parameters: http://wiki.whatwg.org/wiki/video_type_parameters


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -