• Hello!

    I’m just trying the free version of your plugin and I’m really impressed by the good work you have achieved, however, I need support for AMP, and currently using the Automattic plugin.

    Since we are just testing things out, currently the plugin is used to substitute the featured image in just one post (the one I’m linking to), but as the plugin is outputting regular html, it doesn’t work really on an AMP page.

    So, I made a quick hack, putting the gist of a valid video insertion with AMP, and it works, I’m sharing this suggesting it would be a nice feature having native compatibility with AMP.

    At the end of the static filter_thumbnail_html, instead of passing to cvwp_video_output the obscure arguments it receives, I’ve just the valid AMP tags:

    
    <amp-youtube data-videoid="aV-XEnruDI0" layout="responsive" width="620" height="349"><amp-img src="https://i.ytimg.com/vi/aV-XEnruDI0/sddefault.jpg#404_is_fine" placeholder layout="fill"></amp-youtube>
    

    I bet this is something your plugin could achieve in a better way, since I’ve found the ID of the video, the type and the image placeholder in the meta_key _cvwp_video_settings

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author CodeFlavors

    (@codeflavors)

    Hi,

    Thank you for pointing this out, didn’t realized the plugin was missing it. It’s on the to-do list for the next update, we’ll see what we can come up with to provide the best possible solution.

    Again, thank you for your input, much appreciated.

Viewing 1 replies (of 1 total)
  • The topic ‘AMP support’ is closed to new replies.