Automatic embedded video download

I am using custom webview
long press the screen
from a website I want to download embedded video
should automatically find the video

a website link will be entered
it will automatically find and download the video
Even if the video is embedded, it should find it automatically
how can I do that