Git Product home page Git Product logo

Comments (8)

wujx3433 avatar wujx3433 commented on July 19, 2024

同求。我缓存的一些动画是外挂字幕,而且动画本体是无字幕的。
image
image
虽然不是听不懂,不过还是带字幕舒服点。
至于MKV内置字幕的情况,也不能加载。

另,H.265视频貌似支持的不好,如图:
image
image

from dandanplay-libraryindex.

kaedei avatar kaedei commented on July 19, 2024

之前没考虑过支持vtt字幕……你是指本地已经有vtt格式的字幕文件,希望播放时能加载出来吗?这个应该问题不大。

连播功能,可能在页面上放个“上一集”、“下一集”的链接会比较省事吧。

from dandanplay-libraryindex.

lurenJBD avatar lurenJBD commented on July 19, 2024

之前没考虑过支持vtt字幕……你是指本地已经有vtt格式的字幕文件,希望播放时能加载出来吗?这个应该问题不大。

连播功能,可能在页面上放个“上一集”、“下一集”的链接会比较省事吧。

1.关于.vtt确实就是想挂本地的文件,之前就在代码里看到相关功能,同时也查询过Dplayer的代码使用,只是不太了解nancyfx下的Hash文件名称使用,所以就算是开启了字幕功能也是显示不了字幕。(之前用过可道云,可道云里的Dplayer插件提供了vtt字幕加载功能所以就照抄过去了,貌似没有任何作用)
20190502225913

2.添加一个下一集或上一集的按钮就好了,连播功能估计要写挺多代码的,也不太好意思麻烦大佬了。

3.关于视频库web页面优化的问题。就是添加的视频数量一多首页就会变得超级长。。。
20190502225829
像这样首页不显示单个的视频,直接就是显示个作品列表,不再显示单个视频。
20190502225731
这是我在代码里做出的修改。。。实在是不懂怎么用。外行人。。。。

下面的话大佬嫌麻烦可以不用理睬的。

如果可能,是否可以把列表显示方式修改为像弹弹play软件那样的带封面图片的(带评分什么的就算了,虽然想这样弄)。
20190502231709

同时添加个左侧滑出栏同时按番剧上映时间分类的选项,方便查找。

from dandanplay-libraryindex.

kaedei avatar kaedei commented on July 19, 2024

新的测试版 9.4.6.509 中远程访问功能改进了这个issue中提到的相关内容:

  • 首页样式更新:每行会最多显示3个视频,移除了一些文字让每个格子更紧凑。
  • 支持自定义web首页的相关内容(网页最上方的网站名称、关于链接等)。
  • 支持隐藏web首页的视频列表区域(有过滤条件时仍然会显示视频列表)。
  • 播放页中,播放器下方会显示当前动画的剧集列表,方便进行跳转。
  • 播放页支持自动加载vtt字幕文件(vtt文件需要和视频同目录同名),例如播放 a.mp4 时可以加载 a.vtta.mp4.vtt还没有测试过
  • “远程访问”页面的设置会在修改后实时自动保存(web验证、个性化设置、API秘钥等),无法自动保存的在旁边有文字说明
  • 增加根据视频文件id访问文件流、弹幕等API接口
  • url中使用文件id代替Hash,解决了相同Hash存在多份相同视频的选择问题。例如由以前的 /web/0000FFFF 变成了 /web/0000-0000-1111-2222
  • 修复了可能会出现重复弹幕的问题

from dandanplay-libraryindex.

lurenJBD avatar lurenJBD commented on July 19, 2024

好的,非常感谢,这就去测试!!!

from dandanplay-libraryindex.

lurenJBD avatar lurenJBD commented on July 19, 2024

测试完毕了,辛苦大佬了。关于vtt字幕文件,Dplayer已经有显示加载vtt字幕的记录但貌似没法找到文件?
301
这是在chrome开发工具里看见对的记录
302
确定视频文件和字幕文件在同一个文件夹内,且文件名相同(甚至为了防止文件名过长精简了,同时放置在根目录)
304
视频和字幕文件都是确认没问题的。

顺带说一个奇怪的事情:在chrome下Dplayer的按钮显示语言是英文的。但在Edge下却又是中文的。。。emmm....
001
002
chrome支持HTML5 的webm特性,mkv文件可以直接播放。
101
102
Edge旧版不支持webm。。。视频加载失败(新版Edge听说挺好的,大佬有兴趣可以去了解一下)

401
顺带一提,我发现了一款可以在线挂载ass字幕的云盘(但要开超级会员才能用),和百度云的字幕不同,它是支持自动挂载云盘同文件夹下的字幕文件。(虽然挂的是ass字幕,但显示效果和SRT字幕是一样的。。。)

from dandanplay-libraryindex.

kaedei avatar kaedei commented on July 19, 2024

vtt的问题我再测试一下。
至于DPlayer的功能缺失问题,还有播放某些格式视频时有问题,或者是无法加载ass字幕,这些目前都是无能为力的,没有办法解决。

from dandanplay-libraryindex.

lurenJBD avatar lurenJBD commented on July 19, 2024

好的,只要可以挂vtt就很感谢了!

from dandanplay-libraryindex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.