bilibili / bilibili/bas

关于BAS弹幕的一个小建议

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
201
Forks
17
PR merge metrics
No merged PRs in 30d

Description

由于在官方文档中似乎并没有获取当前播放时间的东西,能否在功能中添加一个获取当前播放时间的功能?
比如我希望做一个问答类型的BAS弹幕,并预留了100s给用户来进行选择,用户选择后自动跳转至对应时间点。但实际测试情况下(例如通过点击自动跳转到片头部分),发现其自动跳转后对应的交互按钮依旧存在,直到对应秒数过后才会消失。希望能够实现一下这一个功能

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the official BAS documentation and the existing playback and interaction APIs, since no repository file or test is named. Confirm how seeking is handled and define the current-time value and its update behavior; done means a BAS interaction can read the current playback time and react correctly after a seek.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.