[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 play

[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 contr

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

2007-06-06 Thread Mike Alsup
Cool, looks like you have it working. But you probably want to add a "return false" to your click handler. Mike On 6/6/07, Aaron Scott <[EMAIL PROTECTED]> wrote: Sorry, here's an example to go with my ramblings: http://www.andcuriouser.com/sandbox/jqueryqt/test.html Aaron

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

2007-06-06 Thread Aaron Scott
Sorry, here's an example to go with my ramblings: http://www.andcuriouser.com/sandbox/jqueryqt/test.html Aaron

[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 '' tag. You

[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 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: http://www.apple.co

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

2007-06-06 Thread Ⓙⓐⓚⓔ
http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0 width="320" height="256" align="middle"> http://www.apple.com/quicktime/download/";> http://developer.apple.com/internet/ieembedprep.html anything else won't work as well. On 6/6/07, Aaron Scott <[EMAIL PROTECTED]> wrote:

[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 conta

[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, I'

[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,

[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 pa

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

2007-06-04 Thread Aaron Scott
> That problem that is fixed by using straight DOM code for creating the > object and param elements. > Well, this is the first time I've tried making elements using straight DOM code in JS. This is what I coded: var body = document.getElementsByTagName("body")[0]; var movieBuil

[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: http://www.andcuriouser.com/sandbox/jqueryqt

[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

[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