iFrame Size Youtube Class
-
Hello Allen,
I know in the last update you added the iframe class to your plugin it works but not all the time.
I have a lot of posts that are being fetched without the class or any other iframe properties that should be there.this is how its in my code – import.php
$thisExcerpt .= '<p><iframe class="rss_multi_frame" title=".$items["mytitle"]." width="560" height="315" src="'.$items["mylink"].'" frameborder="0" allowfullscreen allowTransparency="true"></iframe></p>'; }but when it fetches the Youtube videos to my site it shows up like this :
<iframe src="http://www.youtube.com/embed/aaLWKX66Up0?rel=0&wmode=transparent" width="300" height="150"></iframe>BUT!!!
when i delete the post and remove from the Trash, then i go into your Plugin Settings (Feed to Post)
and Click ” Click to Fetch Feeds now ” Button it fetches the feed like this :<p><iframe class="rss_multi_frame" title=".$items["mytitle"]." width="560" height="315" src="http://www.youtube.com/embed/aaLWKX66Up0?rel=0&wmode=transparent" frameborder="0" allowfullscreen allowTransparency="true"></iframe></p>Which is Exactly what I want.
I do not know why this is happening but it is happening a lot more often and I keep having to manually change it and have had to resort to going back to using
iframe { width: 560px; height: 315px; }in my CSS
My settings on How often to import post is set to 10 minutes ! could that be why? May be you know why this is happening and can give me some advice.
Thanks.
The topic ‘iFrame Size Youtube Class’ is closed to new replies.