/YouTube-Video-ID-Extract

Extract youtube videos id from Url or String in Java

Primary LanguageJavaApache License 2.0Apache-2.0

YouTube-Video-ID-Extract

Extract youtube videos id from Url or String in Java

How to use

import diddog.youtube.*;

String url = "http://www.youtube.com/watch?v=0zM4nApSvMg&feature=feedrec_grec_index";
String videoId = VideoIDExtractor.getVideoId(url);

Then the value of videoID will be 0zM4nApSvMg

Tested on these urls

Technology Stack Used

  • Front End - JAVA JAVA

Need help?

Facebook Instagram YouTube Twitter

Glad to see you here! Show some love by starring this repo.