Skip to content

YFrog Videos marked as Photos #31

@LastZactionHero

Description

@LastZactionHero

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.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions