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

Things to consider when designing the user interface

Swift basics - functions

Swift Basics - Sets