I’m trying to detect if a page has a video. If it does then display it on the page. I’ve seen this done with sites like youtube but I need something to pull in more sites like vimeo, blog video sites like tumblr and so on.
Is there a script that just searches for video on a page?
Any help is much appreciated or at least point me in the right direction.
You could do a find on the body using a video embed selector.
(Using JQuery)