You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Version in flashembed Created Oct 15, 2009

This thread is solved

Views: 1288     Replies: 1     Last reply Oct 15, 2009  
You must login first before you can use this feature

dpfvanloon

Posts: 1

Registered:
Oct 15, 2009

Version in flashembed

Posted: Oct 15, 2009

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
//
}

degenerate

Posts: 156

Registered:
Sep 19, 2008

» Version in flashembed

Posted: Oct 15, 2009

Reply to: Version in flashembed, from dpfvanloon
Try your initialization differently, like in the example on the flashembed doc page:
http://flowplayer.org/tools/flashembed.html

flashembed("container", {src: '../include/flash/clock.swf', version: [9, 115],
etc...

Have you also tried using [9, 115] like the example? Maybe there is a bug when selecting [9, 18]. I have not seen this version targeted before.