You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 20, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 20, 2018. It is now read-only.
example / feature support indication in ref / site #59
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.
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.
Activity
lmccart commentedon 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 commentedon Jul 28, 2015
ohhhh, nice! I'll dive into this after dom jobs are complete and the downloadable reference
lmccart commentedon Jul 28, 2015
raaad
toolness commentedon Nov 20, 2015
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 commentedon Nov 20, 2015
yeah that would be rad