Skip to content

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

@F1462900874

Description

@F1462900874

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions