Creating a link to make QT player open and load movie?

Discussion in 'Web Design and Development' started by Zab the Fab, Mar 17, 2006.

  1. Zab the Fab macrumors member

    Joined:
    Nov 26, 2003
    #1
    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 :)
     
  2. irmongoose macrumors 68030

    irmongoose

    Joined:
    Dec 3, 2001
    Location:
    Sometimes Tokyo, sometimes California
    #2
    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
    Code:
    <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
     
  3. Zab the Fab thread starter macrumors member

    Joined:
    Nov 26, 2003
    #3
    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
     
  4. Zab the Fab thread starter macrumors member

    Joined:
    Nov 26, 2003
    #4
    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
     
  5. Lau Guest

    #5
    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.
     
  6. crees! macrumors 68000

    crees!

    Joined:
    Jun 14, 2003
    Location:
    MD/VA/DC
    #6
  7. londonweb macrumors 6502

    londonweb

    Joined:
    Sep 14, 2005
    Location:
    london
    #7
    Can this be done from within Flash?

    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!
     

Share This Page