Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3396274
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:23:17+00:00 2026-05-18T04:23:17+00:00

Firefox now supports full screen mode on the video html5 tag. ( right click

  • 0

Firefox now supports full screen mode on the video html5 tag. ( right click on the movie .. )

Is there any way to create a control ( html tag ) to do this like this play/pause example ( using js ) ?

<script>
function play(){
var video = document.getElementById('movie');
var play =  document.getElementById('play');

play.addEventListener('click',playControl,false);
function playControl() {
    if (video.paused == false) {
        video.pause();
    this.firstChild.nodeValue = 'Play';
    pauseCount();
} else {
    video.play();
    this.firstChild.nodeValue = 'Pause';
    startCount();
}
}
}

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:23:18+00:00Added an answer on May 18, 2026 at 4:23 am

    basically all you need is creating a function (triggered by a fullscreen button) in which you assign a position: absolute, and an higher z-index to the video wrapper

    the you will assign both video and video wrapper width and height : 100% (or fixed size if you prefer)

    probably the best way to achieve this behaviour is defining a class (e.g. fullscreen) and assign it to the container, something like

    .fullscreen {
       position : absolute;
       z-index  : 1000;
       width    : 100%;
       height   : 100%;
       top      : 0;
       left     : 0;
    }
    
    .fullscreen video {
       width    : 100%;
       height   : 100%;
    }
    

    so the function call (fullscreen/normal view) is a switch for the .fullscreen class.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our app supports different browser version from IE to Firefox to Chrome. Now, some
I am working on an in-place HTML editor, concentrating on Firefox only right now.
Is there a way to use Google Chrome (or Safari or Firefox) as the
Firefox 3 now stores bookmarks in a Sqlite file called profiles.sqlite. This file is
My website was designed for firefox, and now that I've got most of the
I reinstalled Firefox today, because... whatever. I reinstalled firebug, therefully, and now when I
I need one hidden iframe for all opened Firefox windows. For now I'm creating
I normally do web development with Chrome and sometimes FireFox. I'm now trying to
I used to use an add-on for firefox called measureit. Now its not working
So I'm running jQuery 1.3.2 (yep it's old and right now I can't upgrade).

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.