Configuration

Version: 1.2

Configuration

General Settings for Easy YouTube Embed
  • Default Width: Set the default width for the video player.
  • Default Height: Set the default height for the video player.
  • Autoplay: Enable or disable autoplay by default.
  • Controls: Show or hide video player controls by default.
  • Loop: Enable or disable video looping by default.
  • Mute: Mute the video by default.
  • Show Info: Show or hide video information like title and uploader.
  • Modest Branding: Enable or disable modest branding.
General Settings for Easy YouTube Embed Button

 

Usage

Once configured, you can use the Easy YouTube Embed plugin to embed YouTube videos in your Joomla content. Use the following syntax to generate the shortcode.

Shortcode Syntax

Here is the syntax to integrate YouTube videos into your content:

{youtube id="VIDEO_ID" width="WIDTH" height="HEIGHT" autoplay="1|0" controls="1|0" loop="1|0" mute="1|0" playlist="VIDEO_IDs" start="SECONDS" end="SECONDS" showinfo="1|0" modestbranding="1|0"}

Example

{youtube id="dQw4w9WgXcQ" width="640" height="360" autoplay="1" controls="1" loop="1" mute="1" playlist="dQw4w9WgXcQ,5NV6Rdv1a3I" start="60" end="120" showinfo="1" modestbranding="1"}

Shortcode Attributes

  • id (Required): The ID of the YouTube video you want to embed.
    • Example: id="dQw4w9WgXcQ"
  • width (Optional): The width of the video player.
    • Example: width="640"
  • height (Optional): The height of the video player.
    • Example: height="360"
  • autoplay (Optional): Enables or disables autoplay. Set to 1 to enable autoplay, 0 to disable.
    • Example: autoplay="1"
  • controls (Optional): Shows or hides the video player controls. Set to 1 to show controls, 0 to hide.
    • Example: controls="1"
  • loop (Optional): Enables or disables video looping. Set to 1 to enable looping, 0 to disable.
    • Example: loop="1"
  • mute (Optional): Mutes the video by default. Set to 1 to mute, 0 to unmute.
    • Example: mute="1"
  • playlist (Optional): A comma-separated list of video IDs to create a playlist.
    • Example: playlist="dQw4w9WgXcQ,5NV6Rdv1a3I"
  • start (Optional): Specifies the start time of the video in seconds.
    • Example: start="60"
  • end (Optional): Specifies the end time of the video in seconds.
    • Example: end="120"
  • showinfo (Optional): Displays or hides the video information like title and uploader. Set to 1 to show, 0 to hide.
    • Example: showinfo="1"
  • modestbranding (Optional): Enables modest branding, which reduces YouTube branding on the video player. Set to 1 to enable, 0 to disable.
    • Example: modestbranding="1"