Jump to content

HTML5


otuatail

Recommended Posts

Hi I am trying to get into HTML5 but I need to work out how to set a page up. Do I need to install software on the server? As I am not rich enougf to own my own web hosting company, I have to rely on paying a provider for my website. Te code I found on a website seems to require some kind of oog software. My website is hosted on Unix

<!DOCTYPE HTML>
<html>
<body>

<video width="320" height="240" controls="controls">
  <source src="movie.ogg" type="video/ogg" />
  <source src="movie.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>

</body>
</html>

TIA

Desmond.

Link to comment
Share on other sites

It doesn't require anything. Ogg is a open format. If your browser supports the video element, then you likely just need the appropriate codec installed.

 

Streaming is really just a matter of playing the file while downloading, mostly anyway. You don't need any special server configuration for that.

 

I don't know much about HTML5 as of yet. And i have no interest in learning more about it, before it has reached maturity. However, having two source elements makes little sense, especially when the other is linking to a mp4 file. So unless the browser is to guess at what file you want it to play, i can imagine it would be best to remove the other reference.

 

You might also need to define which codec is to be used. I.e.

<source src='movie.ogv' type='video/ogg; codecs="theora, vorbis"'>

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.