-
Notifications
You must be signed in to change notification settings - Fork 1k
Video Embed URL for AVideo
You have several options for the video embed URL, all of which will run the same script:
-
/videoEmbeded/(videos_id)e.g., https://tutorials.avideo.com/videoEmbeded/78 -
/videoEmbed/(videos_id)e.g., https://tutorials.avideo.com/videoEmbed/78 -
/vEmbed/(videos_id)e.g., https://tutorials.avideo.com/vEmbed/78
You can also include the video title in the URL for SEO purposes:
-
/videoEmbed/(videos_id)/(clean_title)e.g., https://tutorials.avideo.com/videoEmbed/78/welcome-to-avideo-platform
The embed URL allows you to customize various parameters.
There are some default values for the embed mode in the CustomizeAdvanced plugin.

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]

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

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.
Hides all player controls completely. No control bar, play button, or progress bar. User cannot pause or control the video.
You can get the embed code from the video player page. The embed code includes predefined HTML code and the embed URL.
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.

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.

You can also see the same code if you right-click on the video itself.
You can also copy the embed code from the Videos Manager.

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

- 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.
The Open Source Video Platform Solution
| Service | Description | Link |
|---|---|---|
| 🏢 | WWBN Solutions - Enterprise consulting and custom development | Visit |
| 🎯 | Professional Support - Direct assistance from core developers | Contact |
| ☁️ | AVideo CDN - High-performance video delivery network | Pricing |
AVideo Platform © 2024 - Self-hosted video streaming platform
Made with ❤️ by WWBN and the open source community