Update assets URL in the code snippet

The assets are not loading when copy/pasting it in the editor, due to protocol mismatch.
pull/2558/head
Emil Nikov 5 years ago committed by GitHub
parent a06f92a930
commit a3378466d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,8 +8,8 @@ On line 116, add `currentTime={time}`, `duration` and `paused` bindings:
```html
<video
poster="http://svelte-assets.surge.sh/caminandes-llamigos.jpg"
src="http://svelte-assets.surge.sh/caminandes-llamigos.mp4"
poster="https://svelte-assets.surge.sh/caminandes-llamigos.jpg"
src="https://svelte-assets.surge.sh/caminandes-llamigos.mp4"
on:mousemove={handleMousemove}
on:mousedown={handleMousedown}
bind:currentTime={time}
@ -36,4 +36,4 @@ The complete set of bindings for `<audio>` and `<video>` is as follows — four
* `currentTime` — the current point in the video, in seconds
* `playbackRate` — how fast to play the video, where `1` is 'normal'
* `paused` — this one should be self-explanatory
* `volume` — a value between 0 and 1
* `volume` — a value between 0 and 1

Loading…
Cancel
Save