Antenna
ExpressionEngine 1.x, ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4
Back to this add-on's main page
View Other Add-ons From Vector Media Group
Getting a strange closing parentheses for Youtube videos
Bug Report
soopafly
|
Posted: 12 March 2014 02:01 AM |
|
|
|
Like the title says, we’re getting a strange closing parentheses “)” after each Youtube video (see attached screenshot). Vimeo videos seem fine however. I combed through the template and nothing seems out of the ordinary. Wondering if there’s something strange going on with Youtube? We’re running EE 2.7.3 and Antenna 1.2.5
Here is the relevant code block for our videos:
{exp:antenna url='{video_url}' max_width="1080" cache_minutes="120" wmode="transparent|opaque|window"} {if embed_code} {embed_code} {if:else} <p>Oops, no video to display here.</p> {/if} <header> <h1 class="headline" itemprop="name">{title}</h1> <div class="videodetails"> <h2>Title: <em itemprop="description">{video_title}</em> <span>Author: {video_author}</span></h2> </div>{!-- #videodetails --} <div class="byline"> <time datetime="{entry_date format='%Y-%m-%d'}" title="{entry_date format='%F %d, %Y'}">{entry_date format='%F %d, %Y'}</time><a href="{current_url}#disqus_thread" class="comments" title="Comments" data-disqus-identifier="oursite_{entry_id}">Comments</a> {exp:low_variables:parse var='lv_author' preparse:article_author_id="{author_id}" preparse:article_author="{author}"} <div class="social"> <p>Share this</p> {lv_sharethis} </div> </div> <meta itemprop="thumbnail" content="{video_mediumres}" /> </header> {/exp:antenna}
|
|
|
soopafly
|
Posted: 13 March 2014 12:42 AM |
# 1
|
|
|
Looks like I’m not alone. I did a search on anyone using the Assets plugin, and it looks like all their websites have the closing parentheses appended just after their videos as well.
See here:
http://www.tokyoblade.com/
http://www.chewvalleytrees.co.uk/index.php/guides/article/fitting-trees-into-your-car
http://www.rockoutschool.com/news
|
|
|
Matt Weinberg
|
Posted: 13 March 2014 12:00 PM |
# 2
|
|
Developer
|
Thanks for the email. I haven’t received a bug report about this before, and Antenna and Assets is a very widely used combination, so I don’t think this is happening universally.
What version of Assets are you using? And can you look at the minimum amount of template code necessary to recreate the issue? I think we need to remove the actual HTML markup so it’s just whatever EE tags reflect the issue.
|
|
|
soopafly
|
Posted: 13 March 2014 01:30 PM |
# 3
|
|
|
Thanks Matt, we’re on Assets 2.2.2. I’ll see if i can create a new template with minimum code
|
|
|
soopafly
|
Posted: 13 March 2014 03:31 PM |
# 4
|
|
|
Ok, so I stripped down the template to it’s very bare minimum, so the only thing that is being outputted is the Youtube iframe. See below:
<iframe width="1080" height="608" src="http://www.youtube.com/embed/JLFDOT9sOpY?feature=oembed" frameborder="0" allowfullscreen></iframe>)
The closing parentheses is still being appended just after the </iframe>
Here is everything that’s in my template:
{exp:channel:entries channel="videos" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="on" require_entry="yes" limit="1" }
{exp:antenna url='{video_url}' max_width="1080" cache_minutes="120" wmode="transparent|opaque|window"} {if embed_code} {embed_code} {if:else} <p>Oops, no video to display here.</p> {/if} {/exp:antenna}
{/exp:channel:entries}
|
|
|
Matt Weinberg
|
Posted: 13 March 2014 05:54 PM |
# 5
|
|
Developer
|
Thanks! Do you mind emailing me (S)FTP where I can take a look? matt [at] vectormediagroup [dot] com.
|
|
|
|
Matt Weinberg
|
Posted: 17 March 2014 02:21 PM |
# 7
|
|
Developer
|
Glad you got it figured out! I’m going to close this; let me know if you run into any other issues.
|
|
|