If you are building the next Netflix or just integrating your application with video providers, you will probably need video information from most common video platforms such as YouTube, DailyMotion, Facebook, LiveLeak, CDA, Vimeo, or Streamable. Video Platforms Parsers is a PHP library that will help you grab these informations with or without API. This will also help you get the data you need without having any legal issues. Platforms supported include :

PlatformWith APIWithout API
YouTubeYES (key required)YES
DailymotionYESYES
Facebook(not ready)YES
LiveLeakNO APIYES
CDANO APIYES
VimeoYESYES
StreamableYESYES

The data you could get from these supported platforms is :

  • id: video ID
  • platform: site name
  • title: video title
  • description: video description
  • thumbnail: url for image with highest possible resolution
  • tags: array with keywords
  • duration: length in seconds (not supported in LiveLeak and Facebook yet [more info])
  • api: will be true if official platform API was used and false otherwise

Install the library with composer :

composer require chojnicki/video-platforms-parser

There is no license provided with the library so use it at your own risk, more information at https://github.com/chojnicki/video-platforms-parser

LEAVE A REPLY

Please enter your comment!
Please enter your name here