ArthurN/Linter — Issue #31: YFrog Videos marked as Photos
Author: LastZactionHero
Created: 2011-11-15 18:46:57+00:00
State: open
Labels: bug

Linter is incorrectly identifying YFrog videos as photos.

On determining types:
- Videos are easily determined by the presence of video meta tags og:video, video_src, or some variant. These tags are present on all major video sharing sites.
- Images are much more difficult to detect as the primary content of a web page, as most pages have an image of some sort and dimensions cannot be reliably determined ahead of time. No consistent meta data tags indicate an image-sharing service or gallery, and the line between Image and Link is much more arbitrary. Currently, image type is determined by matching the url for known popular image providers.

We currently identify YFrog photos with this pattern:
http://yfrog\\.com/.*

This should be modified to ignore video variants.