Jump to content
xisto Community
Sign in to follow this  
mrdee

Why Does Divx Interfere With Html5?

Recommended Posts

Hi everyone,

I hope some HTML5 specialists will read this:

 

I am trying to slim down the code on one of my websites, and at the same time trying to use as little Flash as possible or even better, trying to stop using it altogether if I can.

 

This is why I wrote the following code on my media page:

<video width="450" height="300" controls="controls">  <source src="onzedancingsbinnen10jaar.mp4" type="video/mp4">  <source src="onzedancingsbinnen10jaar.ogg" type="video/ogg">  Your browser does not support the video tag.</video>
The code page also begins with the HTML5 tag '<!DOCTYPE html>'.

 

Whenever I try to access the film, the DivX logo appears within my film screen and then I get a message the film cannot play as it is not a DivX file.

 

However, I never intended it to be a DivX file.

 

My question is: 'How can I let HTML5 execute the file and stop DivX from interfering with it'?

 

Incidentally, my media page can be found at http://forums.xisto.com/no_longer_exists/ and two of the video examples in HTML5 can be found at http://forums.xisto.com/no_longer_exists/ and http://forums.xisto.com/no_longer_exists/.

 

All help will be gratefully appreciated.

 

Thank you in advance.

Share this post


Link to post
Share on other sites

Hi!I tried accessing the page you have linked to, but with all of that Flash content, my browser simply hangs - on Linux, the Flash browser plugin is a CPU hog and cannot handle websites with a lot of Flash content like it does on Windows. I don't know if it was the embedded slideshare presentations that were a little too much for the Flash plugin but it did hang twice where the browser was almost unresponsive and it crashed once. I did get to play one of the videos though, just before the Flash plugin crashed and took the tab with it, and the video works as intended.I think you may have a browser plugin from DivX that attempts to play the video that you have on the page. Look into the list of the plugins that are installed in your web browser - if you are using Firefox, the Tools menu should have an entry for Add-Ons where you can look up the plugins and extensions that you have within your web browser. Plugins are typically used to provide the ability to play certain content whereas extensions can be used to script some functionality into the browser using the Firefox API and provide additional capabilities to the web browser. Try to disable the plugins and give it another go to check if you are able to get the video to play.

Share this post


Link to post
Share on other sites

Thank you, k_nitin_r.

 

First: about the loading and other problems on my page, I am in the middle of doing a complete rewrite of my media page, so I hope to get that sorted soon.

 

Then, about the DivX issue:

 

I have the following DivX plugins:

DivX Plus Web Player 2.2.2.14

DivX VOD Helper Plug-in 1.1.0.6

I tried disabling them in turn, and also disabling them both at the same time.

 

First of all: let me say that I was testing with HTML on my local machine, and films that were on my own Hard Disk Drive.

 

When I disabled both of them simultaneously, I was left with a video screen in my browser, which had a VLC plaer logo in the middle, but nothing played at all.

 

When I disabled the Web Player plug in, I pretty much had the same result.

 

When I disabled the VOD Helper, and left the WebPlayer running, I got a normal screen, but when I clicked "Play", I got the message that the film was of an unrecognised format and hence could not be played.

 

All this was in Firefox.

 

In Google Chrome 24.0.1312.57 m (latest version), however, any setting of the plugins made no difference and played as they should.

 

I did alter a bit of the code and also added a .webm video to the pack.

However, I am wondering, do we have to have the mp4, ogg and webm on our server for the code to work?

This does take up quite a bit of space, I would think.

 

By the way, here is the updated code:

 

