goverdhan
23 Apr 2012, 10:24 AM
I am using a video on a sencha touch app. This video is within a Carousel. The video controls for pause and resume are not working there. Can you please suggest the right way to use a video within a Carousel .
Ext.define('SP.view.MainStage',{
extend:'Ext.Carousel',
fullscreen: true,
xtype:'myPanel',
config:{
title: 'My Title',
iconCls: 'home',
items: [
{
xtype:'video', // Video starts but unable to stop or pause or move to any position
url : "myvideo1.mp4",
posterUrl: 'myimage.png'
} ,
{
html: 'Hello World' // I can easily swipe the Carousel
}
]
}
});
Ext.define('SP.view.MainStage',{
extend:'Ext.Carousel',
fullscreen: true,
xtype:'myPanel',
config:{
title: 'My Title',
iconCls: 'home',
items: [
{
xtype:'video', // Video starts but unable to stop or pause or move to any position
url : "myvideo1.mp4",
posterUrl: 'myimage.png'
} ,
{
html: 'Hello World' // I can easily swipe the Carousel
}
]
}
});