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

你好,获取播放时间和从某个时间段开始播放是哪个方法呢? #77

Open
paomian567 opened this issue Jan 4, 2021 · 3 comments

Comments

@paomian567
Copy link

你好,我想知道,怎么获取视频播放到哪个时间段了,比如现在播放了25秒,还有就是可以设置从1分38秒的时候开始播放,有这样的两个方法吗

@guoguicheng
Copy link
Owner

vr.video.currentTime获取当前视频播放时长,vr.video.currentTime=38设置视频从第38秒开始播放

@paomian567
Copy link
Author

你好,vr.video.currentTime获取当前视频播放时长,一直是0

@guoguicheng
Copy link
Owner

直播流的无法获取

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

No branches or pull requests

2 participants