title: UIWebView video should fill the frame size mentioned
body: <p>I am using uiwebview to display inline video using the following code :</p>
  
  <pre><code>UIWebView *webview =[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 320)];
  [webview setOpaque:NO];
  webview.backgroundColor = [UIColor clearColor];
  
  NSString *Str = [NSString stringWithFormat:@"&lt;video controls id='myVideo' width='%fpx' height='%fpx' float:left webkit-playsinline preload=\"auto\"&gt; &lt;source src=\"%@\"&gt; &lt;/video&gt;",webview.frame.size.width,webview.frame.size.height,videoPath];
  [webview loadHTMLString:Str baseURL:nil];
  webview.allowsInlineMediaPlayback=YES;
  webview.scrollView.scrollEnabled = NO;
  webview.mediaPlaybackRequiresUserAction=NO;
  [self addSubview:webview];
  </code></pre>
  
  <p>Video is playing inline, but the problem is video is getting displayed in rectangle and there is a black space on either side of the video please find attached image</p>
  
  <p><img src="https://i.stack.imgur.com/KwQ4x.png" alt="enter image description here"></p>
  
  <p>Can anyone suggest me what is going wrong here, i need to display the video in full size (provide frame size) so that there is no spacing on either side.</p>