PDA

View Full Version : Video controls not working in Carousel



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
}
]
}


});

bugrasnmz
24 Apr 2012, 1:28 PM
{
xtype:'video', // Video starts but unable to stop or pause or move to any position
url : "myvideo1.mp4",
autoResume:true,
autoPause:true,
posterUrl: 'myimage.png'
} ,


Maybe this modification will help you because i have same structure in my project and i can play,stop and resume with no problem in carousel.

crystl
26 Nov 2012, 10:45 AM
Have you an complete example ?

I habe a panel, and i will on top, the video, and under them a carousel. But dont work :(