video.js icon indicating copy to clipboard operation
video.js copied to clipboard

100% width and height not working

Open nik0s100 opened this issue 11 years ago • 3 comments

I was using version 4.11 subtitles and full 100% width and height was working fine but I like more can please someone help me to make subtitles and 100% width and height the player...also add a new caption setting so users can upload their own subtitles...I am using the latest version..

nik0s100 avatar Aug 10 '15 16:08 nik0s100

Allowing users to upload their own settings sounds like a great plugin idea, but we won't be adding that to core. If you decide to build it, let us know!

Re: the 100% height and width for subtitles, I think I would need to see an example of what you're trying to achieve. In my head, it sounds like you want to cover your entire video with your subtitles, which I can't imagine is the case.

Closing this since this is a question, not a bug, but feel free to continue the conversation in the comments.

mmcc avatar Aug 10 '15 17:08 mmcc

I just want to make the video with 100% height and width not the subtitles thats what I mean

nik0s100 avatar Aug 11 '15 10:08 nik0s100

Ah ok, misunderstood the question. The best way to do this in 4.x is to specify height and width as auto in the player, then set padding-top to the desired ratio.

In 5.0 (master), we've improved the story around fluid width pretty drastically.

mmcc avatar Aug 11 '15 21:08 mmcc