Skip to content

Commit f003137

Browse files
author
Amir Tocker
committed
Add support for start_offset value auto
1 parent fc49f81 commit f003137

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/video_url_spec.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,13 @@ describe("Cloudinary::Utils for video", function() {
159159
});
160160
});
161161
});
162+
it('should support start_offset `auto`', function() {
163+
var op = {
164+
resource_type: 'video',
165+
start_offset: 'auto'
166+
};
167+
test_cloudinary_url("video_id", op, `${upload_path}/so_auto/video_id`, {});
168+
});
162169
});
163170
describe("when given existing relevant parameters: 'quality', :background, :crop, :width, :height, :gravity, :overlay", function() {
164171
[

0 commit comments

Comments
 (0)