We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a3606e commit 075cae4Copy full SHA for 075cae4
src/playercomponent.js
@@ -9,6 +9,7 @@ import PluginData from "./plugindata"
9
import PluginEnums from "./pluginenums"
10
import Plugins from "./plugins"
11
import MediaPlayerBase from "./playbackstrategy/modifiers/mediaplayerbase"
12
+import { DebugTool } from "./main"
13
14
function PlayerComponent(
15
playbackElement,
@@ -111,6 +112,7 @@ function PlayerComponent(
111
112
playbackStrategy.addMediaPlayerEventCallback &&
113
playbackStrategy.addMediaPlayerEventCallback(this, function pauseCallback(event) {
114
if (event.type === MediaPlayerBase.EVENT.METADATA) {
115
+ DebugTool.info("calling pause callback")
116
playbackStrategy.pause()
117
playbackStrategy.removeMediaPlayerEventCallback(pauseCallback)
118
}
0 commit comments