8

YouTube iframes or iframes in general are the worst things ever made or either client who demand it instead of using video.js

Comments
  • 1
  • 1
    Its like they life under a fucking rock right?
  • 0
    @LastDigitOfPi I gave up after 8 hours... I'll start again tomorrow
  • 1
    Been there. I gave up eventually.
  • 0
    @rantsauce desktop or mobile? Cause it's easy for desktop just pass &autoplay=1 after your custom image / svg and it works but the same doesn't works for mobile
  • 0
    Desktop. I couldn't style it and the content wouldn't show up if it's of variable dimensions.
  • 0
    @rantsauce I don't follow?
  • 0
    The content in the iframe changes (in height) so the iframe doesn't show all the content. When I used height: 100% and width: 100% I lost the responsiveness of the iframe.
Add Comment