![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2002
Location: Ny
Posts: 4,108
|
Responsive Tube Embeds
How come tubes don't have this option.. just not possible?
__________________
Hey surfers how about some The Best Porn Sites |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
Change the CSS to width:100% height:auto; and make sure the video height and width isn't also defined by pixels. This will make it fluid based on the div that it's in.
This should work with any embedded video.
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
If it's an iframe, you'll have to use another wrapper and set it to allowfullscreen:
.videoWrapper { position: relative; padding-bottom: 56.25%; /* 16:9 */ padding-top: 25px; height: 0; } .videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } <div class="videoWrapper"> <iframe width="560" height="349" src="SRC" frameborder="0" allowfullscreen></iframe> </div>
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
JW Player can do responsive, you just set width to a percentage and set aspect ratio, instead of width and height.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2002
Location: Ny
Posts: 4,108
|
Thanks colmike.. thats what I needed
![]()
__________________
Hey surfers how about some The Best Porn Sites |
![]() |
![]() ![]() ![]() ![]() ![]() |