Objective-C Tips & Trick - Prioregroup.com
[Objective-C] UIWebVew Video Autoplay
       
back

// UIWebView Video Autoplay settings
//
// HTML5: <video id="player" width="480" height="320" webkit-playsinline>
//
// webView = UIWebView :
        webView.allowsInlineMediaPlayback = NO;
        webView.mediaPlaybackRequiresUserAction = NO;

// tested in iOS7






Copyright © 1996-2018 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581.
prioregroup.com