<!DOCTYPE html><html lang="en">  <head>    <meta charset="utf-8">    <meta name="generator" content="CoffeeCup HTML Editor (https://coffeecup.com/)">    <meta name="dcterms.created" content="Mon, 18 Feb 2013 00:13:35 GMT">    <meta name="description" content="">    <meta name="keywords" content="">    <title></title>       <!--[if IE]>    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>    <![endif]-->  </head>  <body><video controls="controls">  <source src="onzedancingsbinnen10jaar.webmhd.webm" type="video/webm">  <source src="onzedancingsbinnen10jaar.mp4.mp4" type="video/mp4">  <source src="onzedancingsbinnen10jaar.theora.ogg" type="video/ogg">  Video tag not supported. Download the video <a href="onzedancingsbinnen10jaar.webmhd.webm">here</a>.</video>  </body></html>

Not sure what is happening with Firefox at the moment, but I hope my explanation made some bells ring.

 

Thank you.

Share this post


Link to post
Share on other sites

I have now made a test page at http://forums.xisto.com/no_longer_exists/ and it seems to work when it wants to.
Sometimes DivX interferes with it, sometimes it doesn't.

Yet the code for the page is short and contains just enough code for one film:

<table border="0"  width="100%">  <tr>	 <td><div align="center">  <a name="Dancing">Dancing</a><br />  Een blik in de toekomst.<br>The future foretold.<br>Dit is hoe onze dancings en discotheken er over een tiental jaar zullen uitzien:<br>This is what our discos will look like in about 10 years time:<br><video width="450" height="300" controls="controls">  <source src="onzedancingsbinnen10jaar.mp4" type="video/mp4">  <source src="onzedancingsbinnen10jaar.ogg" type="video/ogg">  <source src="onzedancingsbinnen10jaar.webm" type="video/webm">  Your browser does not support the video tag.</video><br /><a href="#Top">Weer naar boven/Back to top</a></div></td>  </tr></table>

Yet the page still sometimes gives an indication that Shockwave Flash has crashed, although it is not involved.

Share this post


Link to post
Share on other sites

I have now made a test page at http://forums.xisto.com/no_longer_exists/ and it seems to work when it wants to.Sometimes DivX interferes with it, sometimes it doesn't.

Yet the code for the page is short and contains just enough code for one film:

<table border="0" width="100%"><tr>	 <td><div align="center"><a name="Dancing">Dancing</a><br />Een blik in de toekomst.<br>The future foretold.<br>Dit is hoe onze dancings en discotheken er over een tiental jaar zullen uitzien:<br>This is what our discos will look like in about 10 years time:<br><video width="450" height="300" controls="controls"><source src="onzedancingsbinnen10jaar.mp4" type="video/mp4"><source src="onzedancingsbinnen10jaar.ogg" type="video/ogg"><source src="onzedancingsbinnen10jaar.webm" type="video/webm">Your browser does not support the video tag.</video><br /><a href="#Top">Weer naar boven/Back to top</a></div></td></tr></table>

Yet the page still sometimes gives an indication that Shockwave Flash has crashed, although it is not involved.

I have the feeling this problem is related to the browser you're using or your specific codecs. Have you tried multiple browsers to see how they react?

I came to this conclusion based on how "basic" the code is. It's leading me to believe that your PC is the one choosing how to handle the video.

Share this post


Link to post
Share on other sites

I have indeed tried Google Chrome, Firefox, Opera and Internet Explorer.Sure, the code might be basic, but any better suggestions will be welcomed, that is why I am posting here.I took a look at different web sites explaining HTML5 and offering advice and tutorials on how to use HTML5, and, in all honesty, in practically all the places I have visited, the code is just as basic as mine.Thanks.

Share this post


Link to post
Share on other sites

I have indeed tried Google Chrome, Firefox, Opera and Internet Explorer.
Sure, the code might be basic, but any better suggestions will be welcomed, that is why I am posting here.

I took a look at different web sites explaining HTML5 and offering advice and tutorials on how to use HTML5, and, in all honesty, in practically all the places I have visited, the code is just as basic as mine.

Thanks.


I wasn't putting down your method. I haven't really looked into how to embed videos. I was just bringing that stuff up because when I try loading those pages you linked in your posts, all the videos play flawlessly. No stuttering, no errors or anything.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.