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

Fix for uncaught error of destroy method #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AttilaSATAN
Copy link

patch for #174
In the presence of options video: false or audio: false, destroy() method of player instance throws an error as

Uncaught TypeError: Cannot read property 'destroy' of undefined
    at Player.destroy (jsmpeg.min.js:formatted:264)

patch for phoboslab#174
In the presence of options `video: false` or `audio: false`, `destroy()` method of player instance throws an error as

```js
Uncaught TypeError: Cannot read property 'destroy' of undefined
    at Player.destroy (jsmpeg.min.js:formatted:264)

```
@grajagandev
Copy link

Would you be interested in software that automatically finds TypeErrors caused by corner cases like these options? I am building Fuzz Stati0n to do that (free for OSS) - please take a look and consider signing up for our newsletter to keep in touch.

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

Successfully merging this pull request may close these issues.

None yet

3 participants