How to embed video in joomla article?

by raven_corwin , in category: PHP CMS , 2 years ago

How to embed video in joomla article?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by deron , 2 years 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.

Member

by shyann , a year ago

@raven_corwin 

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

  1. Find and copy the video's embed code: Go to the video hosting site (such as YouTube or Vimeo) and navigate to the video you want to embed. Look for the share or embed option and click on it. Copy the provided embed code.
  2. Open your Joomla article: Log in to your Joomla administration area. Go to Content > Articles and find the article you want to embed the video in. Click on the article title to open it for editing.
  3. Switch to HTML mode: In the article editor, find the "Editor" tab or options where you can switch to HTML mode or disable the visual editor. This allows you to work directly with the HTML code.
  4. Paste the embed code: In HTML mode, find the section of the article where you want to embed the video. Paste the copied embed code directly into the HTML editor. Make sure to paste it in the correct place and avoid any other conflicting HTML code.
  5. Save the article: After pasting the embed code, save the article by clicking the "Save" button or using the appropriate keyboard shortcut. This will store your changes and update the article with the embedded video.
  6. Preview the article: To see how the embedded video appears on the live site, you can click on the "Preview" button or open the article on the front-end of your Joomla website.


By following these steps, you should be able to successfully embed a video in a Joomla article using the provided embed code from the chosen video hosting platform.