locked
Embedding youtube video deleting iframe RRS feed

  • Question

  • hello, I'm very new to using sharepoint so please forgive me if I'm missing any fundamental issues.

    I've been asked to setup a website using sharepoint. I've been given a template that has a number of frames that hold the structure of the page.

    But when I want to embed a youtube video it deletes the iframe tags

    <div style="width:80%">

                   <div aspect-ratio"></div>

                   <div>

                                  <iframe width="100%" height="100%" src="//https://www.youtube.com/watch?v=3JV9wezQByI?rel=0" frameborder="0" allowfullscreen></iframe>

                   </div>

    </div>

    Thursday, January 12, 2017 9:16 AM

All replies

  • Hi,

    SharePoint by default removes the tag iFrame to keep the code safe, but likely with some configuration you can achieve your goal, read this article how to enable the Iframe and how embed youtube video:

    http://www.learningsharepoint.com/2012/09/03/how-to-add-a-youtube-video-in-sharepoint-2013/

    Kind regards,


    Giuliano De Luca - MCSD SharePoint, MCSD Web Applications, MCPS, MS. www.delucagiuliano.com Twitter: @giuleon Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

    • Proposed as answer by TI DEV Thursday, December 28, 2017 9:02 PM
    Thursday, January 12, 2017 9:28 AM