vivendi
7 Sep 2011, 12:44 AM
Hi,
i'm trying to play a video on the iphone simulator, but for some reason it isn't playing. All i see is a black square, where the video should normally appear in. But it just stays black...
This is the code that i have:
app.views.main = Ext.extend(Ext.Panel, {
fullscreen: true,
items: [{
xtype: 'video',
url: 'http://www.w3schools.com/html5/movie.mp4',
loop: true,
width: 240,
height: 240,
//posterUrl: '../video/Screenshot.png'
}]
});
The URL to the movie works, there's nothing wrong with that.
Anyone any idea why the movie isn't showing???
BTW, it does play when i open the index.html file with Chrome.
i'm trying to play a video on the iphone simulator, but for some reason it isn't playing. All i see is a black square, where the video should normally appear in. But it just stays black...
This is the code that i have:
app.views.main = Ext.extend(Ext.Panel, {
fullscreen: true,
items: [{
xtype: 'video',
url: 'http://www.w3schools.com/html5/movie.mp4',
loop: true,
width: 240,
height: 240,
//posterUrl: '../video/Screenshot.png'
}]
});
The URL to the movie works, there's nothing wrong with that.
Anyone any idea why the movie isn't showing???
BTW, it does play when i open the index.html file with Chrome.