- SDK Version: Latest
- Platforms(Android/iOS/web/all): Android
I select and play video with the code below:
const renderVideo = () => (
<Video
source={{ uri: file }}
rate={1.0}
volume={1.0}
isMuted={false}
resizeMode="cover"
shouldPlay={false}
useNativeControls
style={styles.image}
/>
);
I want to be able to select and play an .mp3, but when I try, I get the error below:
[Unhandled promise rejection: TypeError: resultMime.includes is not a function. (In 'resultMime.includes("image")', 'resultMime.includes' is undefined)]
Please how do I play .mp3 in the video player?