Keeping an object tag in center region.
Region in re rendered on every expand.
For eg. Youtube video played is not retaining it position after collapse and expand.
All non IE browsers are re rendering the html on expand.
Is there any config to avoid this.
Code:
Ext.onReady(function () {
new Ext.Viewport({
layout: 'border',
items: [{
height: 75,
region: 'north',
title: 'North'
}, {
width: 150,
region: 'west',
title: 'west'
}, {
region: 'center',
title: 'center',
collapsible: true,
html: '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/Eznls7RfosI"></param><embed src="http://www.youtube.com/v/Eznls7RfosI" type="application/x-shockwave-flash" width="425" height="350"></embed></object>'
}, {
region: 'south',
title: 'center'
}]
});
});