Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Releases: Financial-Times/o-video

Fix closed captions in Firefox 52+

24 May 12:49
Compare
Choose a tag to compare

Change look of placeholder cover image

15 May 15:40
Compare
Choose a tag to compare
  • Improves accessibility by adding a focus state for play button

#103

Don't assume all videos have poster images & other bugfixes

11 May 09:41
Compare
Choose a tag to compare

#102

  • Use more up-to-date videos for demos
  • Convert single quotes for data supplied for placeholderInfo, to support data-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()`

10 May 09:53
Compare
Choose a tag to compare
  • #100 Previously when a video had a captionsUrl in its data object, if it was replaced with another video where captionsUrl was null, then the video would continue to play using the previous captions.
  • #101 Don't globally replace ' with " – assume valid json

Guard against videos not having a brand name

03 May 10:20
Compare
Choose a tag to compare

v3.0.0

27 Apr 14:55
Compare
Choose a tag to compare

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+

27 Apr 13:58
Compare
Choose a tag to compare
v2.5.1

Hide download button in Chrome 58+ (#96)

Remove decimal places from tracking values for time watched

31 Mar 10:22
Compare
Choose a tag to compare

v2.4.7: Add tracking for video error events (#91)

23 Feb 11:29
Compare
Choose a tag to compare
* Add tracking for video error events

* Update tests to include new listeners

Remove spoor error tracking

23 Feb 10:18
Compare
Choose a tag to compare
v2.4.6

Remove all the temporary error tracking (#92)