AddToAny
AddToAny is a free sharing service. Its buttons let a visitor post a link to a page on social networks or send it by email. JoomVideos uses it for the Share button on video and playlist pages.
AddToAny is built into the component. There is no plugin to enable, no account to create and no key to enter.
What visitors see
The Share button sits in the button bar under the player on a video page, and next to the like buttons on a playlist page. A click opens a small window with these buttons:
- X
- +, AddToAny's menu with many more services
Each button shares the address of the page the visitor is on.
The Embed button next to it is not part of AddToAny. It shows an <iframe> code that other sites can paste, see The video page.
Turn it on
- Go to Components > JoomVideos > Options > Video.
- Set Show Sharing Buttons to Yes (the default).
- Open the Permissions tab, choose a user group and set Can share videos to Allowed. Do it for Public if guests should see the button.
- Click Save.
The button shows only when both are true: Show Sharing Buttons is Yes and the visitor's group has Can share videos. JoomVideos ships with no permissions for user groups, so until you set this right only Super Users see the button. See Permissions.
The Sharing Options notice in Options > Video still asks you to use "Inline Share buttons in Addthis". Ignore it. AddThis closed in 2023, and JoomVideos 6.1.6 uses AddToAny.
Settings
There are no other settings. The list of buttons is fixed in the layout components/com_joomvideos/layouts/common/sharingButton.php. To change it, copy that file to templates/YOUR_TEMPLATE/html/layouts/com_joomvideos/common/sharingButton.php and edit the a2a_button_... links there. AddToAny's website lists the button names.
Privacy
When the button can show, the page loads AddToAny's script from static.addtoany.com. Visitors' browsers then contact AddToAny's servers. If your site asks for cookie or tracking consent, include AddToAny in it, or set Show Sharing Buttons to No.
Pictures in shared links
What a social network shows for a shared link comes from the page itself, not from AddToAny. Video pages set Open Graph and Twitter Card tags with the thumbnail, see SEF URLs and SEO.
If it does not work
- No Share button. Check Show Sharing Buttons and the Can share videos permission for the visitor's group. Log out and test as a guest if guests should see it.
- The window opens but stays empty, or shows no icons. The AddToAny script did not load. An ad blocker, a privacy extension or a cookie-consent tool that blocks third-party scripts can stop it. Test in a private window without extensions.
- The shared link has no picture. The video has no thumbnail, or the social network cached an older version of the page. See Troubleshooting.