Added dispose method to be able to dispose video player.

Added dispose method to be able to dispose video player.

- Namespacing of window resize event
- New public dispose method