peertube-plugin-playlist-page-embed
v0.0.1
Published
PeerTube plugin playlist page embed
Readme
PeerTube Playlist Page Embed
Hide the left menu, header/toolbar, and other videos section on playlist watch pages. The video player, playlist items, and comments remain visible. The layout change is only applied when a specific query parameter is present in the URL.
Install
- Copy this plugin into your PeerTube
pluginsfolder. - Run
npm installandnpm run buildin the plugin folder. - Enable the plugin in PeerTube admin.
Usage
By default, the layout is applied when the playlist watch URL includes the query
parameter pt-playlist-embed.
Example:
https://your.instance/w/p/PLAYLIST_ID?pt-playlist-embedYou can change the query parameter name in the plugin settings:
- Setting:
Query parameter name - Default:
pt-playlist-embed
What It Hides
- Left menu / side menu
- Top header / toolbar
- Other videos / recommendations
Build
npm run buildNotes
- This plugin only targets playlist watch pages (
/w/p/...). - If your PeerTube theme uses different class names, you may need to adjust assets/style.css selectors.
