This PR adds support for gated video, as well as updating the way we handle shortcodes in the Joomla plugin. Takes some ideas & code from WordPress to give a more uniform handling of shortcodes between the platforms so that it's easier on devs to implement new shortcodes in the future.
Now, to add additional shortcodes, devs can simply create a do{NAME}Shortcode method to the plugin class, and it will automatically be parsed. So in the case of gated video, you'll see that there is a doVideoShortcode method.
This PR adds support for gated video, as well as updating the way we handle shortcodes in the Joomla plugin. Takes some ideas & code from WordPress to give a more uniform handling of shortcodes between the platforms so that it's easier on devs to implement new shortcodes in the future.
Now, to add additional shortcodes, devs can simply create a
do{NAME}Shortcode
method to the plugin class, and it will automatically be parsed. So in the case of gated video, you'll see that there is adoVideoShortcode
method.