                                         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())
                }
            }
            

                it("sets chromeless mode property to false") {
                    expect(player.chromelessMode).to(beFalse())
                }
            }
        }
    }

    class StubPlayback: Playback {
