GithubHelp home page GithubHelp logo

Comments (13)

brentvatne avatar brentvatne commented on April 28, 2024

Hi @wheycool! Which version of react-native are you using? And react-native-video? Thanks for the full example!

from react-native-video.

wheycool avatar wheycool commented on April 28, 2024

Downloaded react-native-video from you today, so the latest I presume. React Native is what NPM is currently providing: v0.1.3

from react-native-video.

brentvatne avatar brentvatne commented on April 28, 2024

React Native version should be 0.4.4 πŸ˜„

from react-native-video.

wheycool avatar wheycool commented on April 28, 2024

Sorry, I was mistaken. I just checked out the package.json within the react-native node, and it's 0.4.4.

from react-native-video.

wheycool avatar wheycool commented on April 28, 2024

Fixed it! I just started from scratch with the NPM install. I must have been doing something wrong the first time. Sorry for wasting your time – and thanks for getting back to me! :)

from react-native-video.

brentvatne avatar brentvatne commented on April 28, 2024

no problem @wheycool, glad you resolved it!

from react-native-video.

markburns avatar markburns commented on April 28, 2024

Hey, I am running into this issue too. Still trying to debug it, but re-installing didn't work

from react-native-video.

brentvatne avatar brentvatne commented on April 28, 2024

@markburns - react native version? reinstall might require a npm cache clean and a rm -rf node_modules/react-native-video

from react-native-video.

markburns avatar markburns commented on April 28, 2024

Just tried that, same problem. Also clean, build, and reset the content and settings on the iOS simulator.

react-native-video 0.4.1
react-native 0.4.4

from react-native-video.

brentvatne avatar brentvatne commented on April 28, 2024

@markburns - probably a sign that it's not linking correctly, try going through these steps again: https://github.com/brentvatne/react-native-video#add-it-to-your-project

from react-native-video.

markburns avatar markburns commented on April 28, 2024

Yeah that was it, thanks.

from react-native-video.

markburns avatar markburns commented on April 28, 2024

WDYT about having something like:

if(!NativeModules.VideoManager){
  throw("NativeModules.VideoManager is undefined - ensure you are linking the library correctly " + 
        "https://github.com/brentvatne/react-native-video/issues/40");
}

as a fail fast?

I imagine a lot of people who are familiar with JS will be attracted to React Native, and if this is/becomes the defacto video library then it might keep people like me (less familiar with Xcode/native) from making too much noise in the issues.

from react-native-video.

brentvatne avatar brentvatne commented on April 28, 2024

@markburns - I like that! can you submit a PR?

from react-native-video.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.