The DivX Web Player Code Generator will generate HTML code you can copy and paste to embed a DivX video into your web page or blog. Simply fill-in the required fields and click the "Generate" button.
DivX Code Generator Help
1. Why does the AJAX on my site stop working after I use the code for recommended videos?
2. Why do the recommendations not work on my site?
3. Why does the 'Send to a friend' feature on the DivX Web Player only allow me to have 10 emails sent per day?
1. Why does the AJAX on my site stop working after I use the code for recommended videos?(Or, why don't the video recommendations work on my site?)
The code generated for the optional recommended videos section uses the jQuery and stepcarousel AJAX libraries for the recommendations. If your web site also uses jQuery for AJAX, you may run into conflicts. One solution is to remove the jQuery code from the DivX Web Player Code Generator code; however this will only work if you use a version of jQuery on your web site compatible with jQuery 1.2.6. Another solution is not to skip the optional video recommendations when generating your code.
You can remove the jQuery code by removing the section below from the generated code:
<script type="text/javascript">/*
* jQuery 1.2.6 - New Wave Javascript
...
...;jQuery.noConflict();</script><script type="text/javascript">
jQuery.noConflict()
And replacing it with the following code:
<script type="text/javascript">
If your site does not use jQuery.noConflict(), then you will further need to search and replace
all the remaining 3 instances of "jQuery" with "$" in the generated code.
More information on jQuery is here.
2. Why do the recommendations not work on my site?
See the answer to the prior question
3. Why does the 'Send to a friend' feature on the DivX Web Player only allow me to have 10 emails sent per day?
This is a security measure to prevent spam.
If you want, you may remove this feature, you can do so by removing the following line from the generated code:
<br/><a id="sendFriendButton" href="...">Send to a Friend</a><script type="text/javascript">if (window.name=="tinyWindow") { document.getElementById("sendFriendButton").style.visibility="hidden"; } </script>