Almost found a turnaround for the AMP issue, see the results.

Home Forums Webmaster Discussion Almost found a turnaround for the AMP issue, see the results.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4246 Reply
    Jurgen
    Guest

    I already have 4 Blogs with, amp, I inserted the kenplayer code using an ACF, and then inserting the php code that disoplays the ACF into an AMp template.

    The result is as follows:

    asianxxx.site/2018/01/24/mature-asian-milf-fucks-white-cock-x-video-asia/amp/

    I thought i utterly succeeded in doing that, but now i began to get fatal errors from the google webmaster tools,

    basically, the errors, are because the kenplayer, transformed the kenplayer tags to iframes like this:
    <iframe src=”http://www.asianxxx.site/wp-content/plugins/kenplayer-transformer/player/player.php?tubeserver=redtube&id=2619&#8243; frameborder=”0″ allowfullscreen mozallowfullscreen webkitallowfullscreen msallowfullscreen width=”735″ height=”400″></iframe>

    Then the AMP validation considers that the label iframe can only be under a noscript thag (which removes the video), or i have to change the iframe tag to an amp-iframe tag.

    this is de docs: ampproject.org/docs/reference/components/amp-iframe

    basically i have to do something more or less like this

    <amp-iframe width=735 height=300
    layout=”responsive”
    sandbox=”allow-scripts allow-same-origin”
    resizable
    src=”http://www.asianxxx.site/wp-content/plugins/kenplayer-transformer/player/player.php?tubeserver=redtube&id=2619″&gt;
    <div overflow tabindex=0 role=button aria-label=”Read more”>Read more!</div>
    </amp-iframe>

    (the overflow and the resizable are also a requirement)

    Now is were io got stuck, as i went to the wordpress dashboard, then to pugins, editor and after selecting the kenplayer plugin, i found a lot of codes, but i do not know were is the function that changes the kenplayer tag to that iframe. were can i find it so i can modify the iframe to an amp-iframe?

    #4247 Reply

    Welcome Jurgen.

    Sorry, but I have no idea how to implement. I have my own coder that does things like these. I might try to contact the owner of XWPThemes.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Almost found a turnaround for the AMP issue, see the results.
Your information: