All Video Share Plugin

All Video Share installs four plugins. They let you place a player inside your articles, build a YouTube gallery from a tag, and include your videos in Joomla’s Smart Search results.

PluginWhat it does
Content – Player – All Video ShareReplaces {avsplayer} tags in your content with a video player.
Content – YouTube – All Video ShareReplaces {avsyoutube} tags in your content with a YouTube gallery.
Button – YouTube – All Video ShareAdds an editor button that inserts an {avsyoutube} tag for you.
Smart Search – All Video ShareAdds your videos to Joomla’s Smart Search results.

All four are enabled automatically when you install the package. If you need to check or change that, go to System –> Manage –> Plugins and search for allvideoshare.

Plugin Shortcodes

Easily embed video content inside your “Joomla articles”, “K2”, “Virtuemart”, “Kunena”, or any other Joomla component that supports “content” plugins. Use simple plugin tags like,

{avsplayer id=1}
{avsplayer src=https://www.youtube.com/watch?v=twYp6W6vt2U}
{avsplayer src=https://vimeo.com/108018156}
{avsplayer src=https://mysite.com/video.mp4}
{avsplayer src=https://mysite.com/playlist.m3u8}
{avsplayer src=https://mysite.com/stream.mpd}

Then using {avsplayer} syntax inside the content area of your article page will replace the syntax with the All Video Share Player.

Use id to play a video you have added to All Video Share, or src to play a video straight from a URL without adding it first. If you supply both, id wins and src is ignored.

Attribute values must not contain spaces. The tag is split on spaces, and any quotation marks are stripped out, so a value with a space in it will be cut short. Attributes you leave out follow your settings in Components → All Video Share → Options.

Choosing the video

PropertiesDescriptionSyntax
idThe ID of the video that should be played. You can get the video ID from Components -> All Video Share -> Videos in your Joomla back-end.{avsplayer id=1}
srcPlay a video directly from a URL, without adding it to All Video Share first. Accepts YouTube, Vimeo, MP4, HLS and MPEG-DASH addresses. Used only when no id is given.{avsplayer src=https://mysite.com/video.mp4}
imageA poster image to show before playback. Used with src.{avsplayer src=https://mysite.com/video.mp4 image=https://mysite.com/poster.jpg}
autodetectPlay whichever video the visitor is currently viewing, instead of a fixed one. Useful in a template override or a repeated block.{avsplayer autodetect=1}
widthMaximum width of the player, in pixels. Leave it out to fill the available space.{avsplayer id=1 width=640}
ratioPlayer height as a percentage of its width. 56.25 gives a 16:9 player.{avsplayer id=1 ratio=56.25}

Playback

PropertiesDescriptionSyntax
autoplayEnable or disable autoplay. Most browsers only allow this when the player is also muted.{avsplayer id=1 autoplay=1}
loopEnable or disable playing the video repeatedly.{avsplayer id=1 loop=1}
mutedMute or unmute the video.{avsplayer id=1 muted=1}
volumeThe starting volume level, from 0 to 100. This is not a show/hide switch — use volumectrl for the button.{avsplayer id=1 volume=50}

Controls

Each of these takes 1 to show the control or 0 to hide it.

PropertiesDescriptionSyntax
controlbarThe whole control bar.{avsplayer id=1 controlbar=0}
playlargeThe large play button in the middle of the video.{avsplayer id=1 playlarge=0}
playThe play and pause button.{avsplayer id=1 play=1}
rewindThe skip backward button.{avsplayer id=1 rewind=1}
fastforwardThe skip forward button.{avsplayer id=1 fastforward=1}
progressThe seek bar.{avsplayer id=1 progress=0}
currenttimeThe elapsed time.{avsplayer id=1 currenttime=0}
durationThe total length of the video.{avsplayer id=1 duration=1}
volumectrlThe mute button and volume slider.{avsplayer id=1 volumectrl=0}
captionsThe subtitle button.{avsplayer id=1 captions=1}
qualityThe quality switcher.{avsplayer id=1 quality=1}
speedThe playback speed menu.{avsplayer id=1 speed=1}
pipThe picture-in-picture button.{avsplayer id=1 pip=1}
downloadThe download button.{avsplayer id=1 download=1}
fullscreenThe fullscreen button.{avsplayer id=1 fullscreen=0}
embedThe embed button.{avsplayer id=1 embed=0}
shareThe share buttons.{avsplayer id=1 share=1}

Advertisements

PropertiesDescriptionSyntax
adsource
preroll
postroll
Use your own advertisement videos. adsource must be the word custom.{avsplayer id=1 adsource=custom preroll=1 postroll=0}
adsource
adtagurl
Use an external ad server. adsource must be the word vast, and the ad tag URL must contain no spaces.{avsplayer id=1 adsource=vast adtagurl=YOUR_VAST_URL}

Advertisements play on self-hosted, HTTP streaming and external URL videos only — not on YouTube or Vimeo videos.

YouTube Plugin

The YouTube content plugin works the same way, using the {avsyoutube} tag. It builds a gallery from a YouTube playlist, channel, username, search term, live stream or your own list of YouTube URLs.

{avsyoutube source=playlist id=PLxxxxxxxxxxxxxxxx}
{avsyoutube source=channel id=UCxxxxxxxxxxxxxxxx}

Rather than writing the tag by hand, use the All Video Share YouTube button below your editor — it builds the tag for you from the options you choose.

This plugin needs a YouTube API key, set under Options → API Keys. See How to Get a YouTube API Key and Embedding a YouTube Channel / Playlist.

Smart Search Plugin

This plugin adds your videos to Joomla’s Smart Search results, so visitors can find them from your site’s main search rather than only from the All Video Share search box.

After enabling it, go to Components → Smart Search → Index and click Index to add your existing videos. Videos you add afterwards are indexed automatically as you save them.

Scroll to Top