-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
The problem
The usage mentioned here is not working for me.
"vue": "2.6.12",
"vue-videojs7": "1.0.2"
When I tried, I get the Vue's unknown component error: [Vue warn]: Unknown custom element: <video-player> - did you register the component correctly?
I Inspected the code and find there is no export for videoPlayer, only as default.
Possible solutions
1. For the author
Add this to vue-videojs7/index.js file:
export { videoPlayer }
2. For users of library
import videojs7 from 'vue-videojs7'
export default {
components: { videoPlayer: videojs7.videoPlayer }
}
farshidgilak, aeheathc and Dogmanus
Metadata
Metadata
Assignees
Labels
No labels