Hi, I am new in web designing, but freequetnly facing problem with embedding video in my html5 web site. It is browers problem also. If chrome show, internet explorer does'nt show.
I am looking for standard embeding code what will help me show my video on all major browsers.
Khalilur_1
0
Newbie Poster
Recommended Answers
Jump to PostIt probably has to do with the encoding. I have a bit about it in a blog at http://blog.comnad.com/ More browsers are actually coming around to be more standard. For a while using …
Jump to Post<video class="empvid" controls preload="none" poster="../img/myvideo.jpg"> <source src="http://www.example.com/media/myvideo.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'> <source src="http://www.example.com/media/myvideo.ogv" type='video/ogg; codecs="theora, vorbis"'> <source src="http://www.example.com/media/myvideo.webm" type="video/webm"> </video>
Jump to PostThe problem with the HTML5 is that not all browsers support the same video codec. Because of this, you will have to encode two to three different video formats to support common browsers. This will take more space.
What I can suggest is to use the .mp4 video and deliver …
All 10 Replies
FaisalSarfraz
0
Newbie Poster
AceStar
0
Newbie Poster
ComNaD
0
Newbie Poster
ComNaD
0
Newbie Poster
Barry_4
commented:
The HTML 5 way to do video
+0
veedeoo
474
Junior Poster
Featured Poster
Khalilur_1
0
Newbie Poster
asimegusta
0
Newbie Poster
aaronplo
0
Newbie Poster
Ashley_9
0
Newbie Poster
Ashley_9
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.