Replies: 3 comments 4 replies
-
hi, just import it in your application bundle using npm or another package manager. |
Beta Was this translation helpful? Give feedback.
-
hi kslimani, I tried to use "npm add clappr-ima-plugin" in the clappr directory. Imported it as a dependency but I don't understand how to call it in plugins to compile it. could you help me figure out how to do it? |
Beta Was this translation helpful? Give feedback.
-
Please note this plugin does not support yet the new 0.4.x version of Clappr, it is supported only in the 0.3.x versions (latest is 0.3.13) I am not sure to understand what you want to achieve ? Are you trying to rebuild your own version of Clappr player ? If it is the case, you need to import the plugin and add it in the loader class, and then recompile the player. IMO, it is easier to create a wrapper utility class which return your custom player instance. (and should also be easier to maintain). |
Beta Was this translation helpful? Give feedback.
-
hi Guys, how can I integrate (compile) it into clappr plugins? I would like to have it integrated into the player without calling it externally via the script
Beta Was this translation helpful? Give feedback.
All reactions