For some odd reason when I have a youtube iframe inside my getResource tpl the iframe drops some properties and the movie is not embedded.
my call:
<ul class="post-carousel">
[[!getResources:default=`No results found`? &parents=`80` &tpl=`youtubeTpl` &includeTVs=`1` &processTVs=`1`]]
</ul><!-- end .post-carousel -->
my tpl:
<li>
<iframe src="[[+longtitle]]" frameborder="0" width="300" height="250" allowfullscreen></iframe>
<div class="entry-meta">
<a href="[[+longtitle]]">
<span class="post-format gallery">Permalink</span>
</a>
<span class="date">[[+editedon:strtotime:date=`%a %b %e, %Y`]]</span>
</div><!-- end .entry-meta -->
<div class="entry-body">
<a href="[[+longtitle]]">
<h5 class="title">[[+pagetitle]]</h5>
</a>
<p>[[+description]]</p>
</div><!-- end .entry-body -->
</li>
the source:
<li class="jcarousel-item jcarousel-item-horizontal jcarousel-item-1 jcarousel-item-1-horizontal" style="float: left; list-style: none; " jcarouselindex="1">
<div class="fluid-width-video-wrapper" style="padding-top: 83.33333333333334%; ">
<iframe src="http://www.youtube.com/watch?feature=player_embedded&v=TdouodIo-fY" frameborder="0" allowfullscreen="" id="fitvid941512"></iframe>
</div>
<div class="entry-meta">
<a href="http://www.youtube.com/watch?feature=player_embedded&v=TdouodIo-fY">
<span class="post-format gallery">Permalink</span>
</a>
<span class="date">Mon May 21, 2012</span>
</div><!-- end .entry-meta -->
<div class="entry-body">
<a href="http://www.youtube.com/watch?feature=player_embedded&v=TdouodIo-fY">
<h5 class="title">my Title</h5>
</a>
<p>some description about this movie </p>
</div><!-- end .entry-body -->
</li>
notice that my iframe width and height are gone.
If I hard code it outside of getResources the movies show as expected...
Any ideas?