video help |
video help |
htmlbeg |
Apr 4 2012, 01:02 PM
Post
#1
|
Newbie Group: Members Posts: 14 Joined: 28-February 12 Member No.: 16,597 |
Hi,
I am trying to put/embed/load a video in HTML 5, and it seems not to be working. :/ I know the extension is wrong, But I cant convert it or it wont play. Also, I dont really know how to get the right video format (I already tried real player converter, and some random online convertor) CODE <h2> Cholestrol <h2> <video width="320" height="240" controls="controls"> <source src="healthy.flv" /> <embed src="healhty.flv" width="320" height="240"> </embed> </video> |
jimlongo |
Apr 4 2012, 01:23 PM
Post
#2
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Flash is not a recognizable video format for use in html5 video tag. Use h264 in an mp4 container.
Also embed is not valid html5 markup. See this post for more. |
jimlongo |
Apr 4 2012, 01:26 PM
Post
#3
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
There are any number of convertors. Handbrake, MiroVideo, Quicktime7, MPEG Streamclip
Mac or WIndows or Linux? |
pandy |
Apr 4 2012, 01:43 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Have they removed EMBED again?
|
jimlongo |
Apr 4 2012, 01:44 PM
Post
#5
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
It's been gone since html4 hasn't it? When it was replaced with object.
HTML5 uses video and audio tags for media. |
pandy |
Apr 4 2012, 05:31 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
It never was in HTML before but HTML5 included it. If still seems to be there.
http://www.w3.org/TR/2011/WD-html5-2011052...e-embed-element |
jimlongo |
Apr 5 2012, 09:30 AM
Post
#7
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Oops!
I guess there is an embed tag, although I can hardly ever understand the Wc3 docs fully. From what I understand that is for applications (plug-ins), which there is a movement away from. So even though embed is valid markup, it isn't so relevant to "embedding video". I mean you can use it, but i wouldn't. |
Lo-Fi Version | Time is now: 23rd April 2024 - 01:48 AM |