-
Notifications
You must be signed in to change notification settings - Fork 976
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
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:
-
autoplay
: Autoplay the video [1 = active, 0 = inactive] -
controls
: Show the control player bar [1 = show, 0 = not show, -1 = show only basic controls, -2 = (show only basic controls + do not allow pause)] -
loop
: Autoplay the video in a loop [1 = active, 0 = inactive] -
mute
: The video will start muted [1 = muted] -
showinfo
: Show the top bar with the video info (title, creator, etc.) [1 = show, 0 = not show] -
t
: Time in seconds at which the video will start [Integer with the number of seconds]
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.
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.
This guide should help you understand how to embed videos and customize the embed settings to suit your needs.