PDA

View Full Version : JWPlayer and ExtJS



redr
10 Jul 2014, 12:38 AM
Hello guys, i'm trying to add JWPlayer to Tab/Panel, but using only html property doesn't help.


<div id='playertBxDfXCgJarV'></div>

<script type='text/javascript'>
jwplayer('playertBxDfXCgJarV').setup({
file: 'URL',
flashplayer: 'jwplayer/jwplayer.flash.swf',
html5player: "jwplayer/jwplayer.html5.js",
skin: 'stormtrooper',
controls: 'true',
fallback: 'false',
autostart: 'true',
primary: 'flash',
width: '1280',
height: '720',
stretching: 'fill'
});
</script>
</div>

I'm new with ExtJS so any help would be appreciated.