-
Notifications
You must be signed in to change notification settings - Fork 121
视频进度条缩略图有偏差,以及重复显示缩略图 #573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
视频的时长和缩略图的宽高是一样的吗?方便给我一个图片我来测一下吗? |
邮箱私发我,我给你发送。因为测试的时候随手拿的珍藏视频来做的测试,所以邮件私发比较好。 |
我 github 个人信息页有我的邮箱和微信。 nepow@foxmail.com |
我已发送4张雪碧图,与视频播放地址。 |
已修复,可以升到 1.0.15 版本 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我有一张进度条缩略图、10列、20行、每秒一帧的缩略图,我的thumbnail设置:
thumbnail:{
startSecond: 0,
gapSecond: 1,
row: 20,
col: 10,
width: 130,
height: 58,
images: ["/tile_1.jpg","/tile_2.jpg","/tile_3.jpg","/tile_4.jpg"]
}
但我在网页上移动鼠标到视频进度条0:00时,显示的是第一张缩略图,但当我继续移动到进度条0:10的时候又显示第一张缩略图。
并且,进度条缩略图与视频内容不符。
我开始将thumbnail的行与列设置为以下:
thumbnail:{
startSecond: 0,
gapSecond: 1,
row: 10,
col: 20,
width: 130,
height: 58,
images: ["/tile_1.jpg","/tile_2.jpg","/tile_3.jpg","/tile_4.jpg"]
}
与上面的问题不同,这次的问题出在了当鼠标移到到0:10—0:20的区间内的缩略图为空,0:20—0:30的区间有缩略图,以这样的形式持续往后到进度条结束,但这次的进度条缩略图与视频内容似乎对上了。
我使用的:<script src="https://unpkg.com/nplayer@latest/dist/index.min.js"></script>
The text was updated successfully, but these errors were encountered: