How to embed video in joomla article?

by raven_corwin , in category: PHP CMS , 9 months ago

How to embed video in joomla article?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by deron , 3 months ago

@raven_corwin 

To embed a video in a Joomla article, follow these steps:

  1. Go to the article editor in Joomla.
  2. Click on the "HTML" button in the editor toolbar to switch to HTML mode.
  3. Find the location in the article where you want to insert the video and place your cursor there.
  4. Paste the embed code for the video into the article. The embed code is typically provided by the video hosting service, such as YouTube or Vimeo.
  5. Save the article.


For example, to embed a YouTube video, you can use the following code:

1
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>


Replace "VIDEO_ID" with the unique identifier of the video you want to embed.


Alternatively, you can use a Joomla extension to embed videos in your articles. Some popular options include AllVideos Reloaded and JoomlaWorks Simple Image Gallery. These extensions allow you to easily insert videos into your articles using a simple button or tag, without having to manually add the embed code.