                                         kChromeless: true]
                 Loader.shared.resetPlugins()
                 Player.register(playbacks: [StubPlayback.self])
-                let player = StubPlayer(options: options)
+                let player = Player(options: options)
                 let playback = player.activePlayback as? StubPlayback
                 
                 it("auto play when come from background") {

                
                it("sets chromeless mode property to true") {
                    expect(player.chromelessMode).to(beTrue())
                }

                it("calls enterChromelessMode") {
                    expect(player.didCallEnterChromelessMode).to(beTrue())
                }
            }
            

                let options: Options = [kSourceUrl: "http://sitedoesnotexist.com.br/"]
                Loader.shared.resetPlugins()
                Player.register(playbacks: [StubPlayback.self])
                let player = Player(options: options)
                let playback = player.activePlayback as? StubPlayback
                
                it("does not auto play when come from background") {
