How to make the fullscreen mode of the player video.js?

Good day! I suffer, I suffer, but still can not understand. How can I implement full screen mode as soon as I got on the page? What methods were not used from docks, nothing works. Maybe I'm doing something wrong?

I even tried the method ready the player, find the button for fullscreen mode and click on it using .trigger('click') or simply .click(). But nothing is working. The console displays the button and click on it doesn't want.

Please help to understand, what's wrong?
June 26th 19 at 13:56
1 answer
June 26th 19 at 13:58
Yes, automatically deploy the page in full screen when opening will not give any one browser. For this correct to ask the user to click on a button. And then just to expand.
Can't be!! What, I even olulisemate click on the button can not? - yoshiko_Corwin15 commented on June 26th 19 at 14:01
Yes, you are right!! Itself chrome told me about it in the console)))
Failed to execute 'requestFullscreen' on 'Element': API can only be initiated by a user gesture.
- yoshiko_Corwin15 commented on June 26th 19 at 14:04

Find more questions by tags jQueryJavaScript