The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> video help
htmlbeg
post 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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post 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.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post 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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 4 2012, 01:43 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Have they removed EMBED again?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 4 2012, 05:31 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 07:07 AM