Greasy Fork is available in English.
emby/jellfin launch extetnal player
当前为
http://greasyfork.icu/zh-CN/scripts/514529
../emby-server/system/dashboard-ui/index.html最下方,/body 标签上,<script src="apploader.js" defer></script>这行的下方添加,
js
...
<script src="https://emby-external-url.7o7o.cc/embyWebAddExternalUrl/embyLaunchPotplayer.js" defer></script>
</body>
1.代码内部变量
const iconConfig = {
// 图标来源,以下三选一,注释为只留一个,3 的优先级最高
// 1.add icons from jsdelivr, network
baseUrl: "https://emby-external-url.7o7o.cc/embyWebAddExternalUrl/icons",
// baseUrl: "https://fastly.jsdelivr.net/gh/bpking1/embyExternalUrl@main/embyWebAddExternalUrl/icons",
// 2.server local icons, same as /emby-server/system/dashboard-ui/icons
// baseUrl: "icons",
// 3.add icons from Base64, script inner, this script size 22.5KB to 74KB,
// 自行复制 ./iconsExt.js 内容到此脚本的 getIconsExt 中
// 移除最后几个冗余的自定义开关
removeCustomBtns: false,
};
// 启用后将修改直接串流链接为真实文件名,方便第三方播放器友好显示和匹配,
// 默认不启用,强依赖 nginx-emby2Alist location two rewrite,如发现原始链接播放失败,请关闭此选项
const useRealFileName = false;
效果:
Emby Web, iconOnly: false

Emby Web, iconOnly: true

兼容首次没有音视频信息加载(STRM)