Releases: Zod-/jsVideoUrlParser
Browser field & Audit fixes
- Added "browser" field to package.json with the dist
- Updated dev dependencies for audit fixes
Remove dist from npmignore
No actual changes to the parser itself.
Hotfix: Add SoundCloud to index.js rename mediatype
Renamed embedtrack
and embedplaylist
to apitrack
and apiplaylist
as that makes more sense.
More npm friendly, SoundCloud, Wistia
More npm friendly structures and updated build tools by @lukescott PR https://github.com/Zod-/jsVideoUrlParser/pull/35. Thanks!
Added SoundCloud support.
Added Wistia support.
Catch passing undefined to the parser.
Update Twitch parsing
Twitch changed their video and clip URLs to not include the channel name anymore. This means it is not possible anymore to include that information in the parsed object. The previous embed-video
format now serves as the default behavior for videos. Old video and clip URLs do still work on Twitch but will redirect to the new format.
See the Twitch readme for updated URL examples.
Breaking change
- No more Twitch channels in video/clip objects
- Discontinued Twitch
embed-video
format
Hotfix for window reference breaking node
0.2.3 v0.2.3
Twitch clips
Added support for Twitch clips.
Resolve global namespace clashes
Added a template file for adding a provider.
Wrapped everything in an anonymous function to prevent global name clashes with YouTube, Vimeo etc.
More providers and refactoring
Added providers Coub, CanalPlus and Youku.
Refactored the urlParser and all the plugins to make it more readable.
Added more jshint rules and did some code cleanups.
Added enums with mediaTypes to plugins.
Added YouTube thumbnails support for parsing and creation.
Added share mediaType to YouTube. It's a special type of video that links to a 'shared by name' website which embeds the actual video. The id doesn't correspond to an actual video so it has to be seperate.
Removed duplicate playlist id in params.
Combined idPrefix and id into the id for Twitch video urls. Twitch also does this on some of their urls.
Added start time support to Twitch video urls.
Updated Twitch stream embed formats.
Added embed-video mediaType to Twitch. When embedding a video the url does not contain the twitch channel so the full url can't be reproduced from it.
Vimeo updates
Added start time for vimeo urls.
Fixed an issue with the group urls not being
explicit enough in the regex so numbers in the
group name would be found instead of the id