Can you try this
NSString *script = @"var videos = document.querySelectorAll("video"); for (var i = videos.length - 1; i >= 0; i--) { videos[i].pause(); };";
[webView stringByEvaluatingJavaScriptFromString:script];
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: