Skip to content
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

feat: add Controller & ProgressDot event #177

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Conversation

TaraLoveCats
Copy link
Contributor

Pull Request Template

Description

增加播放器 Controller 控件和播放节点 ProgressDot 的相关 event 和 action,以实现跨窗口通信

  • SHOW_CONTROLLER,展示 Controller (event & action)
  • HIDE_CONTROLLER,隐藏 Controller (event)
  • HOVER_PROGRESS_DOT,鼠标 hover 播放节点(event)
  • LEAVE_PROGRESS_DOT,鼠标离开播放节点(event)

hover ProgressDot 播放节点时进度条高度增加至 6px

How Has This Been Tested?

  • 本地 yarn start 测试 event

企业微信截图_b7dfee5b-5415-428e-80ff-0d2683e5e88d

企业微信截图_f7aedc6a-dc29-41fe-9385-9a3aa62b76d0

  • IframePage 中增加显示进度条的 action example 测试通过

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@ambar ambar merged commit 842c7b2 into zhihu:master Jun 24, 2021
@TaraLoveCats TaraLoveCats deleted the dev branch June 24, 2021 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants