We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32bb251 commit 3824f02Copy full SHA for 3824f02
src/players/Vidyard.js
@@ -18,6 +18,10 @@ export default class Vidyard extends Component {
18
load (url, isReady) {
19
const { config, onError, onDuration } = this.props
20
const id = url && url.match(MATCH_URL_VIDYARD)[1]
21
+ if (this.player) {
22
+ this.stop()
23
+ delete this.player
24
+ }
25
getSDK(SDK_URL, SDK_GLOBAL, SDK_GLOBAL_READY).then(Vidyard => {
26
if (!this.container) return
27
Vidyard.api.addReadyListener((data, player) => {
0 commit comments