🏠 back to Observable

Is Media Fragments still used?

I wonder if some of you are using Media Fragments (#t=10,20 for example, or the more esoteric #xywh=100,100,10,10). Please give examples, references or anecdotes if you do (or did).

I wrote a small notebook about it for reference.

My hope was that HTMLImageElement and HTMLVideoElement (or any other native object) could give access to that information, but it’s not the case. I could only find https://github.com/tomayac/Media-Fragments-URI/.

2 Likes

I’ve never heard of them before, but it seems that support is very spotty at best, and probably not something to rely on. To add some links:

3 Likes

Thanks a lot for the references and the comments!

I discover that you can specify a fragment in CSV:

http://example.com/data.csv#row=5-7

https://tools.ietf.org/html/rfc7111#section-2

(It’s not implemented in d3-fetch’s d3.csv :P)

2 Likes