Embed Youtube Video with CKeditor

MCSlade
MCSlade

First off, basically dont know anything about coding.

When i want to embed a youtube video with the ckeditor on, say the front page of my campaign it shows properly in the editor but as soon as i save it i get something like this on the page: 

<iframe height=“360” src=“//www.youtube.com/embed/E_1-oylPHjs” width="640"></iframe>

 

what am i doing wrong, how can i fix this?

Comments

  • cgregory
    cgregory
    Posts: 780

    I don't think all the features have been added to CkEditor. I personally prefer textile editor, but you could try clicking the source button. Then adding the youtube video by adding.

    <p>

    <div class='oembed external-link'><a href='https://www.youtube.com/embed/E_1-oylPHjs'></a></div>;

    </p>

     

    The issue is that once you try and edit the page you'll lose the link

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

Sign In or Register to comment.

March 2024
Wrath of the Highborn

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions