1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    19
    Vote Rating
    0
    Megajayeultra is on a distinguished road

      0  

    Default Unanswered: Media Element Inside list item help!!!!!!!!!!!!!!!!

    Unanswered: Media Element Inside list item help!!!!!!!!!!!!!!!!


    I am building a nested list with media items inside each element and I do not know where I am going wrong.
    Some one please help me. My code is

    Code:
    Ext.define('ListItem', {
        extend: 'Ext.data.Model',
       
      requires: [
         'Ext.TitleBar',  
          'Ext.Video'
       ],
       config: {
          xtype:'container',
    	  fields: ['text'],  
          title: 'Device',
    	  iconCls: 'action',
                  items: {
                     docked: 'top',
                     xtype: 'titlebar',
                     title: 'Cloud Content',
                  },
    	}
    	});
    
    var treeStore = Ext.create('Ext.data.TreeStore', {
        model: 'ListItem',
        defaultRootProperty: 'items',
        root: {
            items: [
                {
                    text: 'Audio',
                    items: [
                        {
                            text: 'Water',
                            items: [
                                { text: 'Still', leaf: true },
                                
                            ]
                        },
                        
                    ]
                },
                {
                    text: 'Videos',
                    items: [
                        { text: 'Nuts', leaf: true },
                        
                    ] 
               },
    		   
    		   {
                    text: 'Ebooks',
                    items: [
                        { text: 'Nuts', leaf: true },
                        
    					{
                        xtype:'video',
                        url:['http://www.youtube.com/watch?v=_cy8vpVS1Iw&feature=related'],
                        loop:true,
                        }
                    ] 
               }
            ]
        }
    });
    
    Ext.create('Ext.NestedList', {
        fullscreen: true,
        store: treeStore
    });

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Answers
    656
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Where is Ext.video coming from?
    xtype:'video',

    What is the problem you are facing .. the link does not load?

    Code:
    xtype: 'box',
    autoEl: {
        tag: 'a',
        href: 'javascript:;',
        html: 'LINK'
    },
    listeners: {
        click: {
            element: 'el',
            fn: function() {
                var myWin = Ext.create("Ext.window.Window", {
                    title: 'HTML Window',
                    modal: true,
                    html: '<iframe src="http://www.sencha.com" width="100%" height="100%" ></iframe>',
                    width: 700,
                    height: 500
                });
                myWin.show();
            }
        }
    }​
    Scott.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi