Skip to content

Commit 0cbf5e7

Browse files
authored
fix: internal analytics (#878)
* fix: internal analytics * fix: rawTranformation internal method
1 parent f998715 commit 0cbf5e7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/plugins/cloudinary/models/video-source/video-source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class VideoSource extends BaseSource {
153153
const [type, codecTrans] = formatToMimeTypeAndTransformation(sourceType);
154154

155155
// If user's transformation include video_codec then don't add another video codec to transformation
156-
if (codecTrans && !(hasCodec(opts.transformation) || hasCodec(this.raw_transformation()))) {
156+
if (codecTrans && !(hasCodec(opts.transformation) || hasCodec(this.rawTransformation()))) {
157157
opts.transformation = mergeTransformations(opts.transformation, codecTrans);
158158
}
159159

src/video-player.const.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Parameters that can be passed to source configuration (inherited by source method)
22
export const SOURCE_PARAMS = [
33
'adaptiveStreaming',
4-
'allowUsageReport',
54
'autoShowRecommendations',
65
'chapters',
76
'cloudinaryConfig',
@@ -10,8 +9,7 @@ export const SOURCE_PARAMS = [
109
'poster',
1110
'posterOptions',
1211
'publicId',
13-
'queryParams',
14-
'raw_transformation',
12+
'rawTransformation',
1513
'recommendations',
1614
'shoppable',
1715
'source',
@@ -29,6 +27,7 @@ export const PLAYER_PARAMS = SOURCE_PARAMS.concat([
2927
'_internalAnalyticsMetadata',
3028
'ads',
3129
'aiHighlightsGraph',
30+
'allowUsageReport',
3231
'analytics',
3332
'autoplayMode',
3433
'chaptersButton',
@@ -46,6 +45,7 @@ export const PLAYER_PARAMS = SOURCE_PARAMS.concat([
4645
'playedEventTimes',
4746
'playlistWidget',
4847
'qualitySelector',
48+
'queryParams',
4949
'seekThumbnails',
5050
'showJumpControls'
5151
]);

0 commit comments

Comments
 (0)