Skip to content

Commit f7f397d

Browse files
authored
Add videos (GoogleChrome#7878)
1 parent 7ee3b31 commit f7f397d

File tree

1 file changed

+14
-0
lines changed
  • src/site/content/en/blog/svgcode

1 file changed

+14
-0
lines changed

src/site/content/en/blog/svgcode/index.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,13 @@ shareSVGButton.addEventListener('click', async () => {
318318
});
319319
```
320320

321+
<figure>
322+
{% Video autoplay=true, muted=true, loop=true, playsinline=true, src="video/8WbTDNrhLsU0El80frMBGE4eMCD3/p3Dn9FXrNLPtb4syXnfl.mp4" %}
323+
<figcaption>
324+
Sharing an SVG image to Gmail.
325+
</figcaption>
326+
</figure>
327+
321328
### Web Share Target (Files)
322329

323330
The other way round, SVGcode can also act as a share target and receive files from other apps. To
@@ -368,6 +375,13 @@ self.addEventListener('fetch', (fetchEvent) => {
368375
});
369376
```
370377

378+
<figure>
379+
{% Video autoplay=true, muted=true, loop=true, playsinline=true, src="video/8WbTDNrhLsU0El80frMBGE4eMCD3/SVtll3ShgNigvkVLu7cn.mp4" %}
380+
<figcaption>
381+
Sharing a screenshot to SVGcode.
382+
</figcaption>
383+
</figure>
384+
371385
## Conclusion
372386

373387
Alright, this was a quick tour through some of the advanced app features in SVGcode. I hope this app

0 commit comments

Comments
 (0)