Adding a stub player for use in tests
Adding support for the postMessage API