4.0.0
Breaking changes:
parseYoutubeMeta()
method now returns an array (previously an object). This will break any filter hooks attached to'video.stream'
New:
- Added a new
withAudio
option, when set totrue
only streams with audio channels will be returned. - Added
_raw
property to returned stream object containing the raw stream data from the YouTube api. - Added
itag
property to returned stream object (used to be object key). - Added
hasAudio
property to returned stream objecttrue
if stream has audio channel,false
if not. - Added
browserSupport
property to returned stream object. Includes values "probably", "maybe", "no", "unknown" based on: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canPlayType