By Chaon on Thursday, 28 March 2019
Posted in General Issues
Replies 11
Likes 0
Views 598
Votes 0
Hello all,
Using easyblog composser surely makes life easier but i'm not in that group. I'm using RedactorJS as EB editor and that causes some problems with AMP code. One of the problems occurs with youtube videos, when i input the iframe code from youtube the video works normally on normal view but not showing on amp format of the article.
Is there a way to fix this issue? As you already know blog posts with AMP errors are not getting crawled and google search ignores them.

Thank you
Hi there,

I tried to check this URL https://www.himara.gr/epikairotita/8548-nea-episodiaki-diadilosi-tis-antipolitefsis-stin-alvania at amp validator and it seems that there are no issues at all as you can see here https://take.ms/TNt3z

Can you provide us with those links so that we can further check this issues?
·
Friday, 29 March 2019 10:03
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Friday, 29 March 2019 15:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

There are no issues with this link currently as you can see here https://take.ms/DnoK0. Have you tried them here https://search.google.com/test/amp ? You will need to append ?format=amp as follow.

https://www.himara.gr/prosopa/7430-synentefksi-fredi-beleri-stin-alvaniki-tv?format=amp
·
Friday, 29 March 2019 15:27
·
0 Likes
·
0 Votes
·
0 Comments
·
The article contains a youtube video that in amp format is not displayed.

Check those search console AMP reports
https://snag.gy/Nu0dCX.jpg
https://snag.gy/HnLPmk.jpg
·
Friday, 29 March 2019 15:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I believe you are referring to Google search console error. Can you provide us with your Google search console access so that we can further check this issues.
·
Friday, 29 March 2019 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm not reffering to Google search console error. I'm reffering to the problem that is caused if you dont use Easyblog composser. As i said i use RedactorJS and when i imput youtube iframe code it's not generated corectly to youtube amp code and that causes my issue my youtube videos are not showing in amp.

Here it shows https://snag.gy/HnLPmk.jpg that the youtube iframe is not accepted as a valid attribute.
·
Friday, 29 March 2019 15:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I am not sure how you get those error currently and based on those error shown on your screenshot, it is coming from search console and not amp validator as i validate them using amp validator https://take.ms/jJsLT and here https://take.ms/rT2B1

Maybe you can provide us with those link on where you check them currently so that we can understand better on this issues.
·
Friday, 29 March 2019 16:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Please try your self loading this url
https://www.himara.gr/prosopa/7430-synentefksi-fredi-beleri-stin-alvaniki-tv
as you can see there is a youtube video embed

Now if you check amp format
https://www.himara.gr/prosopa/7430-synentefksi-fredi-beleri-stin-alvaniki-tv?format=amp
The video is not showing and instead it displays error
·
Friday, 29 March 2019 16:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Maybe you can try consult with them regarding this issues and see if they can check this out. Currently we are not really sure how exactly they render those youtube codes currently.
·
Friday, 29 March 2019 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello again Abdul,
what i'm trying to say is that amp is working well only while using Easyblog composser because the amp.php uses some strings that include blocks such as

<?php if (in_array('facebook', $availableBlocks)) { ?>

So if i try to add a facebook item with another editor it wont work because other editors do not handle blocks.
·
Saturday, 30 March 2019 01:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

For youtube, you will need to apply codes below on your iframe tags. You can refer this https://www.himara.gr/prosopa/7430-synentefksi-fredi-beleri-stin-alvaniki-tv blog on how to include them.

[gist type="php"]
sandbox="allow-scripts allow-same-origin allow-popups"
[/gist]

For Facebook, you can remove codes below. Apply them accordingly using template override https://stackideas.com/docs/easyblog/administrators/customizations/template-overriding

[gist type="php"]
<?php if (in_array('facebook', $availableBlocks)) { ?>
<?php } ?>
[/gist]
·
Monday, 01 April 2019 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post