Releases: radiovisual/get-video-id
Releases · radiovisual/get-video-id
3.1.0
- Adds the swf vimeo format
- Upgrade AVA
- Drop support for Node <= 0.12
3.0.0
- Return an empty object instead of undefined.
2.1.0
Adds support for VideoPress urls.
2.0.0
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
Adds YouTube attribution_link
support
1.0.0
Get the video id for youtube, vimeo and vine urls.