Code Monkey home page Code Monkey logo

Comments (4)

heff avatar heff commented on May 10, 2024

Do you have a link I could check out?

from video.js.

gideonvd avatar gideonvd commented on May 10, 2024

Hey Heff,

I downloaded a fresh copy. Opened demo.html and it works in both. So why won't it work on my page then. Well after a lot of digging, here it is:

<p class="vjs-no-video"><strong>Download Video:</strong>
  ...
</p>

I deleted this because the people upstairs don't want a download option.
Apparently the no video class is mandatory because the controls won't show up if you don't include it.

Gideon

from video.js.

heff avatar heff commented on May 10, 2024

Ah, good to know. So you could just remove the links for now, but I'll have a fix later today probably.

from video.js.

gideonvd avatar gideonvd commented on May 10, 2024

Also if you remove the class, I used:

.vjs-no-video {display:none;}

you will find that .video-js-box has a strange 2px bottom overflow. You can fix this by adding your specified object height to the css. So if your video height is 400px, you add height:400px; to the .video-js-box class in video-js.css.

I'm sure you know about this heff so this comment is meant for people in search of support.

from video.js.

Related Issues (20)

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.