How to Play .mp3 in Video Control

  1. SDK Version: Latest
  2. 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?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.