0
<IFRAME SRC="http://example.com/embed-k59o3sirni24-640x318.html" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=640 HEIGHT=338></IFRAME>

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

Problem: 640x318 in src.

Any workaround with css jquery...

i need to scale video to size of iframe, and iframe is 100% of div where iframe belongs to.

user3918164
  • 21
  • 1
  • 8

1 Answers1

0

You cannot manipulate the behavior of the content of the frame.

Since the dimension of the video is part of the URL, I am assuming the video is just fixed size.

You could try however to scale (css zoom property) the content of the frame using the answers to this question, but there seem to be a lot of browser differences to be considered:

How can I scale the content of an iframe?

Community
  • 1
  • 1
Nappy
  • 3,016
  • 27
  • 39