avidofood / vue-responsive-video-background-player

Play your own videos in background responsively in different resolutions.
https://avidofood.github.io/vue-responsive-video-background-player/
MIT License
292 stars 36 forks source link

TypeError Cannot read property 'pause' of undefined #4

Closed andsilver closed 4 years ago

andsilver commented 4 years ago

Thanks for this library. I use this library to display some videos as user story on a website. I get this error if I switch to different page quickly(maybe when the video is loading). Please check the below screenshot. image

Could you add simple validation before the pause() called? If you are busy, I can add it.

Thanks

pmochine commented 4 years ago

Updated NPM to vue-responsive-video-background-player@1.0.7,

have a check if it works :)

andsilver commented 4 years ago

Thank you, I will check it right now