Skip to content

events problem #19

Description

@SamimSdz

Hi, I'm using this library on react native with typescript template for playing stream videos. Everything actually work well except any events ! Check below code :

import VlcPlayer from "react-native-vlc-player";

<VlcPlayer
  style={{ height, width }}
  paused={false}
  autoplay={true}
  onVLCProgress={event => console.log("onVLCProgress --->", event)}
  onVLCEnded={event => console.log("onVLCEnded --->", event)}
  onVLCStopped={event => console.log("onVLCStopped --->", event)}
  onVLCPlaying={event => console.log("onVLCPlaying --->", event)}
  onVLCBuffering={event => console.log("onVLCBuffering --->", event)}
  onVLCPaused={event => console.log("onVLCPaused --->", event)}
  source={{
    uri: videoUri,
    autoplay: true,
    // initOptions: ["--codec=avcodec"],
  }}
/>

None of onVLCPaused, onVLCProgress, onVLCEnded and etc. doesn't fire any events in any situations ! can anyone helps me ?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions