                 }
             }
             
+            context("when the activeContainer triggers didChangePlayback") {
+                it("triggers detectDVR event") {
+                    let dvrPlugin = buildPlugin(position: getMinDvrSize(), playbackType: .live)
+                    var didTriggerDetectDvr = false
+                    dvrPlugin.core?.activePlayback?.on(InternalEvent.detectDVR.rawValue) { (userInfo: EventUserInfo) in
+                        didTriggerDetectDvr = true
+                    }
+                    
+                    dvrPlugin.core?.activeContainer?.trigger(InternalEvent.didChangePlayback.rawValue)
+                    
+                    expect(didTriggerDetectDvr).toEventually(beTrue())
+                }
+            }
+            
             context("when playback is live") {
                 
                 context("and playback triggers bufferUpdate") {
                     
                     context("and has position higher or equal than minDvrSize") {
-                        it("triggers enable dvr with true") {
+                        it("triggers detectDVR with enabled true") {
                             let dvrPlugin = buildPlugin(position: getMinDvrSize(), playbackType: .live)
                             var didHaveDvr = false
                             dvrPlugin.core?.activePlayback?.on(InternalEvent.detectDVR.rawValue) { (userInfo: EventUserInfo) in

                }
                
                context("and core triggers didChangeActivePlayback") {
                    it("triggers enable dvr with false") {
                        let plugin = buildPlugin(position: getMinDvrSize(), playbackType: .vod)
                        var didHaveDvr = true
                        plugin.core?.activePlayback?.on(InternalEvent.detectDVR.rawValue) { (userInfo: EventUserInfo) in

                    
                    context("and has position less than minDvrSize") {
                        
                        it("triggers detectDVR with enabled false") {
                            let plugin = buildPlugin(position: getMinDvrSize() - 10, playbackType: .live)
                            var didHaveDvr = true
                            plugin.core?.activePlayback?.on(InternalEvent.detectDVR.rawValue) { (userInfo: EventUserInfo) in
