This article applies to: ML8, MultiStore

Add To Cart not working in IE8/9 for Products with embedded YouTube video


Symptoms
In Internet Explorer 8/9 the Add To Cart button does not work for products with embedded YouTube videos, with an error:

SCRIPT5007: Unable to get value of the property 'toLowerCase': object is null or undefined
formvalidate.js, line 924 character 4

Cause
The embedded video causes the error when it is not using an iframe.

Solution
Set the YouTube video in an iframe, as such:

<iframe class="youtube-player" type="text/html" width="540" height="325" src="http://www.youtube.com/embed/VIDEO_ID" frameborder="0"></iframe>