jQuery Media Plugin Creates Object Without an ID Attribute

I am using the jQuery media plugin (http://jquery.malsup.com/media/) along with the ElementIT Flash Uploader (http://www.element-it.com/multiple-file-upload/flash-uploader.aspx). I am using an old version of the uploader (v 1.7) but everything has been working great, until I updated the jQuery media plugin to the latest version.

Once the media plugin embeds the flash object, it is missing the ID attribute.

        width:     350,
        height:    210,
        autoplay:  true,
        src:       'includes/ElementITMultiPowUpload1.7.swf',
        attrs:     { id:  'FlashFileUpload' }, // object/embed attrs
        params:    { bgColor: '#ffffff', Quality: 'High', AllowScriptAccess: 'Always', SeamlessTabbing: '1', wmode: 'transparent' }, // object params/embed attrs
        flashvars: {    uploadUrl: '<?php echo htmlentities($_SERVER['PHP_SELF']); ?>',
                        redirectUploadUrl: 'files.php',
                        labelUploadVisible: 'No',
                        uploadButtonVisible: 'No',
                        backgroundColor: '#FFFFFF',
                        listTextSelectedColor: '#000000',
                        listBackgroundColor: '#FFFFFF',
                        listSelectionColor: '#DFE7F2',
                        listUploadedColor: '#DFE7F2',
                        listRollOverColor: '#ffffcc',
                        useExternalInterface: 'yes',
                        filesListX: '2',
                        filesListY: '30',
                        progressBarX: '7',
                        progressBarY: '155',
                        labelInfoX: '7',
                        labelInfoY: '160' },
        caption:   false // supress caption text

Here is the object it creates (missing the ID attribute)

<object width="350" height="210" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="https://localhost/ssp/includes/ElementITMultiPowUpload1.7.swf" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7" type="application/x-shockwave-flash">

Here is some additional HTML:

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

Since I specifying an ID, I’m not sure it is not making it as an attribute for the object element.

attrs:     { id:  'FlashFileUpload' }, // object/embed attrs 

Any recommendations?

Hi there,

There’s nothing in the code that you posted that looks like an error.
Could you post a link to a page where I can see this not working?

I appreciate the response. The code is on my company’s intranet so it can’t be accessed. I solved the issue by adding a line that adds the id attribute to the element. I don’t know why the id couldn’t be assigned.

I’m glad you got your issue sorted.
Thank you for taking the time to report back.