Skip to content

Conversation

@subodhr258
Copy link
Collaborator

No description provided.

subodhr258 and others added 5 commits September 25, 2025 13:33
Sync Develop to Main for 1.4.2 Release
docs: Update changelog and version to 1.4.2
…anging the source order based on browser and device (#1176)

Co-authored-by: KMchaudhary <kuldipkumar.chaudhary@rtcamp.com>
…1178)

Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR synchronizes the main branch with dev after the 1.4.2 release, updating version numbers across all relevant files and implementing several fixes and improvements.

  • Updated version number from 1.4.1 to 1.4.2 across all configuration files
  • Added Safari/iOS compatibility fixes for video playback and source ordering
  • Implemented conditional plugin loading to prevent conflicts and improved analytics tracking

Reviewed Changes

Copilot reviewed 13 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
readme.txt Updated stable tag and added v1.4.2 changelog entries
package.json Bumped version to 1.4.2
godam.php Updated plugin version and constant definition
inc/templates/godam-player.php Removed hardcoded video source elements
inc/classes/class-media-library-ajax.php Updated @SInCE tag from placeholder to actual version
assets/src/js/godam-player/masterSettings.js Added conditional import for quality levels plugin
assets/src/js/godam-player/managers/configurationManager.js Added Safari/iOS video source reordering logic
assets/src/js/godam-player/analytics.js Updated @SInCE tag from placeholder to actual version
assets/src/blocks/godam-player/VideoJS.js Added conditional import for quality menu plugin
admin/class-rtgodam-transcoder-handler.php Updated @SInCE tag from placeholder to actual version
README.md Updated stable tag to 1.4.2
CHANGELOG.md Added v1.4.2 changelog entries
.github/workflows/release_on_tag.yml Fixed file path references in release workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +8 to +11
// Only import qualityMenu if not already registered (this will also load qualityLevels as dependency)
if ( ! videojs.getPlugin( 'qualityMenu' ) ) {
import( 'videojs-contrib-quality-menu' );
}
Copy link

Copilot AI Sep 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dynamic import() is asynchronous but not awaited. This could cause race conditions where the plugin might not be loaded when needed. Consider using a static import at the top level or properly handle the Promise returned by import().

Suggested change
// Only import qualityMenu if not already registered (this will also load qualityLevels as dependency)
if ( ! videojs.getPlugin( 'qualityMenu' ) ) {
import( 'videojs-contrib-quality-menu' );
}
import 'videojs-contrib-quality-menu';

Copilot uses AI. Check for mistakes.
@subodhr258 subodhr258 merged commit 1a87ae4 into develop Sep 25, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants