Player

Player Shortcode

Estimated reading: 2 minutes 44 views

The Player shortcode is responsible for displaying the video player on single movie, TV series, and episode pages.

It integrates with your video sources, subtitles, ads system, and access control (free, premium, PPV) to deliver a complete OTT streaming experience.

📦 Shortcode

ShortcodeDescription
movie_engine_playerDisplays the video player for the current content

📌 Basic Usage

[movie_engine_player]

⚙️ Parameters

ParameterTypeDefaultDescription
(No parameters)Player automatically loads based on current content

🎯 How It Works

The player automatically:

  • Detects current post (movie/episode)
  • Loads video sources from the meta box
  • Applies player settings from the admin panel
  • Checks user access (free / premium / PPV)
  • Displays subtitles (if available)

🎬 Supported Content

  • Movies
  • TV Series Episodes
  • Custom video content

📺 Supported Video Formats

  • MP4 (Direct video files)
  • HLS (.m3u8 streaming)
  • DASH (.mpd streaming)

🎥 Video Source Integration

Video sources are added from:

👉 Post Meta Box (Movie / Episode)

  • Multiple sources supported
  • Server switching (optional)
  • Auto-detection of format

📝 Subtitles Support

  • Multiple subtitle tracks
  • Language selection
  • VTT format supported
  • Toggle on/off

🎛️ Player Features

  • Play / Pause
  • Seek control
  • Volume control
  • Fullscreen mode
  • Playback speed control
  • Picture-in-picture (if supported)

💰 Monetization Integration

The player supports:

  • Ads (pre-roll, mid-roll, post-roll)
  • Membership access control
  • Pay-per-view restrictions
  • Free vs premium content

🔐 Access Control Behavior

Access TypeBehavior
FreePlayer loads instantly
PremiumRequires active subscription
PPVRequires purchase before playback

⚙️ Admin Settings Integration

The player behavior is controlled from:

👉 Player Settings (Admin Panel)

  • Default player type
  • Autoplay settings
  • Controls visibility
  • Subtitle settings
  • Ad placement

🧠 Smart Features

  • Resume playback (continue watching)
  • Save watch progress
  • Auto next episode (TV series)
  • Multi-server fallback

🔄 Player Flow

User opens movie/episode page

Shortcode loads player

System checks access (free/premium/PPV)

Video source loaded

Playback starts

Progress saved automatically

🎨 Styling

  • Fully responsive
  • Dark UI optimized
  • Customizable via CSS

⚠️ Important Notes

  • Works only inside:
    • Single movie page
    • Episode page
  • Requires:
    • Video source added
    • Proper player configuration

🔗 Related Features

  • Video Source Meta Box
  • Subtitle System
  • Ads Integration
  • Membership System
  • Watch History

🚀 Example Use Case

Single Movie Page

[movie_engine_player]

Episode Page

[movie_engine_player]

🎯 Best Practice

👉 Always place this shortcode:

  • Above content details
  • Inside the video section
  • At the top of a single page

Share this Doc

Player Shortcode

Or copy link

CONTENTS