🎬 Stremio YouTube Trailers Add-on
A serverless Stremio add-on that provides direct links to YouTube trailers - No more buffering or broken trailer players!
Author: MechanicWB
✨ Features
- ✅ Direct YouTube links - Opens trailers in your browser/YouTube app
- ✅ No buffering - Bypasses Stremio's built-in trailer player
- ✅ Always online - Deployed on Vercel (serverless)
- ✅ Free forever - Uses TMDB's free API
- ✅ Auto-updating - Updates automatically via GitHub
- ✅ Works with movies & series - Full TMDB integration
🚀 Quick Install
Just add this URL to Stremio:
https://stremio-trailer-addon.vercel.app/manifest.json
How to install:
- Open Stremio
- Go to Add-ons
- Click the puzzle icon (🧩) in the top right
- Paste the URL above
- Click Install
Done! Now click any movie/series and you'll see "▶️ Watch Trailer"
🛠️ Deploy Your Own
Want to run your own instance? Easy!
Prerequisites
- GitHub account
- Vercel account (free)
- TMDB API key (free)
Step 1: Get TMDB API Key
- Sign up at themoviedb.org
- Go to Settings → API
- Request API Key → Choose "Developer"
- Fill out the form (put anything reasonable)
- Copy your "API Key (v3 auth)"
Step 2: Deploy to Vercel
Option A: Deploy Button (Easiest)
Option B: Manual Deploy
-
Fork/Clone this repository
-
Create new GitHub repository with these files:
stremio-trailer-addon/ ├── api/ │ └── index.js ├── vercel.json └── package.json -
Sign up on Vercel using GitHub
-
Import your repository:
- Click "Add New..." → "Project"
- Select your repository
- Click "Import"
-
Configure Environment Variables:
- Go to Settings → Environment Variables
- Add:
TMDB_API_KEY= your TMDB API key - Select: Production, Preview, Development
-
Redeploy:
- Go to Deployments
- Click "..." → "Redeploy"
-
Get your URL:
https://your-project.vercel.app/manifest.json -
Install in Stremio using your URL!
📁 Project Structure
├── api/
│ └── index.js # Serverless function (main logic)
├── vercel.json # Vercel configuration
├── package.json # Dependencies
└── README.md # This file
🔧 How It Works
- You click "Watch Trailer" in Stremio
- Add-on receives the IMDB ID
- Queries TMDB API to find the movie/series
- Gets the official YouTube trailer
- Returns a link that opens in your browser
Key difference: Uses externalUrl instead of url to force external opening, preventing the "Video is not supported" error.
🎨 Customization
Change Images
Edit api/index.js and modify the manifest:
const manifest = {
name: 'Your Addon Name',
description: 'Your description',
background: 'https://your-background-image-url.jpg', // 1920x1080
logo: 'https://your-logo-url.png', // 512x512
version: '1.0.1'
};
Recommended image sources:
Change Name/Description
Update the manifest object in api/index.js:
name: 'My Custom Name',
description: 'My custom description'
Commit to GitHub → Vercel auto-deploys → Changes appear in Stremio after reinstalling!
🐛 Troubleshooting
"Failed to get addon manifest"
- Check if your URL is correct and ends with
/manifest.json - Test the URL in your browser - should show JSON
"Video is not supported"
- Make sure you're using the latest version (check
versionin manifest) - The fix uses
externalUrlinstead ofurl
Trailers not appearing
- Verify TMDB_API_KEY is set in Vercel Environment Variables
- Redeploy after adding the API key
- Some movies/series may not have trailers available
Add-on not updating
- Uninstall and reinstall in Stremio
- Clear Stremio cache
📊 Dependencies
- stremio-addon-sdk - Stremio add-on framework
- node-fetch - HTTP requests
- TMDB API - Movie/series metadata
🆓 Cost
100% Free:
- ✅ Vercel hosting (unlimited serverless functions)
- ✅ TMDB API (free tier: 1000+ requests/day)
- ✅ No credit card required
🙏 Credits
- Created by: MechanicWB
- Powered by: Vercel, TMDB
- Framework: Stremio Add-on SDK
📝 License
MIT License - Feel free to use, modify, and distribute!
🤝 Contributing
Found a bug? Have a feature request?
- Open an issue
- Submit a pull request
- Share on r/StremioAddons
⭐ Support
If this helped you, consider:
- ⭐ Starring this repo
- 🔄 Sharing with others
- 💬 Leaving feedback
Made with ❤️ for the Stremio community