5. HTML5 Custom Video Player Controls JavaScript Full Screen Tutorial

5. HTML5 Custom Video Player Controls JavaScript Full Screen Tutorial

Adam Khoury

10 лет назад

47,462 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

leaRn før yøu
leaRn før yøu - 30.01.2023 14:22

How to show custom controls in full screen

Ответить
Tom Grubbe
Tom Grubbe - 11.03.2022 03:21

Thanks this worked for me nine years after you posted this vid. I'm using videojs with custom controls including a custom fullscreen button. Thanks man! Almost as good as stackoverflow.

Ответить
Mr.Ender Man
Mr.Ender Man - 26.01.2021 19:52

i just want to make a prank, is it possible to remove the buttons and it can be directly full screen without asking or showing an ESC option?

Ответить
Rajesh Thakur
Rajesh Thakur - 29.06.2019 08:22

whats up asshole

Ответить
Dude
Dude - 01.01.2019 19:55

what about men?'

Ответить
Ifrit
Ifrit - 24.11.2018 01:33

Do you know how to implement custom controls on full screen mode?

Ответить
Ifrit
Ifrit - 24.11.2018 01:31

you are a pro... Lady

Ответить
Ayşegül Demirtaş
Ayşegül Demirtaş - 27.06.2018 10:54

Hello, I stopped by for express my appreciation. These "how to customize your vp controls" series are really useful. There are lots of online source but it works as it supposed to be completely and accurately. Congrats bro,

a lady.

Ответить
Crypto Connoisseurs
Crypto Connoisseurs - 25.05.2018 04:13

ty

Ответить
Zwedgy
Zwedgy - 29.08.2016 16:19

"whats up ladies" IM Male!!!

Ответить
boolowmp217
boolowmp217 - 02.08.2016 09:54

Adam you are great.

Ответить
Jay O
Jay O - 25.03.2016 17:54

For those who can't get their code to work try this:

Note: replace elem with whatever the id of your video is called:

var elem = document.getElementById("myvideo");
if (elem.requestFullscreen) {
elem.requestFullscreen();
} else if (elem.msRequestFullscreen) {
elem.msRequestFullscreen();
} else if (elem.mozRequestFullScreen) {
elem.mozRequestFullScreen();
} else if (elem.webkitRequestFullscreen) {
elem.webkitRequestFullscreen();
}

Ответить
Nicholas Damberg
Nicholas Damberg - 18.03.2016 07:49

is anyone having any issues with full screen not working with Chrome?  Note:  the only thing I can find from many a Google search is that webkit now uses a lowercase s in screen instead of a capital S.  But the full screen button still does not work on chrome.

Ответить
Tung Leihu
Tung Leihu - 29.10.2015 05:06

can any one tell me how to make our own custom contol available on fullscreen mode

Ответить
Ryan Chen
Ryan Chen - 17.03.2015 08:39

I think one of the strategy to make all the control work in full screen is to wrap the video and the control panel and full screen the wrapper. 

Ответить
tgmo07
tgmo07 - 01.02.2015 23:19

please show or tell me how to play in full screen with controls 
overlayed in the video

Ответить
Amar Pawar
Amar Pawar - 22.09.2014 20:37

Please tell me how to make this video controls work in full screen????

Ответить
Joy Sen
Joy Sen - 02.08.2014 16:51

whats up ladies????????????///

Ответить
Abby Howell
Abby Howell - 16.07.2014 23:15

I just want to say that, as a lady, I especially appreciated this video and its focus on the concerns of female web developers.

Ответить
Patrick Smusch
Patrick Smusch - 12.04.2014 19:01

What about the Next button and the prev button?

Ответить