I used UIWebView
to get the video url embedded in web page using AVPlayerItemBecameCurrentNotification
. Due to memory pressure issue I used WKWebView
instead of UIWebView
, which is far better memory efficient than UIWebView
. But I did not get a way to fetch the url of embedded video. I am still searching on this issue and found some similar questions in stack overflow, but all questions are unanswered.
Please suggest a method to get the embedded video url in web page using WKWebView