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: 470

    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

    Current Campaign: XCom: Defiance - Campaign of the Month November 2016

                                           My Campaign CSS

     

     

     

Sign In or Register to comment.