changelogs.md


trambocloud/react-native-video-controls

Repository  -  API  -  Source

2.3.0

July 11, 2019

Fix for notched phone #144

Fix initialized seekerWidth #143 Increase lodash version #157

2.2.2

Update the readme

2.2.1

Fix for #86

  • Added toggleResizeModeOnFullscreen prop which defaults to true

2.2.0

Added in new event hooks for users to take advantage of... These are: onPlay, onPause, onEnterFullscreen and onExitFullscreen. Shout out to @dashracer and @Gregoirevda.

2.1.0

Added in disablePlayPause and showOnStart props. Shout out to @afilp and @batusai513.

2.0.2

November 1, 2018

Fix for #67

  • Changed renderNullControl to return empty <View/>

2.0.1

December 12, 2017

Fix for #58

2.0.0

February 11, 2017

Update peer deps and version up.

1.5.1

January 11, 2017

1.5.0

1.4.1

Bug fixes. Updated react-native-video to ^2.0.0 in the peer deps and react-native to 47.2. Changed default title font size to 14.

#42

  • Related to a number of things...hitbox size, zIndex, overflow for whatever reason. Seekbar layout has been rebuilt and tested in both iOS and Android.

#46

  • Props were being assigned twice. Removing second assignment has resolved the issue.

1.4.0

September 8, 2017

Distilled down some merge requests and found a simple solution to a seekbar issue reported. Sometimes you just gotta give your elements a little more space. Let this be a lesson not to rush out push requests between meetings...I think this warrants a larger version change...you can now pass any prop to the <VideoPlayer> element and it'll pass those to react-native-video. API changes quite a lot because of that but shouldn't break.

1.3.1

September 8, 2017

#35

  • Fix flex issue with Android

#38

  • Added additional RN Video params to opts call

1.3.0

#30

  • Add react-native-video as a peer-dependency

1.2.1

#26

  • Floor time values to prevent wrong time being displayed.

1.2.0

#14

  • Remove ability for loading events to be altered

#19

  • Updated requirements to RN 0.42.x and RN Video 1.0.0

1.1.1

Restore playInBackground and playWhenInactive

1.1.0

Updated to work with react-native ^0.39.2.

Bug fixes

fix loadAnimation infinity loop

  • added if statement to loadAnimation function to prevent loop

Crashes with New version of react-native-video

  • using latest github version of react-native-video to fix multiple issues with RN 39

1.0.1

Features

Add ability to set seeker bar colour

Bug fixes

When seeking sometimes seek handle hops back to original position

1.0.0

Bump to 1.0.0 as all major issues are fixed and API has changed slightly.

0.9.8

Bug fixes

Seeking before onLoad triggers onEnd

  • modified pan handler to also look for if loading state which is set to false on init and changed when onLoad fired.

setState being called when window off screen

  • added componentWillUnmount function to clear controlTimeout
  • Note that if using react router componentWillUnmount will not fire unless you configure it to. See this ticket

If title is too long it runs off the page.

  • added flex 0.6 to size and restricted number of lines to 1. If it exceeds you'll get tail ellipsis

0.9.7

Changes

  • Aesthetic changes made with regards to spacing in the bottom control group
  • Tightened up space in the upper group as well.

Features

  • Changed control timeout to 15s by default. Allow the ability to overwrite. See API.
  • Added ability to add container and video styling

0.9.6

Bug fixes

Clean up file Structure:

  • cleaned up deps and files included.

0.9.5

Bug fixes

Tapping controls doesn't reset control hide timeout:

  • add resets to panhandlers for volume/seek areas
  • add resets to renderControl function onPress params.

Control backgrounds should be gradients

  • Changed vignette assets to be more subtle.
  • Added stretch to resizeMode

Volume track bar is visible through volume icon

  • Rebuilt volume area to be four parts. Container (ctrls max width), track (right side of icon), fill (left side of icon) and the handle (icon).
  • Added calculation to measure fill bar width and then subtract that from the width and assign to track bar on right side of icon.
  • Long story short, the icon now masks the volume bar.

Clean up file structure

Features

  • Added loading icon when buffering movie
  • Add error handling, ref: Issue #4