End of Support for Joomla 3 - Forum closed

How to embed a Youtube video into an article ?

  • lcoulon
  • lcoulon's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

How to embed a Youtube video into an article ? was created by lcoulon

Posted 5 years 9 months ago #22923
Hello

I use JP Expert template with Joomla v3.9.3
I would like to display a video into an article, i tried to insert html code such like this, but iframe code are automaticaly swipped out when saving the article.

<!-- 21:9 aspect ratio -->
<div class="embed-responsive embed-responsive-21by9">
<iframe class="embed-responsive-item" src="..."></iframe>
</div>

Can you show me the way to insert a video ?

Many thanks
Last Edit:5 years 9 months ago by lcoulon
Last edit: 5 years 9 months ago by lcoulon.

Please Log in or Create an account to join the conversation.

  • lcoulon
  • lcoulon's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by lcoulon on topic How to embed a Youtube video into an article ?

Posted 5 years 9 months ago #22929
Thank you, i remove iframe tag as suggested, now html code stays when saving the article, however the Youtube video still not shown ...

Is there something else to do ?
by lcoulon

Please Log in or Create an account to join the conversation.

Please Log in or Create an account to join the conversation.

  • lcoulon
  • lcoulon's Avatar Offline Topic Author
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by lcoulon on topic How to embed a Youtube video into an article ?

Posted 5 years 9 months ago #22937
I don't think it is necessary in my case to add exceptions, because when i display the code source of the page iframe address is there.
However Joomla won't display it .

I added anyway the following into "Editor TinyMCE" plugin -> "valid elements"
Code:
,+a[*],+i[*],+em[*],+li[*],+span[*],+div[*],+ul[*],+li[*],

I think the problem comes from somewhere else.
by lcoulon

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic How to embed a Youtube video into an article ?

Posted 5 years 8 months ago #22949
Maybe your Browser or any Plugin is blocking the "iframe"

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License