Improving regex for parsing YouTube / Vimeo URLs

后端 未结 11 1563
半阙折子戏
半阙折子戏 2020-12-13 20:52

I\'ve made a function (in JavaScript) that takes an URL from either YouTube or Vimeo. It figures out the provider and ID for that particular video (demo: http://jsfiddle.net

11条回答
提交回复
热议问题