Playing or pausing a video in web view

webview.evaluateJavaScript("ytplayer.playVideo()")
webview.evaluateJavaScript("ytplayer.pauseVideo()")
webview.evaluateJavaScript("ytplayer.stopVideo()")

Comments

Popular posts from this blog

Rotation

Swift Basics - Sets

Things to consider when designing the user interface