SHARE
TWEET

UIWebVew Video Autoplay

priore Dec 3rd, 2013 541 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top