-
AuthorPosts
-
March 3rd, 2013 at 19:48 #4016John
Hi
I am trying to add this code in order to add Rich Snippets to videos. using CR2 HTML Module, opencart version 1.5.4
<div itemprop=”video” itemscope itemtype=”http://schema.org/VideoObject”>
<h2>Video: <span itemprop=”name”>Porcelain Angel Decorations</span></h2>
<meta itemprop=”duration” content=”T1M01S” />
<meta itemprop=”thumbnailUrl” content=”www.irishqualitygifts.com/image/data/Angel_of_joy.jpg” />
<meta itemprop=”contentURL” content=”http://youtu.be/4Diymk8NcfM” />
<meta itemprop=”embedURL” content=”http://youtu.be/4Diymk8NcfM” />
<meta itemprop=”uploadDate” content=”2011-07-05T08:00:00+08:00″ />
<meta itemprop=”height” content=”315″ />
<meta itemprop=”width” content=”420″ />
<object …>
[youtube http://www.youtube.com/watch?v=4Diymk8NcfM?rel=0&autoplay=1&loop=1&playlist=4Diymk8NcfM%5D
</object>
<center><span itemprop=”description”><span style=”font-size:14px;”><strong><span style=”color:#808080;”>See our full Range of Angel Decorations</span> <a href=”http://www.irishqualitygifts.com/Irish-Gifts/Nostalgia-Range”><span style=”font-size:16px;”><span style=”color: rgb(255, 0, 0);”>Buy Now</span></span></a></strong></span></span></center>
</div>But when I save it I get this
<div itemprop=”video” itemscope=”” itemtype=”http://schema.org/VideoObject”>
<h2>
Video: <span itemprop=”name”>Porcelain Angel Decorations</span></h2>
</div>
<p>
</p>
<p>
<meta content=”T1M01S” itemprop=”duration” />
</p>
<p>
</p>
<p>
<meta content=”www.irishqualitygifts.com/image/data/Angel_of_joy.jpg” itemprop=”thumbnailUrl” />
</p>
<p>
</p>
<p>
<meta content=”http://youtu.be/4Diymk8NcfM” itemprop=”contentURL” />
</p>
<p>
</p>
<p>
<meta content=”http://youtu.be/4Diymk8NcfM” itemprop=”embedURL” />
</p>
<p>
</p>
<p>
<meta content=”2011-07-05T08:00:00+08:00″ itemprop=”uploadDate” />
</p>
<p>
</p>
<p>
<meta content=”315″ itemprop=”height” />
</p>
<p>
</p>
<p>
<meta content=”420″ itemprop=”width” />
<object …=””>[youtube http://www.youtube.com/watch?v=4Diymk8NcfM?rel=0&autoplay=1&loop=1&playlist=4Diymk8NcfM%5D</object></p>
<center>
<span itemprop=”description”><span style=”font-size:14px;”><strong><span style=”color:#808080;”>See our full Range of Angel Decorations</span> <a href=”http://www.irishqualitygifts.com/Irish-Gifts/Nostalgia-Range”><span style=”font-size:16px;”><span style=”color: rgb(255, 0, 0);”>Buy Now</span></span></a></strong></span></span></center>Is there a fix for this issue.
Kind regards
John
March 18th, 2013 at 20:01 #4365ZedCryout Creations mastermindThis is what I see with your HTML:
There’s some kind of shortcode in there, [youtube]… Is this for WordPress?Make sure you paste your code in the Source view mode of the editor.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
AuthorPosts
The topic ‘HTML error’ is closed to new replies.