Code Monkey home page Code Monkey logo

videojs-theater-mode's Issues

Not Working

I have this on my page:

<script src="/videojs/videojs.theaterMode.js"></script>

The script is being called correctly.

player.theaterMode({ elementToToggle: 'page', className: 'theater-mode' });

player.on('theaterMode', function(elm, data) {
if (data.theaterModeIsOn) {
// do something
} else {
// do something else
}
});

That seems okay. But the button is blank, and when I click it I see the class changing properly. But absolutely nothing is happening on the page.

Am I missing something?

https://www.traileraddict.com/util/test-videojs5.html

Cheers
Ryan

Remove button effect on hover

Hi @jgubman

Please, would you have some tips on how to remove that 'shining' effect when hovering the theater mode button? I tried tweaking some of the css and the main plugin code, but the shining is still there.

Thanks

Change Button Placement

How do you change the tab order or button placement?

I tried this without success: var toggle =

player.controlBar.addChild('theaterModeToggle', options, 4);

Didn't work.

It is placing the button close to progress bar and far from the fullscreen button, which I'd like it to sit right in front of.

How can I move it or tell it to go before the fullscreen button?

VideoJS 6.4 support

Is there any intention to launch a new version supporting VideoJS 6.4 anytime soon? I've tried to use it but isn't working.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.