This demo shows how to use Site Search 360's voice search and embed search results into a page. View the to check the configuration.

If you don't see a mic icon, chances are that your browser doesn't support voice search yet. Please check the compatibility table of the Speech Recognition API.

window.ss360Config = {
   siteId: 'spoonacular.com', /* Replace with your site id */
   searchBox: {
      selector: '#searchBox' /* Replace with the css selector of your search box */
   },
   results: {
      embedConfig: {
         contentBlock: '.example__page-content-block'  /* Replace with the css selector of the DOM element you want to use */
      }
   },
   voiceSearch: {
      enabled: true
   }
};