Difference between revisions of "Web Share"

From MgmtWiki
Jump to: navigation, search
(Problems)
(Context)
Line 5: Line 5:
 
* [https://w3c.github.io/web-share/#feature-policy Web Share API] current draft at W3C.
 
* [https://w3c.github.io/web-share/#feature-policy Web Share API] current draft at W3C.
 
* Web Share is only available in the context of transient activation (previously known as user activation).
 
* Web Share is only available in the context of transient activation (previously known as user activation).
 +
* One principle is that the web site cannot know what native apps the user has loaded, or which app was chosen by the user to handle the content as that would "fingerprint" the user.
  
 
==Problems==
 
==Problems==

Revision as of 09:39, 12 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).
  • One principle is that the web site cannot know what native apps the user has loaded, or which app was chosen by the user to handle the content as that would "fingerprint" the user.

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
      • 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
    • Text
      • 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
    • Video
      • m4v - video/mp4
      • mp4 - video/mp4
      • mpeg - video/mpeg
      • mpg - video/mpeg
      • ogm - video/ogg
      • ogv - video/ogg
      • webm - video/webm

References