mirror of https://github.com/sveltejs/svelte
Add audio video volume binding (#1148)
* Add audio/video volume binding Fixes #1143 * Update test and add volumechange event * Set volume on initial update * Update test after setting volume initially Oops.pull/1149/head
parent
56e9343294
commit
b5a3e2224d
@ -1 +1 @@
|
||||
<audio bind:buffered bind:seekable bind:played bind:currentTime bind:duration bind:paused/>
|
||||
<audio bind:buffered bind:seekable bind:played bind:currentTime bind:duration bind:paused bind:volume/>
|
||||
|
@ -0,0 +1,2 @@
|
||||
<audio bind:currentTime='t' bind:duration='d' bind:paused bind:volume='v'
|
||||
src='music.mp3'></audio>
|
@ -1 +0,0 @@
|
||||
<audio bind:currentTime='t' bind:duration='d' bind:paused src='music.mp3'></audio>
|
Loading…
Reference in new issue