I used the latest version of FlashEmbed to perform a version check before injecting the flash movie.
However the parameter 'version' seems to have no effect.
If I check the version manually ( flashembed.isSupported([9,18]) ) I do get a correct true / false response.
Using flashembed 1.0.4 , jquery 1.3.2.
My code:
if (flashembed.isSupported([9, 18]) == true) {
// Load the flash movie
//
container.flashembed('../include/flash/clock.swf',
{
/* configuration */
version: [9, 18],
expressInstall: '../include/flash/expressInstall.swf',
bgcolor: '#FFFFFF',
quality: 'high'
},
{
/* flashvars */
partijId: partijIdValue,
mogId: mogIdValue,
userName: userNameValue
});
}
else
{
// this does work, if I however remove this if/else statement
// there is no apparant version check occuring
//
}
However the parameter 'version' seems to have no effect.
If I check the version manually ( flashembed.isSupported([9,18]) ) I do get a correct true / false response.
Using flashembed 1.0.4 , jquery 1.3.2.
My code:
if (flashembed.isSupported([9, 18]) == true) {
// Load the flash movie
//
container.flashembed('../include/flash/clock.swf',
{
/* configuration */
version: [9, 18],
expressInstall: '../include/flash/expressInstall.swf',
bgcolor: '#FFFFFF',
quality: 'high'
},
{
/* flashvars */
partijId: partijIdValue,
mogId: mogIdValue,
userName: userNameValue
});
}
else
{
// this does work, if I however remove this if/else statement
// there is no apparant version check occuring
//
}
