Like other wordpress plugins, Yendif Player also get intiated using shortcodes.
[yendifplayer] : used to add video or audio player in post or pages.
[yendifgallery] : used to add video or playlist gallery in post or pages.
Before start using shortcode, there are certain optional steps to follow
- Player settings
- Media management
- Playlist management
1. Player settings
This section deals with global configuration of the Yendif Player through your Wordpress Admin Panel.
To configure the Yendif Player through your Wordpress Admin Panel,
- login as Site Administrator
- Scroll down to 'Yendif Player' menu on the sidebar
- Select 'Player settings'
Now, you should see a form with all the available player settings. The whole form itself is self-explanatory, we have added a special note under each field as the other hand. Just configure and update the form as you need.
Note : Every player will have these settings as default, but you can override them for individual players using appropriate shortcode properties.
2. Media management
This section allow you to upload your videos and audios using a pretty interface. Every added media will have a unique Media ID as shown in the pic below. Later, you can use these IDs in your plugin shortcode.
Example :
[yendifplayer video=1] // Single Video
[yendifplayer video=1,2,3] // Multiple Videos
[yendifplayer audio=1] // Single Audio
[yendifplayer audio=1,2,3] // Multiple Audios
Note : Yendif Player shortcodes accepts direct media file paths. So, this is only an optional feature.
3. Playlists (Categories) management
This section allow you to create playlists or categories. All the created playlists will be added to Media upload form under Media Management section. So, when adding a video or audio, you can select the playlist names under which your media should be grouped.
Later, you can use these IDs in your plugin shortcode.
Player Example :
[yendifplayer playlist=1] // Single Playlist Player
[yendifplayer playlist=1,2,3] // Multiple Playlists Player
Gallery Example :
[yendifgallery type=playlist] // Show all Playlists as gallery
[yendifgallery playlist=1,2,3] // Add a videos gallery from Multiple Playlists
What next ? Using Shortcodes