otuatail Posted October 6, 2010 Share Posted October 6, 2010 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 https://forums.phpfreaks.com/topic/215289-html5/ Share on other sites More sharing options...
SuperBlue Posted October 10, 2010 Share Posted October 10, 2010 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 https://forums.phpfreaks.com/topic/215289-html5/#findComment-1120724 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.