ja2375 / FluTube

A Flutter plugin to facilitate embedding Youtube videos inside mobile apps.
MIT License
34 stars 17 forks source link

Checking nulls before disposing #11

Closed muriloinflue closed 5 years ago

muriloinflue commented 5 years ago

Those lines were generating errors when creating the player.

muriloinflue commented 5 years ago

There are two changes on this PR. 30241a7 is "generic", while 0da83b3 can most of the time fix the problem on #9 and #10 (which was affecting me as well). It's a 'brute' way to fix the problem but at least it worked for me.

ja2375 commented 5 years ago

Many thanks for your contribution! I will update the plugin on Pub with your changes. Thanks again!