priore

UIWebVew Video Autoplay

Dec 3rd, 2013
612
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // UIWebView Video Autoplay settings
  2. //
  3. // HTML5: <video id="player" width="480" height="320" webkit-playsinline>
  4. //
  5. // webView = UIWebView :
  6.         webView.allowsInlineMediaPlayback = NO;
  7.         webView.mediaPlaybackRequiresUserAction = NO;
  8.  
  9. // tested in iOS7
RAW Paste Data