File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
plugins/cloudinary/models/video-source Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11// Parameters that can be passed to source configuration (inherited by source method)
22export 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] ) ;
You can’t perform that action at this time.
0 commit comments