PDA

View Full Version : Creating a link to make QT player open and load movie?




Zab the Fab
Mar 17, 2006, 06:01 PM
Hello everyone

I need to create a link that when clicked will open the quicktime player and start loading the movie in a new window, for the user to watch.

I use Freeway from Softpress, but I can insert code directly if that's needed using "Markup" in Freeway.

Thanks :)



irmongoose
Mar 17, 2006, 09:51 PM
OK, this is going to take some time.

Firstly, as far as I know, you cannot make a text link to make it open in QuickTime Player. You must use a picture which when clicked will then proceed to open the linked movie in Player.

So the source code used is
<embed src="poster.mov" width="200" height="240" href="sample.mov" target="quicktimeplayer">

This "poster.mov" can be a picture of any size, but change the .jpg or .png to ".mov". Put this file name where "poster.mov" lies. Secondly, take the width and height of the actual movie you want to link to within "width" and "height". Lastly, take the linked movie name and put it under "href=". The target=quicktimeplayer takes care of the rest.

Additionally, you can make the movie play automatically after it opens in QuickTime Player. This might require Quicktime Pro, I am not sure. Open the actual movie file in QuickTime, go to Window>Show Movie Properties, and select the Presentation tab. Under "General", select "Automatically play movie when opened". This might only work for Quicktime Movies or mpegs, I am not sure.

Hope that makes things clear.




irmongoose

Zab the Fab
Mar 18, 2006, 08:30 PM
OK, this is going to take some time.

Firstly, as far as I know, you cannot make a text link to make it open in QuickTime Player. You must use a picture which when clicked will then proceed to open the linked movie in Player.

So the source code used is
<embed src="poster.mov" width="200" height="240" href="sample.mov" target="quicktimeplayer">

This "poster.mov" can be a picture of any size, but change the .jpg or .png to ".mov". Put this file name where "poster.mov" lies. Secondly, take the width and height of the actual movie you want to link to within "width" and "height". Lastly, take the linked movie name and put it under "href=". The target=quicktimeplayer takes care of the rest.

Additionally, you can make the movie play automatically after it opens in QuickTime Player. This might require Quicktime Pro, I am not sure. Open the actual movie file in QuickTime, go to Window>Show Movie Properties, and select the Presentation tab. Under "General", select "Automatically play movie when opened". This might only work for Quicktime Movies or mpegs, I am not sure.

Hope that makes things clear.




irmongoose
Yes, especially the part about the width and height being the properties of the movie and not the poster.mov which is what I thought?

Is there anywhay I can use an already inserted grafics and assign a script or something that will also make the quicktime player open and load the movie?

How about movie formats like .mov or .mp4? What would be better when wanting to make the videofiles available for as many users as possible? Can windows media player show .mp4 files on a PC? Ofcause they can just install iTunes with QuickTime if they want to.


Thanks

Zab the Fab

Zab the Fab
Mar 26, 2006, 04:12 PM
I got the code working now and it opens up QT player just fine. I'm getting reports of problems from some PC users and that's not so good.

• Can I create a similar script to open up VLC? and will VLC play the .mov files on a PC without QuickTime installed?

• How about movie formats like .mov or .mp4? What would be better when wanting to make the videofiles available for as many users as possible? Can windows media player show .mp4 files on a PC? Ofcause they can just install iTunes with QuickTime if they want to.


Thanks

Zab the Fab

Lau
Apr 7, 2006, 04:07 AM
I got the code working now and it opens up QT player just fine. I'm getting reports of problems from some PC users and that's not so good.

What are the problems for your PC users?

You might find these threads helpful if they can't view it properly, as myself and another forum member had the same problem.

http://forums.macrumors.com/showthread.php?t=150823
http://forums.macrumors.com/showthread.php?t=153643

Take a look and if they don't solve the problem let us know some more details about the problems the PC users are having and it may be solvable without changing the player.

crees!
Apr 7, 2006, 03:43 PM
To embed QuickTime movies I would HIGHLY recommend using the Deconcept method. He also has one for Flash called FlashObject which I use extensively.

http://blog.deconcept.com/2005/01/26/web-standards-compliant-javascript-quicktime-detect-and-embed/

londonweb
Jun 6, 2008, 10:41 AM
I just wanted to revive this thread to ask if there is any sort of workaround available to achieve the same thing from within Flash?

I want to have a link contained in a Flash movie that when clicked, opens up a Quicktime movie in a stand-alone Quicktime player window, as opposed to a browser window.

Can anyone confirm whether or not this is possible?

Thanks!