How to detect whether an HTML page contains a video?

Posted by userlite on Stack Overflow See other posts from Stack Overflow or by userlite
Published on 2010-04-25T20:05:51Z Indexed on 2010/04/25 20:13 UTC
Read the original article Hit count: 135

Filed under:
|

I would like to know whether it a possible to detect whether a HTML page contains a video.

I know that one possible way is to look for ".swf" in the HTML source code. But most of the pages do not contain the file name.

For example, given following URL and possibly its source code, is it possible to find out whether it contains a video: http://www.cnn.com/video/

© Stack Overflow or respective owner

Related posts about html

Related posts about video