A Ruby gem to fetch video metadata from YouTube, Vimeo, Dailymotion, and Wistia URLs.
VideoInfo is a Ruby gem that extracts metadata from video URLs hosted on YouTube, Vimeo, Dailymotion, and Wistia. It provides a unified interface to fetch details like title, duration, thumbnails, and author information, solving the problem of integrating with multiple video platforms' APIs or scrapers.
Ruby developers building applications that need to display, analyze, or manage video content from supported platforms, such as content management systems, video galleries, or social media tools.
Developers choose VideoInfo for its simplicity, multi-provider support, and minimal dependencies. It abstracts away the complexities of each platform's API and provides a consistent data structure, with the flexibility to use official APIs or fallback scrapers.
Get video info from Dailymotion, Vimeo, Wistia, and YouTube URLs.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports metadata extraction from YouTube (including playlists), Vimeo, Dailymotion, and Wistia, covering major video hosting services as demonstrated in the README examples.
Offers a single VideoInfo.new method that returns a consistent data structure across all providers, simplifying integration with minimal code, as shown in the basic usage snippets.
Allows use of official API keys for YouTube and Vimeo for full metadata, with automatic fallback to HTML scrapers when keys aren't provided, giving developers control over reliability versus setup complexity.
Provides embed URLs and customizable iframe embed codes with support for additional attributes via iframe_attributes or url_parameters, useful for tailoring video displays in web applications.
The fallback HTML scrapers for YouTube and Vimeo are vulnerable to breaking if platforms change their HTML structure, and the YouTube scraper lacks precise time data, as the README explicitly warns.
Only supports four video platforms, missing newer or niche services like TikTok, Facebook Video, or Twitch, which restricts its use in modern or diverse video ecosystems.
Requires API keys for YouTube and Vimeo to access full metadata, adding setup steps, potential costs from provider quotas, and maintenance burden compared to keyless solutions.