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…

Google Maps JavaScript API

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…

Google Maps Embed API

This API requires an API key from the Google Developers Console. It can be stored in Nebula Options.

Adding URLs to the JSON Speculation Rules API

…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

Get User Media 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…

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!