Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog #

## v2.9.0 (November XX, 2026) ##

- Feat: Developers can now build their own layer types for GoDAM videos and images with the Layer API: describe the layer in a `layer.json` file and register it from PHP, the video editor and the front end, the way blocks are built. Custom layers appear in the "Add layer" menu and render in the player and the GoDAM Image block.
- Tweak: A layer's front-end script now loads only on pages that show that kind of layer, instead of on every page with a GoDAM video.
- Tweak: GoDAM's own layers (CTA, forms, hotspots, polls and ads) now run on the Layer API. Layers you already added keep working as before.
- Tweak: The old add-on layer hooks (`godam_video_editor_layer_options`, `godam_video_editor_layer_components`, `godam_player_render_layer` and the `window.godamLayer*` globals) are deprecated and will be removed in 2.11.0. They keep working until then, with a deprecation notice.

## v2.8.1 (November 11, 2026) ##

- Fix: Security fixes.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Tested up to: 7.1

Requires PHP: 7.4

Stable tag: 2.8.1
Stable tag: 2.9.0

License: [GPLv2 or later](http://www.gnu.org/licenses/gpl-2.0.html)

Expand Down
4 changes: 2 additions & 2 deletions godam.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: GoDAM
* Plugin URI: https://godam.io
* Description: Seamlessly manage and deliver your media assets directly from the cloud-based media management. Store assets efficiently, stream them via a CDN, and enhance your website's performance and user experience. Featuring adaptive bit rate streaming, adding interactive layers in videos, and taking full advantage of a digital asset management solution within WordPress.
* Version: 2.8.1
* Version: 2.9.0
* Requires at least: 6.5
* Requires PHP: 7.4
* Text Domain: godam
Expand Down Expand Up @@ -43,7 +43,7 @@
/**
* The version of the plugin
*/
define( 'RTGODAM_VERSION', '2.8.1' );
define( 'RTGODAM_VERSION', '2.9.0' );
}

