xywh.js

xywh.js implements the spatial media fragments dimension of the W3C Media Fragments URI specification as a polyfill. See http://www.w3.org/TR/media-frags/#naming-space for the full details.

Images

#xywh=160,120,320,240

#xywh=160,120,320,240, resized

#xywh=percent:25,25,50,50

#xywh=percent:25,25,50,50, resized

Normal

Videos

#t=17#xywh=130,90,150,150

#xywh=percent:25,25,50,50

#xywh=200,200,50,50 (<source>)

#xywh=percent:25,25,50,50 (<source>)

Normal
Media item credits: Cat, Chrome logo.
Copyleft: xywh.js was created by Thomas Steiner (tomac@google.com) and is provided under the CC0 1.0 Universal (CC0 1.0) license.