Strange YouTube embed coding question

Out of context: Reply #7

  • Started
  • Last post
  • 22 Responses
  • CygnusZero40

    I have access to do whatever I want on this site that this video is being embedded on. This is what I have using this fitvid thing, and not surprisingly, it doesnt work.

    <script src="js/jquery-1.7.min.js"></script>
    <script src="js/jquery.fitvids.js"></script>
    <script>
    $(document).ready(function(){
    // Target your .container, .wrapper, .post, etc.
    $("#video-container").fitVids();
    });
    </script>
    </head>

    <body>
    <div id="video-container">
    <iframe width="600" height="800" src="https://www.youtube.com/embed/JHVr0rhUgnw?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe></div>

    • What is the CSS for the video container?ESKEMA

View thread