-
Notifications
You must be signed in to change notification settings - Fork 972
Gallery Plugin
The Gallery Plugin for AVideo offers a YouTube-like layout, organizing your homepage with various dynamic sections such as trending, suggested videos, playlists, and more. Below is an explanation of how you can customize the sections and improve the user experience.
This section displays a large video preview on the homepage. You can choose to show live streams and/or VOD (videos on demand) here.
-
Options:
- Disable: Hides the big video section.
- Show Live and VOD: Displays both live streams and VODs.
- Show Live Only: Displays only live streams.
- Show VOD Only: Displays only VODs.
Additional settings:
- Logged-in users only: Display the big video section only to logged-in users.
- Homepage only: Show the big video section exclusively on the homepage.
This section displays videos that are currently popular on the platform based on engagement like views and watch time.
-
Customization:
- Set the row count to define how many trending videos to show.
- Customize the section's title.
Learn more about how trending works here.
This section highlights videos based on user preferences and previous views.
-
Customization:
- Change the title of the section.
- Define how many suggested videos to show.
- Set the display order.
The Shorts section showcases short-form content (similar to YouTube Shorts). Note: This section requires the Shorts Plugin to be installed.
-
Customization:
- Set the title and number of shorts to display.
- Define the order in which the shorts appear.
- Shorts Plugin Requirement: To enable the shorts section, you need to install the Shorts Plugin.
- Shorts Duration: Define what qualifies as a short video by setting the shortMaxDurationInSeconds parameter in the Shorts plugin. The default is 60 seconds.
This section displays video playlists on your homepage.
-
Customization:
- Set the number of playlists to display.
- Customize the title and order of the playlists section.
-
Most Watched: Displays the most viewed videos.
-
Most Popular: Displays the most liked videos.
-
Customization:
- Set how many videos to display in these sections.
- Customize the title and set the display order.
Organize videos by categories and subcategories, making it easy for users to find content based on their interests.
-
Customization:
- Set how many categories to display.
- Enable subcategories for each category.
- Optionally, show only suggested categories.
For logged-in users, this section shows content from channels and tags they are subscribed to.
-
Customization:
- Define how many subscribed channels or tags to display.
- Customize the display order.
This section displays private videos that only specific users can view.
-
Customization:
- Set the number of private videos to display.
- Customize the title of this section.
Allow users to sort videos by different criteria such as name, date, or views.
-
Customization:
- Enable or disable sorting by various parameters.
- Customize section titles and set the display order.
You can sort the sections (control the order in which they appear on your homepage). To do this:
- Go to the Plugins Manager.
- Click the "Sort Sections" button.
- Drag and drop the sections in the desired order.
Here is an example of the "Sort Sections" feature in action:
You can add a button allowing users to switch between different themes on your platform.
Enable videos to play in fullscreen mode directly from the homepage, enhancing the viewing experience.
To configure the Gallery Plugin and other plugins, follow these steps:
-
Navigate to the Plugin Manager:
- From the top left hamburger menu (three horizontal bars), click on the menu icon.
-
Go to Plugins Manager:
- In the dropdown menu, select Plugins to access the Plugin Manager.
-
Find and Configure the Gallery Plugin:
- Locate the Gallery Plugin in the list of installed plugins and click the Parameters button. This will open the configuration page where you can adjust settings like section order, titles, and features such as Shorts and Big Video.
By following these steps, you can easily customize the layout and appearance of your platform’s homepage.