- From: Jeff Schiller <codedread@gmail.com>
- Date: Tue, 8 Apr 2008 00:50:22 -0500
- To: www-smil@w3.org
- Cc: cam@mcc.id.au
- Message-ID: <da131fde0804072250i1ee98acfi92c3335a5e9266f1@mail.gmail.com>
Thanks, Cameraon for the suggestion.
SYMM Working Group,
Can we have a response on this? I think the feature string hasFeature()
check is a good idea, but the feature string would need to be defined in the
spec. "org.w3.smil.timesheet" ?
Thanks,
Jeff
On Wed, Apr 2, 2008 at 6:15 PM, Cameron McCormack <cam@mcc.id.au> wrote:
>
> Hi Jeff.
>
> Jeff Schiller:
> > Is there a standard, recommended technique for detecting browser
> capability
> > when it comes to SMIL? You may be aware of the FakeSmile library:
> > http://leunen.d.free.fr/fakesmile/
> >
> > I would like to see hwo hard it would be to implement support for SMIL
> > Timesheets 1.0 into this library, but I would like to 'future-proof' the
> > library such that if (when) browsers start supporting it natively that
> the
> > script does not run.
>
> A DOM feature string sounds like the way to go, here, so you could do:
>
> if (document.implementation.hasFeature("Timesheets", "1.0"))
> …
>
> --
> Cameron McCormack, http://mcc.id.au/
> xmpp:heycam@jabber.org <xmpp%3Aheycam@jabber.org> ▪ ICQ 26955922
> ▪ MSN cam@mcc.id.au
>
>
Received on Tuesday, 8 April 2008 05:50:56 UTC