Coder Social home page Coder Social logo

Comments (3)

danielv6987 avatar danielv6987 commented on May 27, 2024

Hi,
I got the player to initialize on Android (Emulator) by adding the class to the project's MainActivity.java

this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
      // Additional plugins you've installed go here
      // Ex: add(TotallyAwesomePlugin.class);
      add(YoutubePlayer.class);
}});

but now it's failing to initialize. I will keep looking into this, any help is appreciated.

Thank you,
Daniel

from capacitor-youtube-player.

danielv6987 avatar danielv6987 commented on May 27, 2024

Hi,
I downloaded a new emulator and the plugin is working. The new emulator does have Play Store enabled.

Thank you,
Daniel

from capacitor-youtube-player.

abritopach avatar abritopach commented on May 27, 2024

Hi @danielv6987

In the official Capacitor documentation appears how to register the plugin:

https://capacitor.ionicframework.com/docs/plugins/android#export-to-capacitor

I'll add it to the readme.

Thank you,

Adrián.

from capacitor-youtube-player.

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.