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

vid+palyauth播放问题 #43

Open
gavinlau opened this issue Mar 6, 2021 · 5 comments
Open

vid+palyauth播放问题 #43

gavinlau opened this issue Mar 6, 2021 · 5 comments

Comments

@gavinlau
Copy link

gavinlau commented Mar 6, 2021

console.log(this.$refs.VueAliplayerV2.getPlayer().replayByVidAndPlayAuth)
console.log(this.$refs.VueAliplayerV2.replayByVidAndPlayAuth)
均为undefined

@langyuxiansheng
Copy link
Owner

感谢反馈, 最近有点忙没看到GitHub的问题,我会抽时间看一下.

@weisong5653
Copy link

@langyuxiansheng
this.$refs.VueAliplayerV2.replay()和this.$refs.VueAliplayerV2.pause()也是undefined

@langyuxiansheng
Copy link
Owner

感谢反馈,在使用的时候若报错undefined,可以先把 this.$refs 对象打印出来看看是否有VueAliplayerV2的组件,或者有多个的时候
this.$refs.VueAliplayerV2 对象会变为数组.

@weisong5653
Copy link

好的谢谢,已解决 @langyuxiansheng

@langyuxiansheng
Copy link
Owner

好的谢谢,已解决 @langyuxiansheng

不客气

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

3 participants