@twilio/player
Advanced tools
Comparing version 1.0.0-beta.13 to 1.0.0-beta.14
/// <reference types="react" /> | ||
/// <reference path="./declarations.d.ts" /> | ||
import * as React from "react"; | ||
@@ -7,3 +6,3 @@ import WaveSurfer from "wavesurfer.js"; | ||
import { WaveSurferParams as WaveSurferParams$0 } from "wavesurfer.js"; | ||
import * as EE from "eventemitter3"; | ||
import EE from "eventemitter3"; | ||
import CanvasEntry from "wavesurfer.js/src/drawer.canvasentry.js"; | ||
@@ -10,0 +9,0 @@ import MultiCanvas from "wavesurfer.js/src/drawer.multicanvas.js"; |
@@ -401,4 +401,6 @@ 'use strict'; | ||
const isPlaying = this.isPlaying(); | ||
const rate = this.ws.getPlaybackRate(); | ||
this.isHotLoading = true; | ||
this.mediaElement.src = url; | ||
this.ws.setPlaybackRate(rate); | ||
this.ws.backend.seekTo(time); | ||
@@ -405,0 +407,0 @@ if (isPlaying) { |
{ | ||
"name": "@twilio/player", | ||
"version": "1.0.0-beta.13", | ||
"version": "1.0.0-beta.14", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
414453
32
1704