This plugin enables you to easily add video content in the story format created in manage.gobistories.com to your web page.
The primary functionality of the plugin consists of the shortcode
gobi. The shortcode renders a gobi-story in your article, post or page in-place. This story is then autodiscovered automatically on page load. The plugin ensures that all the proper scripts are automatically loaded. If you need a specific version of the Gobi Web Integration installed, this can be tuned in the plugin’s settings.
Simple use with single story
Enable Shadow DOM
[gobi stories="abc123" disable_shadow_dom="true"]
[gobi stories="abc123" color="#ff0077"]
Options for setting default colors will be implemented in an upcoming version.
All standard gobi properties are available to use in the gobi shortcode. The properties must be supplied in snake_case instead of the standard camelCase
used by the Gobi Web Integration.
The current list of supported properties are:
This plugin will call and use the remote script for the Gobi Web Integration („GWI”). The purpose of the call is to enable you to easily find and use a compatible version of GWI with your website.
GWI is a required script for your gobi-stories to be displayed properly. While you could inject GWI yourself into the header via some plugin or via extending your websites theme, this is sometimes prone to errors and may not work as intended, and requires a lot more technical know-how.
The script will be loaded from unpkg (https://unpkg.com/). Unpkg is licensed under AGPL (https://raw.githubusercontent.com/mjackson/unpkg/master/LICENSE).
The script will be loaded into all pages, and onload GWI’s autodiscover function will be run ensuring all gobi stories are rendered properly.
Nu există nicio verificare pentru acest modul.
Contributori și dezvoltatori
„Embedded Stories” este un software open-source. La acest modul au contribuit următoarele persoane.Contributori
- Fixed fatal crash WordPress error for setting page
- Updated README
- Ensure any given attribute passed to the shortcode are rendered on the GWI-element.
- Updated README
- Fixed typo in plugin title. Added title_font_family.
- Fix bug when version is empty.
- Improve documentation.
- Fix version parsing, ensure it is properly encoded before sending to unpkg
- Initial release