Skip to content

Commit 9648adb

Browse files
Bump version to 2.7.0 and add the v2.7.0 changelog (#2311)
* chore:bump version to 2.7.0, update changelog and pot file * chore:regenrate pot file * Upadate Changelog * Change changelog release date * Upadate Changelog * Change changelog release date
1 parent dbb3f22 commit 9648adb

19 files changed

Lines changed: 646 additions & 527 deletions

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog #
22

3+
## v2.7.0 (November 5, 2026) ##
4+
5+
- 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 video can use its own setting.
6+
- Feat: Developers can pause all GoDAM videos from their own code, for example when a carousel changes slide.
7+
- Tweak: Authors see analytics only for the videos they can edit.
8+
- Tweak: Time a video plays muted while out of view no longer counts as watched in analytics.
9+
- Fix: Security fixes.
10+
311
## v2.6.1 (November 3, 2026) ##
412

513
- Fix: The analytics dashboard now shows correctly on sites with no views yet.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Tested up to: 7.1
1010

1111
Requires PHP: 7.4
1212

13-
Stable tag: 2.6.1
13+
Stable tag: 2.7.0
1414

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

‎admin/class-rtgodam-transcoder-handler.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ public function add_transcoded_files( $file_post_array, $attachment_id, $job_for
10121012
* Whether downloaded content is a file of the expected type, judged by the
10131013
* name it would be stored under and by the content itself.
10141014
*
1015-
* @since n.e.x.t
1015+
* @since 2.7.0
10161016
*
10171017
* @param string $content File content.
10181018
* @param string $file_name Name the file would be stored under.

‎admin/class-rtgodam-transcoder-rest-routes.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ public function handle_transcription_callback( WP_REST_Request $request ) {
687687
* GoDAM Central posts the key in the request body, so only the body is read.
688688
* A key in the URL is not accepted, since URLs end up in server logs.
689689
*
690-
* @since n.e.x.t
690+
* @since 2.7.0
691691
*
692692
* @param WP_REST_Request $request The request object.
693693
* @return string The key, or an empty string when the body has none.

‎assets/src/js/godam-player/api/README.md‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1103,7 +1103,15 @@ player.on('ended', () => {
11031103
}
11041104
```
11051105
1106-
#### play, pause, ended
1106+
#### pause
1107+
```javascript
1108+
{
1109+
reason: string|null // 'visibility' when GoDAM paused the video because it left the view,
1110+
// 'api' for GoDAMAPI.pauseAll(), null when the visitor or your code paused it
1111+
}
1112+
```
1113+
1114+
#### play, ended
11071115
These events don't include additional data (data will be `null`).
11081116
11091117
**Notes:**

‎assets/src/utils/safe-url.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const SAFE_LINK_PROTOCOLS = [ 'http:', 'https:', 'mailto:' ];
1313
* is seen for what it is. Relative links resolve against the current page and so
1414
* pass as http(s).
1515
*
16-
* @since n.e.x.t
16+
* @since 2.7.0
1717
*
1818
* @param {*} url Stored link.
1919
* @return {string} The trimmed link when it is http(s), mailto or relative, otherwise ''.

‎godam.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: GoDAM
44
* Plugin URI: https://godam.io
55
* 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.
6-
* Version: 2.6.1
6+
* Version: 2.7.0
77
* Requires at least: 6.5
88
* Requires PHP: 7.4
99
* Text Domain: godam
@@ -43,7 +43,7 @@
4343
/**
4444
* The version of the plugin
4545
*/
46-
define( 'RTGODAM_VERSION', '2.6.1' );
46+
define( 'RTGODAM_VERSION', '2.7.0' );
4747
}
4848

4949
if ( ! defined( 'RTGODAM_API_BASE' ) ) {

‎inc/classes/class-embed.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function pre_oembed_result( $data, string $url ) {
126126
* of the GoDAM API, so a URL that only mentions GoDAM in its path, query or
127127
* a longer host name does not count.
128128
*
129-
* @since n.e.x.t
129+
* @since 2.7.0
130130
*
131131
* @param string $url URL to check.
132132
*
@@ -150,7 +150,7 @@ private function is_godam_url( string $url ): bool {
150150
* Keeps the iframe the embed is made of, plus the markup WordPress allows in
151151
* post content, and removes anything else.
152152
*
153-
* @since n.e.x.t
153+
* @since 2.7.0
154154
*
155155
* @param string $html HTML from the GoDAM oEmbed response.
156156
*
@@ -181,7 +181,7 @@ private function filter_embed_html( string $html ): string {
181181
/**
182182
* Filters the HTML elements and attributes kept in the HTML GoDAM returns for an embed.
183183
*
184-
* @since n.e.x.t
184+
* @since 2.7.0
185185
*
186186
* @param array $allowed_html Allowed elements and attributes, in the format wp_kses() takes.
187187
*/

‎inc/classes/rest-api/class-analytics.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public function check_analytics_read_permission( WP_REST_Request $request ) {
542542
* opens a video. Editors and administrators can edit every attachment; an
543543
* author can edit their own.
544544
*
545-
* @since n.e.x.t
545+
* @since 2.7.0
546546
*
547547
* @param int|string $video_id Attachment ID of the video.
548548
* @return bool

‎inc/classes/rest-api/class-engagement.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ public function get_transcoder_job_id( $video_id ) {
12201220
* is public or readable by the current user, the user can edit it, or it is
12211221
* used on a publicly viewable post.
12221222
*
1223-
* @since n.e.x.t
1223+
* @since 2.7.0
12241224
*
12251225
* @param int|string $video_id The video ID: an attachment ID, or 'cmmid_' and the transcoding job ID of one.
12261226
*
@@ -1233,7 +1233,7 @@ public function get_visible_transcoder_job_id( $video_id ) {
12331233
/**
12341234
* Finds the transcoding job ID of a video through the attachments of this site.
12351235
*
1236-
* @since n.e.x.t
1236+
* @since 2.7.0
12371237
*
12381238
* @param int|string $video_id The video ID: an attachment ID, or 'cmmid_' and the transcoding job ID of one.
12391239
* @param bool $visible_only Whether to skip attachments the current user cannot see.
@@ -1318,7 +1318,7 @@ private function find_transcoder_job_id( $video_id, $visible_only ) {
13181318
* The same answer for a video that is not on this site, one that does not exist
13191319
* and one the current user cannot see.
13201320
*
1321-
* @since n.e.x.t
1321+
* @since 2.7.0
13221322
*
13231323
* @return WP_REST_Response
13241324
*/

0 commit comments

Comments
 (0)