if ( ! defined( 'RTGODAM_API_BASE' ) ) {
Expand Down
2 changes: 1 addition & 1 deletion inc/classes/class-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function setup_hooks() {
* `enqueue_block_assets`, not those of the editor window. On the front end
* the block loads them itself, only for the layers it shows.
*
* @since n.e.x.t
* @since 2.9.0
*
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion inc/classes/class-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ private function get_layer_entries_url( $layer ) {
* (`window.godam.layers`). The video editor depends on it, and so can an
* add-on's editor script that registers its own layer types.
*
* @since n.e.x.t
* @since 2.9.0
*
* @return void
*/
Expand Down
14 changes: 7 additions & 7 deletions inc/classes/layers/class-layer-type-registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function fire_init() {
/**
* Fires when layer types should register. Call `godam_register_layer_type()` here.
*
* @since n.e.x.t
* @since 2.9.0
*/
do_action( 'godam_init' );
}
Expand Down Expand Up @@ -130,7 +130,7 @@ public function register( $path_or_metadata, $args = array() ) {
/**
* Filters a layer type's metadata before it registers.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param array $metadata Metadata from `layer.json`.
*/
Expand Down Expand Up @@ -377,7 +377,7 @@ public function render( $layer, $instance_id, $context = array() ) {
* The deprecation is reported before output is buffered, so a notice printed
* under `WP_DEBUG` goes to the page rather than into the layer's markup.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param array $layer Saved layer.
* @param string $instance_id Player instance id.
Expand Down Expand Up @@ -567,7 +567,7 @@ public function enqueue_view_scripts_for_media( $media = null ) {
* For the block editor canvas, an iframe that gets the styles enqueued on
* `enqueue_block_assets` but not the editor window's scripts.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param string|null $media `video`, `image`, or null for any.
* @return void
Expand Down Expand Up @@ -676,7 +676,7 @@ private function register_scripts( $type, $key, $extra_deps ) {
* `layer.json`. A `*-rtl.css` beside the file (as `@wordpress/scripts` builds
* it) replaces it on right-to-left sites.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param array $type Layer type.
* @param string $key `style`, `viewStyle` or `editorStyle`.
Expand Down Expand Up @@ -765,7 +765,7 @@ private function is_godam_file( $file ) {
* then without one, so a translation the text domain already has for the
* same string, say from the add-on's editor script, is used too.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param string|array $schema Context, or the schema of an array of settings.
* @param mixed $settings Metadata, or part of it.
Expand Down Expand Up @@ -855,7 +855,7 @@ private function read_metadata( $path ) {
*/
private function notice( $method, $message ) {
if ( function_exists( '_doing_it_wrong' ) ) {
_doing_it_wrong( esc_html( __CLASS__ . '::' . $method ), esc_html( $message ), 'n.e.x.t' );
_doing_it_wrong( esc_html( __CLASS__ . '::' . $method ), esc_html( $message ), '2.9.0' );
}
}
}
2 changes: 1 addition & 1 deletion inc/classes/shortcodes/class-godam-player.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ final protected function __construct() {
* `godam/image` block's `godam-player-style` out of the canvas, and every
* add-on stylesheet that depends on it, such as the Woo product hotspot's.
*
* @since n.e.x.t
* @since 2.9.0
*
* @return void
*/
Expand Down
10 changes: 5 additions & 5 deletions inc/helpers/layer-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* Register a layer type. Call it on the `godam_init` action.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param string|array $path_or_metadata Path to a `layer.json` (or its folder), or the metadata array.
* @param array $args `render_callback`, `is_available`, `should_render`, `variations`.
Expand All @@ -35,7 +35,7 @@ function godam_register_layer_type( $path_or_metadata, $args = array() ) {
/**
* Remove a layer type.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param string $name Layer type name.
* @return array|false The removed type, or false.
Expand All @@ -47,7 +47,7 @@ function godam_unregister_layer_type( $name ) {
/**
* A registered layer type.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param string $name Layer type name.
* @return array|null The type.
Expand All @@ -59,7 +59,7 @@ function godam_get_layer_type( $name ) {
/**
* Add a variation to a layer type, e.g. a form provider to `form`.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param string $name Layer type name.
* @param array $variation `name`, `title`, `render_callback`, `is_available`, `dependency_key`.
Expand All @@ -72,7 +72,7 @@ function godam_register_layer_variation( $name, $variation ) {
/**
* The container markup for one saved layer.
*
* @since n.e.x.t
* @since 2.9.0
*
* @param array $layer Saved layer.
* @param string $instance_id Player instance id.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "godam",
"version": "2.8.1",
"version": "2.9.0",
"description": "A WordPress plugin to manage digital assets",
"private": true,
"author": "rtCamp",
Expand Down
17 changes: 8 additions & 9 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== GoDAM - Video Hosting for LMS & Online Courses ===
Contributors: rtcamp, elifvish, subodhrajpopat, kuldipchaudhary, prachigarg19, juzar, geekofshire, nazmulhassann20, joelabreo, mi5t4n, abhinavbelhekar03, gautam23, mukulsingh27, hbhalodia, kishu7270, opurockey, utsavladani, whiteshadow01, ahmarzaidi, im3dabasia1, rudrakshigupta, sabbir1991, shreyasikhar26, akrocks
Tags: video hosting, vimeo, lms, online courses, lifterlms
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.8.1
Stable tag: 2.9.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -273,6 +273,13 @@

== Changelog ==

= v2.9.0 (November XX, 2026) =

- Feat: Developers can now build their own layer types for GoDAM videos and images with the Layer API: describe the layer in a `layer.json` file and register it from PHP, the video editor and the front end, the way blocks are built. Custom layers appear in the "Add layer" menu and render in the player and the GoDAM Image block.
- Tweak: A layer's front-end script now loads only on pages that show that kind of layer, instead of on every page with a GoDAM video.
- Tweak: GoDAM's own layers (CTA, forms, hotspots, polls and ads) now run on the Layer API. Layers you already added keep working as before.
- Tweak: The old add-on layer hooks (`godam_video_editor_layer_options`, `godam_video_editor_layer_components`, `godam_player_render_layer` and the `window.godamLayer*` globals) are deprecated and will be removed in 2.11.0. They keep working until then, with a deprecation notice.

= v2.8.1 (November 11, 2026) =

- Fix: Security fixes.
Expand All @@ -288,14 +295,6 @@
- Fix: GoDAM elements no longer cause deprecation notices with WPBakery 9.1.
- Fix: Security fixes.

= v2.7.0 (November 5, 2026) =

- Feat: Videos can now pause or mute when they scroll out of view, move to another slide, or sit in a closed tab or popup. Turn it on in GoDAM > Settings > Video Player. It is off by default, and each GoDAM Video block, widget or shortcode can override it.
- Feat: Developers can pause all GoDAM videos from their own code, for example when a carousel changes slide.
- Tweak: Authors see analytics only for the videos they can edit.
- Tweak: Time a video plays muted while out of view no longer counts as watched in analytics.
- Fix: Security fixes.

== External Services ==
This plugin relies on third-party services to provide specific features. Below is a detailed explanation of the external services used, what data is sent, and under what conditions.

Expand Down
Loading