Skip to content

Commit c4a5386

Browse files
authored
Merge pull request #101 from cloudinary/CLD-13461-showJumpControls
changed showJumpControl to showJumpControls
2 parents ac340af + 1ba5ada commit c4a5386

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/ui-config.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
logoImageUrl: 'https://upload.wikimedia.org/wikipedia/commons/3/38/Facebook_Like_React.png',
3030
logoOnclickUrl: 'https://google.com',
3131
showLogo: true,
32-
showJumpControl: true,
32+
showJumpControls: true,
3333
});
3434

3535
}, false);
@@ -90,7 +90,7 @@ <h3 class="mt-4">Example Code:</h3>
9090
logoImageUrl: 'https://upload.wikimedia.org/wikipedia/commons/3/38/Facebook_Like_React.png',
9191
logoOnclickUrl: 'https://google.com',
9292
showLogo: true,
93-
showJumpControl: true,
93+
showJumpControls: true,
9494
});
9595
</code>
9696
</pre>

src/config/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const contextMenuContent = (player) => {
5252
export default {
5353
logoOnclickUrl: 'https://cloudinary.com/',
5454
showLogo: true,
55-
showJumpControl: false,
55+
showJumpControls: false,
5656
skin: 'dark',
5757
controls: false,
5858
preload: false,

src/video-player.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const PLAYER_PARAMS = CLOUDINARY_PARAMS.concat([
3939
'colors',
4040
'floatingWhenNotVisible',
4141
'ads',
42-
'showJumpControl',
42+
'showJumpControls',
4343
'textTracks'
4444
]);
4545

@@ -332,7 +332,7 @@ class VideoPlayer extends Utils.mixin(Eventable) {
332332
};
333333

334334
const initJumpButtons = () => {
335-
if (!_options.showJumpControl && this.videojs.controlBar) {
335+
if (!_options.showJumpControls && this.videojs.controlBar) {
336336
this.videojs.controlBar.removeChild('JumpForwardButton');
337337
this.videojs.controlBar.removeChild('JumpBackButton');
338338
}

0 commit comments

Comments
 (0)