Difference between revisions of "Web Share"
From MgmtWiki
(→Problems) |
(→Problems) |
||
| Line 9: | Line 9: | ||
* [https://groups.google.com/a/chromium.org/g/blink-dev/c/fgme9KOd8CU/m/a2lrPyslFAAJ?utm_medium=email&utm_source=footer&pli=1 Evaluate Readiness to Ship] describes a problem at YouTube. | * [https://groups.google.com/a/chromium.org/g/blink-dev/c/fgme9KOd8CU/m/a2lrPyslFAAJ?utm_medium=email&utm_source=footer&pli=1 Evaluate Readiness to Ship] describes a problem at YouTube. | ||
* The [https://w3c.github.io/web-share/#feature-policy Web Share API] is only used to move from a web page to an app which handles the following file types: | * The [https://w3c.github.io/web-share/#feature-policy Web Share API] is only used to move from a web page to an app which handles the following file types: | ||
| + | **Application | ||
| + | ***pdf - application/pdf | ||
| + | **Audio | ||
| + | ***flac - audio/flac | ||
| + | ***m4a - audio/x-m4a | ||
| + | ***mp3 - audio/mpeg (also accepts audio/mp3) | ||
| + | ***oga - audio/ogg | ||
| + | ***ogg - audio/ogg | ||
| + | ***opus - audio/ogg | ||
| + | ***wav - audio/wav | ||
| + | ***weba - audio/webm | ||
| + | ***mage | ||
| + | ***avif - image/avif | ||
| + | .bmp - image/bmp | ||
| + | .gif - image/gif | ||
| + | .ico - image/x-icon | ||
| + | .jfif - image/jpeg | ||
| + | .jpeg - image/jpeg | ||
| + | .jpg - image/jpeg | ||
| + | .pjp - image/jpeg | ||
| + | .pjpeg - image/jpeg | ||
| + | .png - image/png | ||
| + | .svg - image/svg+xml | ||
| + | .svgz - image/svg+xml | ||
| + | .tif - image/tiff | ||
| + | .tiff - image/tiff | ||
| + | .webp - image/webp | ||
| + | .xbm - image/x-xbitmap | ||
| + | **txt | ||
| + | ***css - text/css | ||
| + | ***csv - text/csv | ||
| + | ***ehtml - text/html | ||
| + | ***htm - text/html | ||
| + | ***html - text/html | ||
| + | ***shtm - text/html | ||
| + | ***shtml - text/html | ||
| + | ***text - text/plain | ||
| + | ***txt - text/plain | ||
| + | ***ideo | ||
| + | ***m4v - video/mp4 | ||
| + | ***mp4 - video/mp4 | ||
| + | ***mpeg - video/mpeg | ||
| + | ***mpg - video/mpeg | ||
| + | ***ogm - video/ogg | ||
| + | ***ogv - video/ogg | ||
| + | ***webm - video/webm | ||
==References== | ==References== | ||
[[Category: Browser]] | [[Category: Browser]] | ||
Revision as of 21:14, 11 June 2022
Full Title or Meme
An API for sharing text, links and other content to an arbitrary destination of the user's choice.
Context
- Web Share API current draft at W3C.
- Web Share is only available in the context of transient activation (previously known as user activation).
Problems
- Evaluate Readiness to Ship describes a problem at YouTube.
- The Web Share API is only used to move from a web page to an app which handles the following file types:
- Application
- pdf - application/pdf
- Audio
- flac - audio/flac
- m4a - audio/x-m4a
- mp3 - audio/mpeg (also accepts audio/mp3)
- oga - audio/ogg
- ogg - audio/ogg
- opus - audio/ogg
- wav - audio/wav
- weba - audio/webm
- mage
- avif - image/avif
- Application
.bmp - image/bmp .gif - image/gif .ico - image/x-icon .jfif - image/jpeg .jpeg - image/jpeg .jpg - image/jpeg .pjp - image/jpeg .pjpeg - image/jpeg .png - image/png .svg - image/svg+xml .svgz - image/svg+xml .tif - image/tiff .tiff - image/tiff .webp - image/webp .xbm - image/x-xbitmap
- txt
- css - text/css
- csv - text/csv
- ehtml - text/html
- htm - text/html
- html - text/html
- shtm - text/html
- shtml - text/html
- text - text/plain
- txt - text/plain
- ideo
- m4v - video/mp4
- mp4 - video/mp4
- mpeg - video/mpeg
- mpg - video/mpeg
- ogm - video/ogg
- ogv - video/ogg
- webm - video/webm
- txt