i am trying to implement a video tag of html as
<video controls="controls" tabindex="5">
<source src="Videos/2.webm" type="video/webm">
<source src="Videos/2.ogv" type="video/ogg">
<source src="Videos/2.mp4" type="video/mp4">
</video>
the individual file of webm Plays into a firefox. but when i am integrating with my project it shows X sign. i have made the MIME type Implementation. what possible error is there. thanks for any assistance.
What type of server your project resides on ie Apache server or anything else? If it is Apache server, please try the following lines in your .htaccess file.
AddType video/mp4 .mp4 AddType video/ogg .ogv AddType video/webm .webm
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.