fix(android): contentStartTime default value
This commit is contained in:
parent
8302e58844
commit
a03c7342fb
@ -307,7 +307,7 @@ public class ReactExoplayerViewManager extends ViewGroupManager<ReactExoplayerVi
|
|||||||
videoView.setBackBufferDurationMs(backBufferDurationMs);
|
videoView.setBackBufferDurationMs(backBufferDurationMs);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ReactProp(name = PROP_CONTENT_START_TIME, defaultInt = 0)
|
@ReactProp(name = PROP_CONTENT_START_TIME, defaultInt = -1)
|
||||||
public void setContentStartTime(final ReactExoplayerView videoView, final int contentStartTime) {
|
public void setContentStartTime(final ReactExoplayerView videoView, final int contentStartTime) {
|
||||||
videoView.setContentStartTime(contentStartTime);
|
videoView.setContentStartTime(contentStartTime);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user