Skip to content

Video Embed URL for AVideo

Daniel Neto edited this page Oct 31, 2025 · 11 revisions

Video Embed URL Guide

URL Options

You have several options for the video embed URL, all of which will run the same script:

You can also include the video title in the URL for SEO purposes:

Parameters

The embed URL allows you to customize various parameters.

Example: https://tutorials.avideo.com/videoEmbed/78/welcome-to-avideo-platform?showinfo=0&autoplay=1&controls=1&loop=1&mute=1&t=15

Default Parameters

There are some default values for the embed mode in the CustomizeAdvanced plugin.

image

URL Parameters

You can add parameters to the URL to overwrite the default values:

Player Control Parameters:

  • autoplay: Autoplay the video [1 = active, 0 = inactive]
  • controls: Show the control player bar [1 = show all controls, 0 = hide all controls, -1 = show only basic controls, -2 = show only basic controls + prevent pause]
  • loop: Autoplay the video in a loop [1 = active, 0 = inactive]
  • mute: The video will start muted [1 = muted, 0 = unmuted]
  • showinfo: Show the top bar with the video info (title, creator, etc.) [1 = show, 0 = hide]
  • t: Time in seconds at which the video will start [Integer with the number of seconds]

Advanced Parameters:

  • modestbranding: Remove AVideo branding from player [1 = active]
  • objectFit: Controls how the video is resized to fit its container [cover, contain, fill, none, scale-down]
  • showBigButton: Display large play button overlay [1 = show]
  • forceCloseButton: Show close button in player [1 = show]
  • closeOnEnd: Automatically close player when video ends [1 = active]
  • disableShareButton: Hide share button from player controls [1 = hide]

Control = 1 (All controls)

image

Control = -1 (Basic controls only)

Shows only essential controls: play/pause, volume, progress bar (seekable), resolution selector, and fullscreen button. Hides all other advanced controls.

image

Control = -2 (Restrictive mode)

Hides progress bar and play/pause button. Automatically resumes if user tries to pause. Shows only volume, fullscreen, and resolution. Useful for mandatory viewing where users cannot pause or skip ahead.

Control = 0 (No controls)

Hides all player controls completely. No control bar, play button, or progress bar. User cannot pause or control the video.

Getting the Embed Code

You can get the embed code from the video player page. The embed code includes predefined HTML code and the embed URL.

Share Button

By default, on each video, you will find a share button. In the share button, you will see a "Share Code" tab, where you can copy and paste the embed code.

image

Interactive Embed Options Menu

The Share Code tab includes an interactive "Embed Options" menu that allows you to customize the embed code without manually editing URL parameters. Simply check/uncheck options or adjust settings, and the embed codes will automatically update with the correct parameters. The interface makes it easy to customize without knowing the technical URL syntax.

chrome-capture-2025-10-31

You can also see the same code if you right-click on the video itself.

Videos Manager

You can also copy the embed code from the Videos Manager.

chrome-capture-2024-6-12

Customizing the HTML Code

If you want to customize the HTML code (the iframe), you can do it in the CustomizeAdvanced plugin, under the embedCodeTemplate parameter.

image

Additional Information

  • All embed parameters are centrally managed in objects/EmbedPlayerConfig.php
  • Parameters can be combined in any order
  • Invalid parameter values will be ignored
  • The embed player respects security settings from the SecureVideosDirectory plugin
  • Custom CSS and JavaScript are automatically injected based on the selected parameters

This guide should help you understand how to embed videos and customize the embed settings to suit your needs.

Clone this wiki locally