This repository has been archived by the owner on Nov 26, 2021. It is now read-only.
Releases: Financial-Times/o-video
Releases · Financial-Times/o-video
Fix closed captions in Firefox 52+
Change look of placeholder cover image
- Improves accessibility by adding a focus state for play button
Don't assume all videos have poster images & other bugfixes
- Use more up-to-date videos for demos
- Convert single quotes for data supplied for
placeholderInfo
, to supportdata-o-video-placeholder-info="['title', 'description']"
- Some videos don‘t have poster images – handle this better
- Ensure placeholder attributes are clean between updates
Ensure captions are updated with `update()`
Guard against videos not having a brand name
v3.0.0
Migration guide for this is available in the README.
The component now calls the next-media-api, which supports both brightcoveIds and uuids
Removes captionsUrl
option, adds showCaptions
– saves users having to make a separate call to lookup the captions by using the URL directly from the response data. Video data can still be passed in via data attribute to avoid the XHR if necessary.
If showCaptions
is true, calling addVideo()
directly will throw an error. This is due to the fact the component needs to source the captionsUrl
first.
Hide download button in Chrome 58+
v2.5.1 Hide download button in Chrome 58+ (#96)
Remove decimal places from tracking values for time watched
v2.4.7: Add tracking for video error events (#91)
* Add tracking for video error events * Update tests to include new listeners
Remove spoor error tracking
v2.4.6 Remove all the temporary error tracking (#92)