Sencha touch 2 如何在sencha Touch2中使用提要播放youtube视频
我想使用youtube提要播放youtube视频,如Sencha touch 2 如何在sencha Touch2中使用提要播放youtube视频,sencha-touch-2,Sencha Touch 2,我想使用youtube提要播放youtube视频,如http://www.youtube.com/rss/user/userName/videos.rss xtype: 'nestedlist', title: 'Blog', iconCls: 'star', displayField: 'title', store: { type: 'tree', fields: [ 'title', 'link',
http://www.youtube.com/rss/user/userName/videos.rss
xtype: 'nestedlist',
title: 'Blog',
iconCls: 'star',
displayField: 'title',
store: {
type: 'tree',
fields: [
'title', 'link', 'author', 'contentSnippet', 'content',
{name: 'leaf', defaultValue: true}
],
root: {
leaf: false
},
proxy: {
type: 'jsonp',
url: 'https://ajax.googleapis.com/ajax/services/feed/load?v=1.0&q=http://www.youtube.com/rss/user/JustinBieberVEVO/videos.rss',
reader: {
type: 'json',
rootProperty: 'responseData.feed.entries'
}
}
},
detailCard: {
xtype: 'video',
scrollable: true,
styleHtmlContent: true
},
listeners: {
itemtap: function(nestedList, list, index, element, post) {
this.getDetailCard().setHtml(post.get('content'));
}
}
},
当用户单击提要列表时,应用程序将播放直接视频请帮我做这个