Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Add spacebar controll

Is there any option to add the very pupular function to pause/play a video with space? In fullscreen?

Without this otion i can't use this player.

3 Community Answers


JW Player Support Agent  
0 rated :

Understood. We are working on an implementation for keyboard controls, but we are not able to confirm the date this functionality will be available.

Hope this helps,


0 rated :

you could try: [gist:]

onPlaylist: function () {
$(document).on('keydown', function (evt) {
keycode = evt.keyCode ? evt.keyCode : evt.which;
if (keycode === 32) jwplayer('selector').play()

or rather than $(document), the jwplayer div directly.


JW Player Support Agent  
0 rated :

That would also work.

This question has received the maximum number of answers.