๐ What is Premium Playlist?
The Premium Playlist System (Tier 2) lets you create automated video playlists
with ad insertion for your broadcast channel. Viewers can watch a continuous stream of your videos
with ads automatically injected between them โ like a TV channel for your content.
- โ
Create playlists with unlimited videos from YouTube, Vimeo, Dailymotion & more
- โ
Auto-advance to next video with configurable delay
- โ
Insert ads automatically every N videos or after X minutes
- โ
Skip button for ads (configurable countdown)
- โ
Drag & drop reordering of playlist items
- โ
Shuffle, loop, and autoplay controls
- โ
Detailed analytics: plays, completions, skips, geography
- โ
Premium subscription gating (lifetime or expiry-based)
๐ Quick Start Guide
-
Open Playlist Manager:
Click "Manage Playlist" in the sidebar or go to:
/af/includes/admin-playlist-manager.php?tokenkey=YOUR_TOKEN
-
Enter your tokenkey and click Set. A playlist is auto-created if it doesn't exist.
-
Configure Settings: Name your playlist, set autoplay delay (5s recommended), enable loop.
-
Add Videos: Paste YouTube URLs and click "Add to Playlist". Repeat for all videos.
-
Reorder: Drag the โฎโฎ handle to arrange videos in your preferred order.
-
Add Ad Rules (Optional): Configure ad insertion (e.g., every 3 videos) and paste your ad video URL.
-
Share the Player URL:
/af/includes/its-playlist-player.php?tokenkey=YOUR_TOKEN
โถ๏ธ Player Features
๐ฎ Controls
- โฎ๏ธ Previous/Next: Navigate between videos
- โถ๏ธ Play/Pause: Toggle playback
- ๐ Shuffle: Randomize playback order
- ๐ Loop: Restart playlist after last video
- โฉ Autoplay: Auto-advance to next video
โจ๏ธ Keyboard Shortcuts
- โจ๏ธ Space โ Play / Pause
- โจ๏ธ โ โ Next video
- โจ๏ธ โ โ Previous video
- โจ๏ธ S โ Skip current ad
- โจ๏ธ F โ Toggle sidebar
๐บ Sidebar
- ๐ Shows all videos in the playlist with thumbnails
- ๐ Click any video to jump directly to it
- โ
Played videos are marked with reduced opacity
- ๐ต Current video is highlighted with a blue border
๐ข Ad Insertion System
Ads are automatically injected into the playlist based on rules you configure.
Ad Rule Types:
-
๐
Interval: Insert ad after every N videos
Example: Every 3 videos โ Video, Video, Video, AD, Video, Video, Video, AD...
-
โถ๏ธ
After Video: Insert after specific videos (coming soon)
Ad Settings:
- โฑ๏ธ Skip After X Seconds: Show skip button after countdown (0 = unskippable)
- ๐ข Max Plays Per Session: Limit how many times an ad shows per viewer (0 = unlimited)
- ๐ฏ Multiple Rules: Combine interval + time-based rules for sophisticated ad scheduling
๐ Analytics Dashboard
Track performance at /af/includes/live_playlist_analytics.php?tokenkey=YOUR_TOKEN
- ๐ Total Plays & Completions: See how many times your playlist is watched
- ๐ Viewer Geography: Which countries your viewers are from
- ๐ Top Videos: Most popular videos ranked by play count
- ๐ข Ad Performance: Views vs skips, skip rate percentage
- ๐ Peak Hours: When your playlist gets the most views
- ๐
Date Range: Filter by 24h, 7d, 30d, 90d, 1y, or all time
โญ Premium Tiers
FREE
- โ
Up to 5 videos
- โ
Basic autoplay
- โ No ad injection
- โ No analytics
- โ No premium badge
โญ PREMIUM
- โ
Unlimited videos
- โ
Advanced autoplay + loop
- โ
Ad injection system
- โ
Full analytics dashboard
- โ
Premium badge on player
- โ
Priority support
๐ก Tip: Set premium_expires to a future date for subscription-based access,
or leave it empty for lifetime premium access.
๐ฌ Need help? Contact support or visit the admin dashboard for more tools.