• Hi,

    I recently tried to include a video object schema code in wordpress post and it works fine when you look at it but when I went back to look at the code, the code was overwritten to regular iframe code.
    How can i stop my video object code from being overwritten by wordpress editor??

    Thank you!
    FYI – here’s the code I want to include –
    <div itemprop=”video” itemscope itemtype=”https://schema.org/VideoObject”&gt;
    <meta itemprop=”description” content=”ENTER VIDEO DESCRIPTION HERE”>
    <meta itemprop=”thumbnailURL” content=”ENTER THUMBNAIL URL HERE”>
    <meta itemprop=”duration” content=”ENTER DURATION HERE”>
    <meta itemprop=”embedURL” content=”https://www.youtube.com/embed/ENTEREMBED CODE HERE”>
    <link itemprop=”url” href=”ENTER YOUTUBE URL HERE” rel=”author”/>
    <span itemprop=”name” style=”display:block;”>ENTER POST TITLE HERE</span>
    <div class=”embed-container” style=”text-align: center;”><iframe src=”https://www.youtube.com/embed/ENTER?EMBED CODE HERE” width=”730″ height=”411″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></div>
    </div>

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘video object code overwritten by wp’ is closed to new replies.