Might be basic question, but can some one please clarify how can i include custom ux into my Sencha touch application.
Here are the details 1. I'm adding youtubeplayer into sencha touch (http://code.google.com/p/ext-ux-youtubeplayer/downloads/detail?name=ext-ux-youtubeplayer-0.5.rar&can=2&q=)
I've downloaded and placed in root folder of my app (C:\xampp\htdocs\Sencha_New\touch-2.2.0\kids\ux)
i added this entry in app.js
// Ext.Loader.setPath({ 'Ext': 'touch/src', 'kids': 'app', 'Ext.ux.YoutubePlayer': './ux/ext-ux-youtubeplayer' //Pavan - added for Youtube player EXTJS });
added this entry in app\sencha.cfg
app.classpath=${app.dir}/app.js,${app.dir}/app,ux
When i try to instantiate this, getting an error
Uncaught TypeError: Cannot read property 'YoutubePlayer' of undefined
Thanks Pavan