• Resolved eddie

    (@ediet)


    Hello!
    I’m install AMP for WP – Accelerated Mobile Pages.
    I have a lot of quizzes from Playbuzz.
    I insert them through the embed like:

    <script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src='https://embed.playbuzz.com/sdk.js';fjs.parentNode.insertBefore(js,fjs);}(document,'script','playbuzz-sdk'));</script>
    <div class="playbuzz" data-id="quizzes_id" data-show-info="false" data-comments="false" data-show-share="false"></div>

    But in the amp version in this place is empty – there is nothing in the code. Although the description of the php-file says:

    /**
     * Converts Playbuzz embed to <amp-playbuzz>
     */

    Is this an add-on for some other plugin or does it not work?

    • This topic was modified 5 years, 2 months ago by eddie.
    • This topic was modified 5 years, 2 months ago by eddie.
    • This topic was modified 5 years, 2 months ago by eddie.
Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please update to the 1.0.12 and see if the issue gets fixed for you?

    Thread Starter eddie

    (@ediet)

    Ahmed, it’s same trouble(

    Thread Starter eddie

    (@ediet)

    Here’s another important thing.
    Now the codes can be of several types, because playbuzz bought.
    Old:

    <script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src='https://embed.playbuzz.com/sdk.js';fjs.parentNode.insertBefore(js,fjs);}(document,'script','playbuzz-sdk'));</script>
    <div class="playbuzz" data-id="quizzes_id" data-show-info="false" data-comments="false" data-show-share="false"></div>

    New:
    <script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src='https://embed.ex.co/sdk.js';fjs.parentNode.insertBefore(js,fjs);}(document,'script','playbuzz-sdk'));</script><div class="playbuzz" data-id="quizzes_id" data-show-share="false" data-show-info="false"></div>

    With the new code (the source of the script – https://embed.ex.co/sdk.js), I haven’t tried it yet. But with the old not works.

    • This reply was modified 5 years, 2 months ago by eddie.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please share your website URL? So we can analyze it and help you fix the issue for you.

    Thread Starter eddie

    (@ediet)

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    1. Can you please edit the content of your post and share it with us?
    2. Can you please tell me the list of plugins you are used on your website?

    Thread Starter eddie

    (@ediet)

    1. Yes.
    2. Oh, there are a lot of plugins. Its about 23 plugins. For seo – All In One SEO Pack.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please share the list of plugins?

    Thread Starter eddie

    (@ediet)

    Accelerated Mobile Pages
    AdSense Integration WP QUADS
    Akismet Anti-Spam
    All In One SEO Pack
    All In One WP Security
    Classic Editor
    Cloudflare
    Cloudflare Flexible SSL
    Contextual Related Posts
    EWWW Image Optimizer
    Fast Velocity Minify
    Hyper Cache
    Jetpack от WordPress.com
    Open Graph and Twitter Card Tags
    RusToLat
    Scheduled Post Trigger
    Social Login
    SSL Insecure Content Fixer
    Wordpress Special Characters in Usernames
    WP No Base Permalink
    Социальные сети Авто-пост
    Яндекс.Дзен
    Яндекс.Турбо

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Ok. Fine. And please edit the content of your post and share it with us.

    Thread Starter eddie

    (@ediet)

    I dont understand what you mean.
    On that page (example above)? Or new?
    And what to do?

    • This reply was modified 5 years, 2 months ago by eddie.
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please edit the content of your website post. Not new. and share it with us. So we can easily understand your problem.

    • This reply was modified 5 years, 2 months ago by Ahmed Kaludi.
    Thread Starter eddie

    (@ediet)

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I need to analyze your post content because I think there’s some problem with the way we are inputting the content.

    Can you please
    1. Edit the post
    2. Copy the content
    3. Paste it to the Pastebin.com
    4. Share the link of that paste

    So that I can paste the same content in my post and test it and understand the issue.

    Thread Starter eddie

    (@ediet)

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘class-amp-playbuzz-sanitizer.php is not working?’ is closed to new replies.