Q:

Adding External JS libraries to Polymer

I want  to add videoJS player to polymer app ? How to Adding External JS libraries to Polymer ?
Thanks

A:

You need to wrap your JS dependencies in an import file.

Create a new html file call it myVerySpecialLib-import.html.
Add a script tag to that file which points to your library
In the Component in which you want to use your lib import that myVerySpecialLib-import.html file

That's it! Now, you can use your library in your component.

