This user script enables AList users to launch external video players directly from the web interface. It supports both standalone browser use and server-side integration.
📜 Script URL: GreasyFork – alistWebLaunchExternalPlayer
const replaceOriginLinks = true; // Replace original external player links
const useInnerIcons = true; // Use built-in Base64 icons
const removeCustomBtns = false; // Remove redundant custom toggles- Install Tampermonkey
- Visit the script page and click Install
- Open Tampermonkey dashboard → Enable the script → Click Edit → Go to Settings tab
- Under Include/Exclude, remove the generic domain match and add your AList domain manually (without port number)
- Log in to AList admin → Settings → Global → Custom Header
- Add the script reference:
<!-- AList default polyfill -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=String.prototype.replaceAll"></script>
<!-- Choose one of the following script sources -->
<!-- Self-hosted -->
<script src="https://yourdomain.com/alistWebLaunchExternalPlayer.js"></script>
<!-- CDN options -->
<script src="https://emby-external-url.7o7o.cc/alistWebAddExternalUrl/alistWebLaunchExternalPlayer.js"></script>
<script src="https://fastly.jsdelivr.net/gh/bpking1/embyExternalUrl@main/embyWebAddExternalUrl/alistWebLaunchExternalPlayer.js"></script>- Refer to embyLaunchPotplayer for related functionality and compatibility tips.
- Fixed compatibility with
vlc-protocolandmpvplay-protocol
- Added internal toggle to remove redundant custom switches
- Added toggle to hide other platform players
- Added multi-instance PotPlayer support
- Added support for additional players
- Default: hide other platform icons
- Fixed clipboard API compatibility
- Fixed PotPlayer launch issue on Chrome ≥130
- Improved Chinese title support in PotPlayer
- Fixed
mpv-handlerencoding bug - Updated
@matchfor Violentmonkey compatibility
- Fixed URL encoding bug again
- Prioritized local Base64 icons for faster loading
- Fixed incorrect MXPlayer comments
- Delayed script loading to match server-side custom headers
- Added compatibility for AList V2
- Reduced token dependency for third-party site compatibility
- Fixed double URL encoding issue

