Jump to content

Theater Mode

Nano Adam

I have a video on my website, it is an HTML5 video and the HTML code looks like this:

 

<video controls>
	<source src="movie.mp4" type="video/mp4">
</video>

How would I add a theater mode to this? I am looking for a way to incorporate it so it works on both Mobile and Desktop. I am not looking for actual code, but instead like an explanation to it. 

 

Thanks

Link to comment
Share on other sites

Link to post
Share on other sites

The idea of a theatre mode on most sites is just that the <video> element is made bigger, and the background of the page is often darkened. You can do both of those fairly easily using javascript.

HTTP/2 203

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×