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

Does vue3 support custom buttons to play pause video? #459

Open
4 tasks done
F1462900874 opened this issue Jan 26, 2024 · 1 comment
Open
4 tasks done

Does vue3 support custom buttons to play pause video? #459

F1462900874 opened this issue Jan 26, 2024 · 1 comment

Comments

@F1462900874
Copy link

Describe the bug

I'm using the latest version of vue3 and have gotten the component instance, but can't execute the play() method

Reproduction

<script setup> const videoPlayerRef = ref('') const vedioStore = useVedioStore() const { allVedioList } = storeToRefs(vedioStore) const playerOptions = ref({}) console.log("videoPlayerRef", videoPlayerRef); </script>

System Info

"dependencies": {
    "@videojs-player/vue": "1.0.0",
    "video.js": "8.9.0",
    "vue": "^3.3.11",
    "vue-router": "^4.2.5",
  },

Used Package Manager

yarn

Validations

  • Read the the documentation in detail.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
  • The provided reproduction is a minimal reproducible example of the bug.
@fengfengzhidao
Copy link

我也遇到这个问题了,主键实例的这些方法都是undefined,只能通过dom去执行方法

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