• I am trying to frame a custom rule to successfully embed the video (created using shortcode) in my IA markup but not able to make progress.

    If you can please help me with the transformation rule to embed the below video successfully

    <div class=”videowrapbody” itemscope itemtype=”https://schema.org/VideoObject”&gt;
    <div class=”videowrap”><iframe src=”https://www.youtube.com/embed/8Q1GVOYIcKc&#8221; frameborder=”0″ width=”100%” height=”500″ scrolling=”yes” class=”iframe-class”></iframe></div>
    </div>

    Source Markup :<

    <p>Women, finally this is the sanitary pad advertisment done correctly. No more of blue-stained, white and flowery fare you were watching all this while. The advertisment created for Bodyform’s Red.fit campaign by London agency AMV BBDO shows what actually dealing with periods is like.</p>
    <p>The Bodyform is a sanitary product brand which has come up with the video which achieves to change the outlook towards period blood. The ad, athough causes no awkwardness.</p>
    <p>The video shows bleeding feet of a ballet dancer, bloodied nose of a boxer and a rugby player.</p>
    <p>This ad going viral is being praised for showing real blood in an advertisment and has gained a massive support on social media. Earlier periods blood was symbolised using blue liquid.</p>
    <p>To feel great, many of the viewers commented, “Who knew a period commercial could make me feel like a warrior”.</p>
    <p><!– iframe plugin v.3.0 www.ads-software.com/plugins/iframe/ –></p>
    <div class=”videowrapbody” itemscope itemtype=”https://schema.org/VideoObject”&gt;
    <div class=”videowrap”><iframe src=”https://www.youtube.com/embed/8Q1GVOYIcKc&#8221; frameborder=”0″ width=”100%” height=”500″ scrolling=”yes” class=”iframe-class”></iframe></div>
    </div>

    Transformed Markup:

    <html>
    <head>
    <link rel=”canonical” href=”https://www.soposted.com/zing/life/watch-this-periods-ad-that-shows-the-real-strength-of-women”/&gt;
    <meta charset=”utf-8″/>
    <meta property=”op:generator” content=”facebook-instant-articles-sdk-php”/>
    <meta property=”op:generator:version” content=”1.3.0″/>
    <meta property=”op:generator:application” content=”facebook-instant-articles-wp”/>
    <meta property=”op:generator:application:version” content=”2.11″/>
    <meta property=”op:generator:transformer” content=”facebook-instant-articles-sdk-php”/>
    <meta property=”op:generator:transformer:version” content=”1.3.0″/>
    <meta property=”op:markup_version” content=”v1.0″/>
    <meta property=”fb:article_style” content=”default”/>
    </head>
    <body>
    <article>
    <header>
    <figure>
    <img src=”https://www.soposted.com/wp-content/uploads/2016/07/p.jpg”/&gt;
    </figure>
    <h1>WATCH! This periods ad that shows the real strength of women</h1>
    <time class=”op-published” datetime=”2016-07-18T09:22:30+00:00″>July 18th, 9:22am</time>
    <time class=”op-modified” datetime=”2016-07-20T13:46:24+00:00″>July 20th, 1:46pm</time>
    <address>admin</address>
    </header>
    <p>Women, finally this is the sanitary pad advertisment done correctly. No more of blue-stained, white and flowery fare you were watching all this while. The advertisment created for Bodyform’s Red.fit campaign by London agency AMV BBDO shows what actually dealing with periods is like.</p>
    <p>The Bodyform is a sanitary product brand which has come up with the video which achieves to change the outlook towards period blood. The ad, athough causes no awkwardness.</p>
    <p>The video shows bleeding feet of a ballet dancer, bloodied nose of a boxer and a rugby player.</p>
    <p>This ad going viral is being praised for showing real blood in an advertisment and has gained a massive support on social media. Earlier periods blood was symbolised using blue liquid.</p>
    <p>To feel great, many of the viewers commented, “Who knew a period commercial could make me feel like a warrior”.</p>
    <figure class=”op-tracker”>
    <iframe><script type=”text/javascript” defer=”defer”>
    (function (i, s, o, g, r, a, m) {
    i[‘GoogleAnalyticsObject’] = r;
    i[r] = i[r] || function () {
    (i[r].q = i[r].q || []).push(arguments)
    }, i[r].l = 1 * new Date();
    a = s.createElement(o),
    m = s.getElementsByTagName(o)[0];
    a.async = 1;
    a.src = g;
    m.parentNode.insertBefore(a, m)
    })(window, document, ‘script’, ‘//www.google-analytics.com/analytics.js’, ‘ga’);
    ga(‘create’, ‘UA-65171386-1’, ‘auto’);
    ga(‘send’, ‘pageview’);
    </script> </iframe>
    </figure>
    </article>
    </body>
    </html>

    https://www.ads-software.com/plugins/fb-instant-articles/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Tranformation rules for video embed (created using shortcode)’ is closed to new replies.