Skip to content

Releases: radiovisual/get-video-id

3.1.0

03 May 22:29
Compare
Choose a tag to compare
  • Adds the swf vimeo format
  • Upgrade AVA
  • Drop support for Node <= 0.12

3.0.0

31 Jan 22:57
Compare
Choose a tag to compare
  • Return an empty object instead of undefined.

2.1.0

21 Dec 20:16
Compare
Choose a tag to compare

Adds support for VideoPress urls.

2.0.0

02 Dec 09:48
Compare
Choose a tag to compare

Version 2.0 introduces a new API that can handle a wider variety of use cases. The main difference is that the new API returns a metadata object instead of a string. The old API would simply return the video id:

Version 1.1.0

getVideoId('https://vimeo.com/1234');
//=> '1234'

Version 2.0 returns an object with the id, as well as the service provider:

getVideoId('https://vimeo.com/1234');
//=> { id: '1234', service: 'vimeo'}

1.1.0

18 Oct 11:41
Compare
Choose a tag to compare

Adds YouTube attribution_link support

1.0.0

26 Jul 20:36
Compare
Choose a tag to compare

Get the video id for youtube, vimeo and vine urls.