how to add a vars using jmeEmbed to enable stretching=exactfit, default is strecthing=uniform
Hi all, according to the documentation here:
if I want to add a vars option parameter: what would be the code to enable stretching=exactfit - I tried to use:
vars: {stretching:'exactfit'
}
and it did not work
here is the example from protofunc:
$('video').jmeEmbed({
jwPlayer: {
path: '../mediaplayers/player.swf',
params: {
//make video transparent
wmode: 'transparent'
},
vars: {
//we support http-pseudo-streaming
provider: 'http'
}
}
})
Normally when using embeded flash, I use:
<embed
flashvars="file=BuckBunny-512-24.mp4&autostart=true&stretching=exactfit"
allowfullscreen="true"
allowscripaccess="always"
id="player1"
name="player1"
src="player.swf"
width="640"
height="360"
/>
TIA