Rotating youtube video - html

I'm using html. I have embedded a Youtube video via youtube api. The page i'm working on meant to used by mobile users. So the problem is when the user clicks the fullscreen button on the video, it automatically goes wide screen. Like rotates 90 degree.

Related

How to disable youtube link from iframe

I'm embedding a youtube iframe video player in my website made with React. I don't want there any clickable link in that area, more specifically I want to restrict the youtube link to load from inside the iframe elements.
look at the red mark area, if I click there, it opens youtube.com
Is there any way to restrict "youtube.com" from my site that will prevent me to click or something like this?
modestbranding=1
This parameter lets you use a YouTube player that does not show a YouTube logo. Set the parameter value to 1 to prevent the YouTube logo from displaying in the control bar. Note that a small YouTube text label will still display in the upper-right corner of a paused video when the user's mouse pointer hovers over the player.
https://developers.google.com/youtube/player_parameters#modestbranding

html5lightbox video popup Mobile view Full screen issue

I am using HTML 5 light box popup for playing a video. i have been Calling video through web service from another website and stream into my player using html5-light-box popup using this method
html5Lightbox.showLightbox()
everything works fine but when viewed on mobile got to full screen video controls hide. when inspect element shown bottom of the video

How to get Udemy type video controls?

I am developing a video tutorial player website, in that I require video player to display the controls and the contents of the course as per a udmey course tutorial video player. If we click the menu button a side div appears for the course description and on clicking the close button it closes the div. Please help me in this using CSS.
PS: Refer the image.

Draw text on top layer of video embed when it's fullscreen

Now, I embed video from youtube and I have a trouble Which I can't draw anything (text, image, etc.) when video is fullscreen. So, what can I do to draw text or image (div) to show it when video fullscreen. I tried to use z-index, but it's not successful. I want to make new controller for my video player don't user youtube controller, but video was embed from youtube. So, when user user fullscreen mod, I want to show a div which contains control like play, pause, etc. I already use ?wmode=transparent but it's not work with fullscreen, It mean my controller not showed when I stay in fulscreen mode
You haven't given much information, but this website details what you require, I think.
http://www.electrictoolbox.com/div-layers-float-over-flash-vimeo-youtube/

add overlay text on embedded youtube video, dissapearing while video plays

I've embedded a youtube video on my website and I want to add some overlay text that will dissapear when the play button is clicked and while the video plays. I want it to be compatible with all browsers (IE 7+).
(Would it be better to use YouTube's text adding functionality??)