W3C home > Mailing lists > Public > public-media-fragment@w3.org > September 2010

Re: Expressing complex regions with media fragments - use cases + possible solution

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Wed, 8 Sep 2010 10:51:37 +1000
Message-ID: <AANLkTimC3pPVbpx5o5W5MY_VCFrMxFB_n9r0CyBRmcmy@mail.gmail.com>
To: Jack Jansen <Jack.Jansen@cwi.nl>
Cc: Bernhard Haslhofer <bernhard.haslhofer@univie.ac.at>, public-media-fragment@w3.org, Robert Sanderson <azaroth42@gmail.com>, Simon Rainer <Rainer.Simon@ait.ac.at>
On Wed, Sep 8, 2010 at 7:28 AM, Jack Jansen <Jack.Jansen@cwi.nl> wrote:

> Personal opinion ahead.
>
> I like the idea of using an indirection mechanism to allow media fragments
> to use more complex addressing than it's native syntax enables. Actually, I
> think it is probably the only sane solution: encoding complex shapes (or
> timing constraints, or whatever else) in a URL is bound to lead to ugly
> constructions.
>
> That said, there are a number of problems with your suggestion of
> standardising the ref= scheme.
> First and foremost, it is an elephant-sized hole for cross-site scripting.
> Imaging an agent checking the hostname of the base url, finding everything
> safe, handing it off to its url-library, which then happily proceeds to
> contact the completely unchecked URL in the ref= parameter. Bad idea...
> There are also implementation issues with the agent not knowing whether it
> supports the format pointed at by the ref= parameter without retrieving the
> resource. This could be solved through mimetypes (either retrieved from the
> server, or explicitly coded as ref=image/svg+xml,url). Actually, this is not
> only an implementation issue but also a standardisation issue: unless we
> specify the certain mimetypes for ref= must be accepted it is unclear what
> adding ref= would add in the first place.
>
> Note that MF is an open-ended standard: there is nothing that disallows
> more, extra, parameters. So there is an easy way in which you could
> experiment with this: you just define a "europeana-extended media fragment",
> where you state that the ref= parameter must also be supported, etc etc etc
> (addressing the various issues sketched above). This would allow experience
> to be gained with the format, so that it could be used as input for a future
> Media Fragments 2.0.
>
>

More personal opinion here. :-)

I agree with Jack that you should experiment with this using your own
approach, since without use cases and experience the browsers will not
implement any of this.

I have, however, a pretty big caveat with standardising this approach: right
now we are discussing with the browser vendors on how to present spatial
media fragment URIs. There is a preference to use them for splicing
pictures, i.e. for rendering only the referenced image or video region.

I do not believe that matches your intentions here. IIUC your intentions
here are to only have a means to provide annotations to regions. I think
this is more of a "image map" type approach than an "image splicing"
approach - correct me if I'm wrong.

In this context, I have a very direct question: what do you expect the user
will see differently for your Web page when they browse to content which has
such annotations? Will they see hyperlinks on different areas? Will they see
overlays? What would be the consequence of this? The problem is: as long as
there is no visual consequence of having such annotations available, there
isn't really anything that the browser vendors can implement and they will
just leave it all to javascript technologies.

Cheers,
Silvia.
Received on Wednesday, 8 September 2010 00:52:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 September 2011 12:13:39 GMT