Re: [Flashcoders] Flash targeting Quicktime to open in QT Player

2006-04-17 Thread Jim Kremens
Could you do something with javascript and css and ExternalInterface?

Something where a div of the QT player is hidden, and a javascript call
would supply the embed src param and turn the visibility of the div on or
something?

You can definitely do that (I've done it) but I don't think that's
what he wants.  He wants the file to open in the standalone Quicktime
Player (right?).

I can't think of how to do that... sorry.

Jim Kremens

On 4/17/06, eric dolecki [EMAIL PROTECTED] wrote:
 Could you do something with javascript and css and ExternalInterface?

 Something where a div of the QT player is hidden, and a javascript call
 would supply the embed src param and turn the visibility of the div on or
 something?

 On 4/17/06, Jon Bradley [EMAIL PROTECTED] wrote:
 
  This one is tough.
 
  I'm trying to have Flash (version 8) call a javascript function that
  will write a quicktime object to the page and open this quicktime in
  the QT player, not in the page.
 
  I've got the usage of QT write object javascript functions (from Apple)
  that will write out an embed or object tag to put a quicktime in a
  page. Problem is that we're running a Flash 8 site that needs to target
  this qt object to open up in the Quicktime Player, not into an embedded
  movie on the page.
 
  Popup windows are a no go, so I need to figure out a way for Flash to
  communicate with the page to tell it to write an embed to the page and
  load up the QT player, without changing the current window.
 
  Unfortunately, any getURL call I make always changes the location of
  the page - and I can't even figure out how to keep it from changing the
  page location. Is this possible with an FSCommand?
 
  Has anyone ever done anything like this?
 
  Many many many thanks if anyone can help out. I've got a site I need to
  make live today and I have everything working fine except this (major)
  part.
 
  thanks,
 
  Jon Bradley
  Animation / Interactive / Visual FX
  Post Central, Inc.
  [EMAIL PROTECTED]
  www.cherrycrushthemovie.com
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



--
Jim Kremens
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash targeting Quicktime to open in QT Player

2006-04-17 Thread Jon Bradley

On Apr 17, 2006, at 10:44 AM, Jim Kremens wrote:


Could you do something with javascript and css and ExternalInterface?

Something where a div of the QT player is hidden, and a javascript call
would supply the embed src param and turn the visibility of the div on 
or

something?

You can definitely do that (I've done it) but I don't think that's
what he wants.  He wants the file to open in the standalone Quicktime
Player (right?).

I can't think of how to do that... sorry.

Jim Kremens


I definitely want it to open in standalone QT Player, not the plugin.

I think that solution could work, provided I can figure out how to call 
getURL without my page changing it's window location.


I've not done much javascript - flash communication so, I have no 
idea why calling getURL(javascript:something) changes the browser 
location.  So odd.


I think I'll have to have the div there anyway, because the Player is 
opened through the target tag in the embed object. So, it's as if the 
quicktime movie is there, just not used inside the page.


Argh.

Jon Bradley
Animation / Interactive / Visual FX
Post Central, Inc.
[EMAIL PROTECTED]
www.cherrycrushthemovie.com



On Apr 17, 2006, at 10:44 AM, Jim Kremens wrote:


Could you do something with javascript and css and ExternalInterface?

Something where a div of the QT player is hidden, and a javascript call
would supply the embed src param and turn the visibility of the div on 
or

something?

You can definitely do that (I've done it) but I don't think that's
what he wants.  He wants the file to open in the standalone Quicktime
Player (right?).

I can't think of how to do that... sorry.

Jim Kremens

On 4/17/06, eric dolecki [EMAIL PROTECTED] wrote:

Could you do something with javascript and css and ExternalInterface?

Something where a div of the QT player is hidden, and a javascript 
call
would supply the embed src param and turn the visibility of the div 
on or

something?

On 4/17/06, Jon Bradley [EMAIL PROTECTED] wrote:


This one is tough.

I'm trying to have Flash (version 8) call a javascript function that
will write a quicktime object to the page and open this quicktime in
the QT player, not in the page.

I've got the usage of QT write object javascript functions (from 
Apple)

that will write out an embed or object tag to put a quicktime in a
page. Problem is that we're running a Flash 8 site that needs to 
target
this qt object to open up in the Quicktime Player, not into an 
embedded

movie on the page.

Popup windows are a no go, so I need to figure out a way for Flash to
communicate with the page to tell it to write an embed to the page 
and

load up the QT player, without changing the current window.

Unfortunately, any getURL call I make always changes the location of
the page - and I can't even figure out how to keep it from changing 
the

page location. Is this possible with an FSCommand?

Has anyone ever done anything like this?

Many many many thanks if anyone can help out. I've got a site I need 
to
make live today and I have everything working fine except this 
(major)

part.

thanks,

Jon Bradley
Animation / Interactive / Visual FX
Post Central, Inc.
[EMAIL PROTECTED]
www.cherrycrushthemovie.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Jim Kremens
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash targeting Quicktime to open in QT Player

2006-04-17 Thread Jon Bradley

On Apr 17, 2006, at 4:05 PM, John Dowdell wrote:

Does this become How does Apple recommend showing a QuickTime video 
in the standalone QuickTime Player (if available), rather than a new 
browser window?? or...?


Not quite. It's pretty straight forward to do that.  Apple has a set of 
javascript QT object functions that will write an XHTML or HTML tag to 
your page with the proper information in the embed and object params.


One of the properties is target, which when set to Quicktime Video 
Player will automatically launch the Quicktime application to play the 
URL provided in the embed tag.


The problem is two-fold here, and neither of which I can figure out:

1. Use a getURL call to call a javascript function without loading up a 
new page. For some reason, no matter what I do, getURL will always 
change the browser page (ie, it changes to a blank page removing the 
content you were looking at). I have no idea why it does this.


2. Call the javascript function to actually write the XHTML/HTML object 
immediately after the flash embed, so that this will work properly.


With the javascript function call on a button in an HTML/XHTML page, 
this is no problem - as the script for the button is replaced with the 
embed tag. Not so with Flash.


Delivering the video as Flash is not really an option, because it's no 
where near as good a the H.264 encoded QT video that I want to provide. 
I just wish there were an easier solution.


cheers,

jon

Jon Bradley
Animation / Interactive / Visual FX
Post Central, Inc.
[EMAIL PROTECTED]



On Apr 17, 2006, at 4:05 PM, John Dowdell wrote:

[I missed this new thread at first, because it was listed as part of 
the  Talking to Flash from JavaScript thread. Using New for a new 
message keeps new topics from being hidden within old topics, as 
occurs when using Reply-To in the emailer.)


Does this become How does Apple recommend showing a QuickTime video 
in the standalone QuickTime Player (if available), rather than a new 
browser window?? or...?


jd






--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com