Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

example / feature support indication in ref / site #59

Open
lmccart opened this issue Aug 18, 2014 · 5 comments
Open

example / feature support indication in ref / site #59

lmccart opened this issue Aug 18, 2014 · 5 comments
Assignees

Comments

@lmccart
Copy link
Member

lmccart commented Aug 18, 2014

some things, like web audio and capture don't work in certain browsers. it would be good to display this on the reference as well as on the examples (or have them not show up) based on browser.

@lmccart
Copy link
Member Author

lmccart commented Jul 28, 2015

I think the way to do this would be to include Modernizr.js and then add checks to specific functions to display warning text or an icon accordingly.

http://diveintohtml5.info/detect.html

@futuremarc
Copy link

ohhhh, nice! I'll dive into this after dom jobs are complete and the downloadable reference

@futuremarc futuremarc self-assigned this Jul 28, 2015
@lmccart
Copy link
Member Author

lmccart commented Jul 28, 2015

raaad

@toolness
Copy link
Member

Another option is to integrate with caniuse.com's raw browser/feature support data to show how well a feature is supported across different browsers. For p5 authors, this could be particularly useful as it wouldn't just tell them whether a feature is supported on their current browser, but how well their potential audience will be able to experience the sketch as well.

@lmccart
Copy link
Member Author

lmccart commented Nov 20, 2015

yeah that would be rad

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants