Hi,
I was checking the API for video and I didn't see any sort of autoplay config option or for that matter any play(0 method.
Is there some way to autoplay a video as soon as it loads?
I'd like to add video help in an overlay so it would make sense if it started when opened.
Here is the test code I am using:
Code:
Ext.setup({
tabletStartupScreen: 'tablet_startup.png',
phoneStartupScreen: 'phone_startup.png',
icon: 'icon.png',
glossOnIcon: false,
onReady: function() {
var pnl = new Ext.Panel({
layout: {
type: 'vbox',
pack: 'center'
},
items: [{
xtype: 'video',
url: 'test3.mp4',
loop: true,
width: 480,
height: 360,
poster: 'poster.png'
}],
fullscreen: true
})
}
});
Thanks as always for the help!
gt