Merge pull request #59 from Juice10/goto-play
Allow goto to specify if it should play or pause
This commit is contained in:
@@ -110,8 +110,8 @@
|
||||
export const pause = () => {
|
||||
controller.pause();
|
||||
};
|
||||
export const goto = (timeOffset: number) => {
|
||||
controller.goto(timeOffset);
|
||||
export const goto = (timeOffset: number, play?: boolean) => {
|
||||
controller.goto(timeOffset, play);
|
||||
};
|
||||
|
||||
onMount(() => {
|
||||
|
||||
Reference in New Issue
Block a user