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

lastPlayTime 记忆播放配置项失效 #1386

Closed
beginnerSong opened this issue Apr 15, 2024 · 3 comments
Closed

lastPlayTime 记忆播放配置项失效 #1386

beginnerSong opened this issue Apr 15, 2024 · 3 comments
Labels

Comments

@beginnerSong
Copy link

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
3.0.16

您使用的操作系统和浏览器分别是? What OS and browser are you using?
win10 chrome

如何复现问题? How to reproduce the problem?
this.player && this.player.destroy();
this.player = new Player({
id: 'xPlayer',
url: this.showWorks.video,
fluid: true,
videoInit: true,
autoplay,
lastPlayTime: 10,
});

您期望的播放器正常行为是? What did you expect to happen?
根据后端返回时间 设置视频起始时间

实际播放器的表现是? What actually happened?
打印播放器实例 lastPlayTime确实为设置时间 但是还是从头开始播放的

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

@3246567702
Copy link

player.value.currentTime = 这里写起始时间

Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label Jul 22, 2024
Copy link

This issue has been automatically closed after a period of inactivity. If it is still present in the latest release, please create a new issue with up-to-date information. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants