YouTube iFrames

26 views
Skip to first unread message

Matt Richards

unread,
Jun 7, 2019, 1:37:19 PM6/7/19
to django-wiki
Hi All,

We're looking to embed YouTube videos in our articles, but the code below (provided by YouTube) does not produce a player. It simply displays as text when the article is viewed. Basic HTML tags (bold, italic, tables, etc.) do render properly. 

Does anyone have any ideas how to get iframes working for embedded video players? We're seeing the same for Vimeo which also uses an iframe.

Thanks in advance for any guidance!

Matt


<iframe width="560" height="315" src="https://www.youtube.com/embed/k-BbW6zAjL0" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Reply all
Reply to author
Forward
0 new messages