Closed rj9676564 closed 5 years ago
I have the same error. For me the issue appears only on android and for you? I removed endWithThumbnail and it helped me.
@laibinCN you might have a typo, in _this2.palyer.seek
is player written incorrectly. I can't find "palyer" the code on GitHub.
@cornedor yes,I was very careless。_this2.player.seek
Occurs on iOS @ RN 0.55.0 for me. Android@0.54.2 seems fine. Gathering more info..
<VideoPlayer
thumbnail={component.thumbnail ? { uri: component.thumbnail } : undefined}
fullScreenOnLongPress
video={{ uri: component.url }}
videoWidth={400}
videoHeight={225}
loop={false}
endWithThumbnail={Platform.OS === 'ios'}
/>
try
yarn add react-native-video-player@0.9.0
it's worked for me
I get the same error with 0.9.1. Downgrading to 0.9.0 also fixed it for me.
Duplicate of #79
This should now be fixed in the latest version.
Exapmle code,
at the end of the play
If this is the case, Error will not occur. Thank you!