Examples & Tips
…Media API to capture video (and/or audio) from the user’s device. History API January 17, 2017 1484629200 February 19, 2018 1519017240 History API Use the History API to modify the…
…Media API to capture video (and/or audio) from the user’s device. History API January 17, 2017 1484629200 February 19, 2018 1519017240 History API Use the History API to modify the…
…These examples will reference Nebula (this WordPress theme framework), but they are absolutely applicable for other themes and plugins! Getting Started with the JavaScript WordPress Hooks API This API is…
Nebula automatically loads the Google Maps JS API script if the class googlemap exists. It triggers nebula_google_maps_api_loaded when it is loaded. However, Nebula does not provide additional functions for placing…
This API requires an API key from the Google Developers Console. It can be stored in Nebula Options.
…based on the current page if ( is_page(1224) ){ //Example product detail page $urls[] = ‘/products/’; $urls[] = ‘/where-to-buy/’; } return $urls; //Always return in a filter! }); Documentation: https://developer.mozilla.org/en-US/docs/Web/API/Speculation_Rules_API…
This is only a demo of how to implement the Get User Media API, which requires a secure connection and must be activated and given permission by the user. This…