[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-07 Thread Aaron Scott
Cool, looks like you have it working. Well, here's a couple notes in conclusion. My original problem was this: when embedding a QuickTime object in IE, if you remove the DOM object that contains the QuickTime, then try to make the exact same DOM object with a new QuickTime, the QuickTime

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-07 Thread Mike Alsup
Aaron, I'm glad you found a workaround that you can live with. I'll grant you that the QT ActiveX control is somewhat less than robust, but I was never able to duplicate your problem. The annoying thing that I've run into is that when you remove the QT object from the DOM in IE the actual

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Aaron Scott
Actually you don't need to go that low-level. Take a peak at the generate method here: http://malsup.com/jquery/media/jquery.media.js I'm sorry, I've gone over the JS a thousand times and I'm not making any progress. My JS just isn't that strong. Looking over the generate method, it looks

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Mike Alsup
Yes, that method or creating the element should work just fine. Can you post a sample page? Maybe there's just a minor typo or something causing the problem. Mike ... and append children to that, and then append _that_ as a child to the body to display the movie. But no matter what I do,

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Aaron Scott
Yes, that method or creating the element should work just fine. Can you post a sample page? Maybe there's just a minor typo or something causing the problem. Sure. http://www.andcuriouser.com/sandbox/jqueryqt/test.html The error: Error: uncaught exception: [Exception... String contains

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Ⓙⓐⓚⓔ
object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase= http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0 width=320 height=256 align=middle param name=src value=sample.mov / param name=autoplay value=true / embed src=sample.mov autoplay=true width=320

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Aaron Scott
anything else won't work as well. Right now, my sample code is FF-only until I can get that up and running (since FF is better for JS debugging). After that, I'll work on IE (using the double-object method). Apple's method works, but it doesn't validate. Compare it to this: object

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Ⓙⓐⓚⓔ
I hit your page, and got the error you showed... I notice your object didn't look like my objects... so I went back to where I got my info... I do some jQuery + qt video on my dog's site. http://jpassoc.com/junior/puppy-movies.html validating is for html code, not for JavaScript... we can abuse

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-06 Thread Mike Alsup
from http://developer.apple.com/internet/ieembedprep.html anything else won't work as well. That's only true for static content. Dynamically, you can skip the embed tag on IE and the object tag on everything else. Aaron, I think your script errors are probably from the closing '/object'

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-04 Thread Mike Alsup
Aaron, I've found that it is somewhat unreliable to add object elements using innerHTML. For my media plugin I resorted to using DOM methods to add media in IE. For an example, look at the generate method at the bottom of this file: http://malsup.com/jquery/media/jquery.media.js Mike On

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-04 Thread Aaron Scott
I've found that it is somewhat unreliable to add object elements using innerHTML. For my media plugin I resorted to using DOM methods to add media in IE. For an example, look at the generate method at the bottom of this file: http://malsup.com/jquery/media/jquery.media.js Thanks for your

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-04 Thread Mike Alsup
I assume that .html() and .append() are DOM functions, while .load() uses innerHTML? Sort of, but the dom manipulation methods all call clean which uses innerHTML so you're not really escaping that limitation. ... but if you check the results:

[jQuery] Re: QuickTime control bar disappearing after .remove() and .load()

2007-06-04 Thread Mike Alsup
Hi Aaron, Actually you don't need to go that low-level. Take a peak at the generate method here: http://malsup.com/jquery/media/jquery.media.js Mike On 6/4/07, Aaron Scott [EMAIL PROTECTED] wrote: That problem that is fixed by using straight DOM code for creating the object and param