Giter Site home page Giter Site logo

angular-youtube's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

angular-youtube's Issues

Works on the web but seems to fail when using in a Cordova/Phonegap App build

Something I am having trouble with and was just wondering what you thought, if possible, no big deal if not.

Anyway I am building a web app that needs to display a youtube video on a page as a part. The app is built using Angular and uses Cordova to compile for iOS and Android. The app connects out to a database to get a business' youtube video link then parses the link to get the videoId and then uses your youtube module to place an iframe on the page with the videoID. On the web app version it seems to work fine which is great.

However when I build for iOS and Android no video iframe shows on the page in each version of the app and I don't see why. No errors showing in the logs, and i am able to print out the videoId so that is coming through fine.

Thanks for any input

Some docs and usage examle

I browser you code, and it seems to me that your service produces an instance of a video using the YouTube JS api statically.
Which is basically the same is using an embed flash player.
And won't allow users to add their own video for instance.

Instead of creating the video instance at the link function of the directive, perhaps it could be nice to pass it as a 2-way-bind attribute.

I can implement something like this and open a PR, if you are interested.

Also, regardless of the usage example for the existing code could be great, thanks ๐Ÿ‘

License

Hey, this is nice. What are you licensing it under? Could you add a license file?

Examples of implementation

Could someone please provide an example of how you're expected to implement this?

I'm very new to Angular and I'm having trouble working out how you'd pass it either the ID of the video to play (quite a fundamental problem i'm sure you're agree) or how you'd go about listening for events on the player itself.

Even a quick snippet would be better than none.

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.