alterm4nn/ChronoZoom — pull request #1346 by NeilCresswell (2014-08-04 23:40:58+00:00)
Title: Speech Input: General Implementation + Find Feature Completed

Adds general HTML5 speech input capability to ChronoZoom for browsers that are capable. Is safely ignored by browsers that are not capable. Also has option to enable/disable speech input in web config. Please note that this version defaults to disabled state in web.config for now since:
1. This is only usable in Chrome at present, until IE12 launches.
2. This first version is for demo/proof of concept purposes that can be expanded upon, and only the ability to search has been completed. Other verbal controls such as "next item" in a tour are stubbed but not implemented.

If you'd like to enable this on your personal copy of CZ to experiment (or demo) then this line should be added to your web.config:

Uses general HTML5 speech input capability to drive verbal searches of ChronoZoom (fully implemented) using the find verb in the format "find *". For example, from the home page of CZ (anon user) you can say "find fish" and the view will switch to the canvas of timelines and the first timeline/exhibit/content item with "fish" in it will be located and you'll be navigated to that item. You can then search for something else such as "find humanity", "find Roman history" or "find cosmos". If an item can't be found, e.g. "find manites" then you're told "Unable to find manites".

Including now so work is not lost for potential future use. There was a discussion about possible finishing up a verbal tour navigation feature. The next item/previous item verbage for tours is already captured and passed to the appropriate empty functions (stubbed.) All that would be required would be to add code to make sure that a tour window was up and if so, fire the next or previous buttons. This is quite trivial to implement.