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

Swift Basics - Sets

Swift basics - functions

Rotation