(Early test , API may change)
- download the repo ( see HOW_TO_BUILD )
- Open VideoPolymer.xcworkspace and locate to PluginExample.xcodeproj
- Edit / Run
- Inject Javascript on domain
Must be top level domain (example: youku.com)
- Inject Javascript file prefix
If set to "FILE" , will load Plugin.bundle/Contents/Resources/FILE.js
- Principal class
Main class of plugin , must inherit "VP_Plugin"
See ExamplePlugin in workspace
Plugin need valid codesign from Apple or me (plugin/TYPCN_Root_G3.crt) , you can submit plugin to Plugin Store( coming soon ) , the server will sign it automaticly.