Izumiko / jellyfin-danmaku

Jellyfin danmaku extension
MIT License
150 stars 14 forks source link

[UR/FR] 增加对 Jellyfin-Vue web客户端的支持, Add support for Jellyfin-Vue #24

Open t0ury opened 10 months ago

t0ury commented 10 months ago

关于Jellyfin-Vue

Jellyfin-Vue 是一个新的,用Vue写的web客户端替代方案,是Jellyfin Project的一员。

官方实例

jellyfin-vue 和 jellyfin-web <video> html块的比较

jellyfin-web

...
<div class="videoPlayerContainer" style="animation: 240ms ease-in 0s 1 normal none running htmlvideoplayer-zoomin;">
    <video class="htmlvideoplayer" preload="metadata" autoplay="autoplay" webkit-playsinline="" playsinline="" 
         poster="https://jellyfin.doamin.com/Items/xxxxxxxxxxxxxxxxxxx/Images/Backdrop? 
         quality=100&amp;tag=xxxxxxxxxxxxxxxxxxxxb" crossorigin="anonymous"
         src="blob:https://jellyfin.domain.com/xxxxxx-xxx- 
         xxxx-xxxx" ede_listening="true">
    </video>
...
</div>

jellyfin-Vue

...
...
<div class="h-100" style="transform-origin: center center;">
    <main data-v-d9d1be2c="" class="v-main fullscreen-video-container fill-height no-cursor" style="--v-layout-left: 0px; --v-layout-right: 0px; --v-layout-top: 0px; --v-layout-bottom: 0px;">
    <!---->
    <!---->
        <video poster="https://jellyfin.domain.com/Items/xxxxxxxxxxxxxx/Images/Backdrop?imgTag=xxxxxxxxxx&amp;
                quality=90" autoplay="" crossorigin="anonymous" playsinline="" class="stretched" style="">
            <source type="video/mp4" src="blob:https://jellyfin-vue.domain.com/xxxx-xxxx-xxxx-xxxx-xxxxxxxxxx">
        </video>
    </main>
</div>
...
...
</div>
Izumiko commented 10 months ago

这个感觉更适合把弹幕功能写成Jellyfin-Vue的一个component,然后自己编译一份再托管。但是这个项目现在不少基本功能都还不能正常使用,还是再等等吧