ui icon indicating copy to clipboard operation
ui copied to clipboard

Video can not work

Open andy-zhangtao opened this issue 7 years ago • 2 comments

I use the latest platform(1.3.3). Video component can not work in this version.
video

Below is my code:

render() {
    const { video } = this.props;

    return (
      <Screen styleName="paper">
        <NavigationBar
          share={{
            title: video.name,
            link: video.url,
          }}
          title={video.name}
          animationName="boxing"
        />

        <ScrollView>
        <Video
          source={{ uri: 'http://vd1.bdstatic.com/mda-hjuz46kuc541icqa/mda-hjuz46kuc541icqa.mp4?playlist=%5B%22hd%22%2C%22sc%22%5D' }}

        />
        </ScrollView>


      </Screen>
    );
  }

I don't know how to fix .......

andy-zhangtao avatar Oct 20 '17 13:10 andy-zhangtao

Hey Andy,

I'm assuming this was done in an Android emulator?

I've run this both on iOS and Android emulators. On iOS it runs in the emulator. On Android it fails to display the actual video, only plays the sound and will actually show captions of YouTube videos if you enable them. On an Android device, it successfully displays (tested on my own Android device).

We'll look into the issue regarding Android emulators and the <Video /> component.

Definitely-Not-Vlad avatar Oct 23 '17 11:10 Definitely-Not-Vlad

Yes, this issue appears in the Android simulator.

andy-zhangtao avatar Oct 24 '17 01:10 andy-zhangtao