Code for Embedding Quicktime Movies in Web Pages-Question

I have been embedding QT movies in web pages for years. I used to use the embed and object tags, but due to the problems with the default settings of IE7, in regards to ActiveX, I recently changed to the javascript method.
I will paste sample code below, of how I use it, with the movie title change to sample: (of course I change the dimensions, depending on the movie size.)
<script language="JavaScript" type="text/javascript"><!--
QT_WriteOBJECT('sample.mov', '644', '76','','controller','true','autoplay','true','showlogo','true','cache','false' ,'enablejavascript','true');
// --></script>
and I put at the top of the page, right before </head>
<script src="AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
I forgot where I got this code. Perhaps from someone on this forum, or elsewhere. It seems to work with the default settings on most browsers.
I have a couple questions, however, regarding fine-tuning it a little more.
1) If it takes a while for the movie to load, users who open my pages see a static Q QT icon. How would one make the icon flash, with flashing text that says "Loading", so that the user knows that the video is loading? (I have seen that on other sites, and don't know how to do that.)
2)As said the javascript works with most browser default settings, as most have javascript enabled by default. But what if a user does not have javascript enabled? Could the code sense that, and if non-existent, tell the user to enable javascript? Or, if javascript is disabled, could the embed and/or object tags be activated?
3) The code above, that I got from someone, says "cache=false". That means that each time someone sees the movie, it has to be reloaded from the net, and not from the browser cache, correct? If so, why would one want it to be set that way? If it's a large movie, a user with a slower computer and/or internet connection would certainly prefer if it could play from the cache the next time, loading much faster. Is there any reason to prefer "cache=false"?
4)Is there any code that could be put in, to allow the user, if they prefer, to download the file,(perhaps with a right-click or CTRL-Click), instead of playing it in the browser?
Thank you very much in advance, to whomever can help with these code questions.

Thank you for your reply, Kirk,
1)Yes, I do have "fast start" enabled in my files, and they were made with QT Pro, newest version. So no, there is no "trouble with my files".
However, I would still like to have that flashing "Loading" icon when the file is loading, as I see on other sites. (And yes, even with "Fast Start" enabled, depending on the size of the file, the speed of the computer and internet connection, it can take a little time beforeit starts.) Anyone know how to create that flashing "Loading" icon, rather than just the static Q?
2)I just wondered if there was a way for the javascript to recognize if the user does not have javascript, and bring up a message if that is the case, telling the user they need to enable it to see the content. (As would happen if the user does not have the QT plugin installed.) Yes, I realize it would not work to include in the normal way the embed and object tags as well, I wondered if there was a way to invoke them only if the user doesn't have javascript. Perhaps impossible, but I thought I'd ask, in case someone knows of a way to do that.
4)Yes, I guess I could just put a separate direct text link to the movie file for downloading. I just wondered if there was a way to put that in the javascript, so that if someone right-clicks on the QT icon, they can download rather than view it, rather than use a separate link. That may also be impossible, but I thought I'd ask, and see if there is a way to do that.
Your question to me regarding dimensions--I forget which was the QT movie, that I took that sample from. Yes, I have some in unusual sizes. They are not normal movies. I don't have time to explain more now though, and that has no bearing on the questions I asked.
Once again, thanks for replying, and if you or someone else could help further with my questions, I would appreciate it very much.
Have a nice day!

Similar Messages

  • Anyone know xhtml code for embedding QT movies with Autoplay off?

    I am using code I got in class, and see online, for embedding a QT movie in a page, but the Autoplay-false is not working, the movie starts right out playing as soon as the page opens.
    the line of code:
    <parem name="autoplay" value="false" />
    The whole block of code I got from the class to insert a movie:
    <!-- embed quicktime movie -->
    <!-- for older IE browers -->
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
    codebase="http://www.apple.com/qtactivex/qtplugin.cab"
    width="320" height="255">
    <param name="src" value="../../movietests/ffems_entry.mov" />
    <parem name="autoplay" value="false" />
    <!-- [if gte IE 7> <!-->
    <!-- embed quicktime movie -->
    <!-- for all other browers -->
    <object type="video/quicktime" data="../../movietests/ffems_entry.mov" width="320" height="255">
    <parem name="autoplay" value="false" />
    alt : Click for Movie
    </object>
    <!--<! [endif] -->
    <!--[if It IE 7] >
    alt : <a href="../../movietests/ffems_entry.mov"> Click for Movie </a>
    <! [endif] -->
    </object>

    Thank you for your reply, Kirk,
    1)Yes, I do have "fast start" enabled in my files, and they were made with QT Pro, newest version. So no, there is no "trouble with my files".
    However, I would still like to have that flashing "Loading" icon when the file is loading, as I see on other sites. (And yes, even with "Fast Start" enabled, depending on the size of the file, the speed of the computer and internet connection, it can take a little time beforeit starts.) Anyone know how to create that flashing "Loading" icon, rather than just the static Q?
    2)I just wondered if there was a way for the javascript to recognize if the user does not have javascript, and bring up a message if that is the case, telling the user they need to enable it to see the content. (As would happen if the user does not have the QT plugin installed.) Yes, I realize it would not work to include in the normal way the embed and object tags as well, I wondered if there was a way to invoke them only if the user doesn't have javascript. Perhaps impossible, but I thought I'd ask, in case someone knows of a way to do that.
    4)Yes, I guess I could just put a separate direct text link to the movie file for downloading. I just wondered if there was a way to put that in the javascript, so that if someone right-clicks on the QT icon, they can download rather than view it, rather than use a separate link. That may also be impossible, but I thought I'd ask, and see if there is a way to do that.
    Your question to me regarding dimensions--I forget which was the QT movie, that I took that sample from. Yes, I have some in unusual sizes. They are not normal movies. I don't have time to explain more now though, and that has no bearing on the questions I asked.
    Once again, thanks for replying, and if you or someone else could help further with my questions, I would appreciate it very much.
    Have a nice day!

  • Embedding QuickTime Video om Web Page

    Hello,
    Thank you in advance for any help someone can provide. I am trying to embed a quick time movie on a web page. I have received the reference file from the company that will host the quick time movie and I successfully can embed the movie. How do I embed the movie with a frame of the movie with the controller to display when a visitor initially visits my page? Do I need to have the reference file recreated?

    http://www.oreillynet.com/pub/a/javascript/excerpt/learnwebdesign_chap22/index.html
    scoot down the page and you will see
    Use the autoplay parameter and attribute to set whether the
    movie starts
    playing automatically when the page loads (true) or if the
    user needs to hit
    the Play button to start the movie (false).
    regards
    kenny
    "Chris Jumonville" <[email protected]> wrote in
    message
    news:elqq1l$27f$[email protected]..
    > Simple question. I have a quicktime .dv video on my site
    and I want to
    > embed it on a page so when you click on the page it
    automatically brings
    > up the movie on the page but doesn't start it
    automatically, you have to
    > start it manually. How do I do this?
    >
    > --
    > Best Regards,
    >
    > Chris Jumonville
    >

  • Need code to embed Flash Movie in Web Page

    1 - We want to embed a Flash Movie into a regular web page
    and need the HTML code snippit sample on how to do it...
    2 - What is the difference in HTML coding for a Flash Movie
    and a regular SWF Flash File?
    3 - Is the Flash Movie file format designed just for video
    while swf is designed more for animation?
    Thanks for any help.

    Thanks for the help. Yes I uploaded all of the exported versions:
    MVI_1235-Desktop.m4v
    MVI_1235-iPhone-cell.3gp
    MVI_1235-iPhone.m4v
    MVI_1235-poster.jpg
    MVI_1235.mov
    All are residing in the folder with the reference movie and were not renamed. I noticed in the instructions there is a comment of including the <style> and <script> tags in the <head> of the page so that it validates as XHTML. I copied and pasted the <script> code, but I am not using any <style> tags. I wondered if that is contributing to the issue. Thanks again for the help.

  • Export embedded quicktime movies to html slideshow?

    I'm trying to make an html slideshow of a keynote presentation that has embedded quicktime movies. The movies just get saved as single png images. Is there a workaround or something obvious I am overlooking?
    Since iPhoto lets you do this, I would assume it isn't impossible, but perhaps it just isn't implemented within keynote (which seems kind of backward).

    Thanks. I was afraid that was the case, but a former apple VP suggested I ask since there are many apparently undocumented features (and iPhoto/iWeb can do this, so the api exists).
    The relevent html code is actually a java script that loads an array of exported png files. Each element of the array is defined like this:
    images[2] = "mrnahh.html_files/mrnahh.003.png";
    so I tried just telling it to load a mov file instead, but it wasn't so easily fooled. It might be easier for me to make a slideshow of the png files and mov files within iWeb (which really makes messy html and javascripts that are next to impossible to hack.)
    Anyway, many thanks. I'll leave this open for now in case someone else knows a simple secret.
    The HTML export feature is great, and produces nice clean simple interfaces and web code. I hate to abandon it.

  • Embedding quicktime movie???

    hi, i'm struggling to load a .swf with an embedded quicktime
    mov into my flash page using the preloader + loader components in
    flash mx 2004!
    i've followed the help: "To create an application with the
    ProgressBar component in event mode:..."
    the loader works but the sound in the embedded mov starts
    playing before the visuals - pls help!!!
    this is the code on the 1st frame of the original SWF to load
    the SWF with the embedded .mov:
    stop();
    loader.autoLoad = false;
    loader.contentPath = "graphics/sponsjan_clip.swf";
    pBar.source = loader;
    // loading does not start until load() is invoked
    loader.load();
    and here's the final page:
    http://www.thebornkreative.com/promo/SponsJanBlokBroekies.htm

    Thanks Daniel. Your suggestion was correct.
    In order to access the quicktime movie file I had to use the following path:
    /<portal-name>/portlets/<portlet-name>/<movie-name>.mov
    "Daniel Selman" <[email protected]> wrote:
    Khosro,
    Khosro,
    My guess would be that the path to "sample.mov" is different depending on
    whether you access
    the page directly or the portlet is included within the overall Portal
    page.
    As an experiment, try changing the URL to an absolute path, or copying the
    file into the same location as your other portal resources.
    Sincerely,
    Daniel Selman
    "Khosro Beechey" <[email protected]> wrote in message
    news:3cc96a76$[email protected]..
    "Khosro Beechey" <[email protected]> wrote:
    Has anyone successfully embedded some form of movie file within a
    portlet.
    I have
    tried embedding a quicktime movie file (in a jsp and html file) and when
    I view my
    portlet within the portal page I get the following error message "Thedata
    that the
    plugin requested, did not download successfully.". However, when Idirectly
    access
    the content file (.html or .jsp) the quicktime movie file displayscorrectly.
    Any
    suggestions?
    Here is a the code snippet that I used:
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"WIDTH="160"HEIGHT="144"
    CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
    <PARAM name="SRC" VALUE="sample.mov">
    <PARAM name="AUTOPLAY" VALUE="true">
    <PARAM name="CONTROLLER" VALUE="false">
    <EMBED SRC="sample.mov" WIDTH="320" HEIGHT="240" AUTOPLAY="true"CONTROLLER="false"
    PLUGINSPAGE="http://www.apple.com/quicktime/download/">
    </EMBED>
    </OBJECT>The string, WIDTH="160"HEIGHT="144" should read WIDTH="320"HEIGHT="240".... typo
    error.

  • HTML code for embedding QT file

    Hey QuickTimeKirk, I liked yr last answer and liked yr new proposal even better. So can you tell me the HTML code for embedding a looping .mov file on a website?

    Here's a link that describes the html tags for QuickTime files:
    http://docs.info.apple.com/article.html?artnum=61011
    Here's a link that shows a more modern method required by IE on a PC:
    http://developer.apple.com/internet/ieembedprep.html
    The tag for looping is simply loop="true" (embed tag) and param name="loop" value="true" for the object tag.

  • 2 Desired Improvements for the Flash Player 'about' web page

    Hi all ...   I'm finally writing to request two improvements to this web page:
         http://www.adobe.com/software/flash/about/
    As a geek, I have long been annoyed that this web page does not keep its Flash object and does not show the Flash Player plugin version number in the same format as used in the detailed list of latest Flash Player versions for various web browers and operating systems.
    This web page is mainly a tool for techs.  It can be improved greatly with these two changes (which I'm requesting on May 29, 2013):
    1)  Near the top of the page, KEEP the flash animation object --
    do NOT replace it with an advertisement in a few seconds.
         Keeping the Flash object there allows a knowledgeable user
    to right-click on the object to see the Flash plugin version, which
    is a way to confirm that the web page's displayed Flash Player
    version is correct.
        Currently, the Flash object is replaced within a few seconds
    with an advertisement for some other Adobe product.  This is
    MOST ANNOYING.  As a tech, I'm specifically going to this web
    page to (a) see that the Flash Player plugin I just installed is
    working and/or (b) see what exact version it is.
        Again:   Keep the Flash object in place -- drop the code that
    replaces that object with an advertisement.
    2)  The displayed Flash Player version is formatted with commas,
    as in   
                    You have version
                    11,7,700,202 installed
    while ALL of the versions in the table below are formatted
    (properly) with dots, as in 
                    Player version
                    11.7.700.202
        Make it easier for us mere humans to compare these version
    numbers ... rework the HTML code to replace the commas with
    dots.  (It's not rocket science.)
    Thank you. 
        -- A geek and former software build & release
            engineer in Tacoma WA

    Thanks, Chris.    That other web page does serve my needs better.  I've created a web link to it on my flash drive where I keep the latest Flash plugins for IE and non-IE web browsers.
    I still feel that the "About" web page needs the two changes I suggested. 
    Thanks also for pointing out that the box displaying the version of the installed Flash plugin is actually a Flash .SWF object .... since it is currently static (meaning, it has no animation whatsoever), I had no clue it was a Flash object.
    So, I add a 3rd request:   have that version-display SWF object redone, to have a simple animation added and to have its code to display version revised to use periods (dots) in the version numbers.  If that object currently is intended and used in some other Adobe (European?) we page, create a new object for the English "About" page.   Or to re-use code, use the version-display object from the page at
          http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html
    on the "About" page as well.
    Again, as a techie pressed for time, I want a web page where I see the current version of the installed plugins and the versions of the latest releases, in the same formatting,
    along with an animated flash object to prove that the Flash plugin in that web browser is working. 
    I do not accept that the mostly-technical Flash "About" page needs to have marketing materials (an ad).   People go to the About page specifically to see the Flash version info and to prove that Flash is working.
    Thanks again ....  - Ray

  • Best Program for editing quicktime movies

    What is the best program for editing quicktime movies.
    For example, I have several quicktime movies in the 4:3 aspect ratio, but the video is ment to be 16:9 so there is black on the top and bottom. I want to be able to crop out the black and make the video file a true 16:9 wide screen video becuase my laptop has a widescreen 16:10 aspect ratio lcd. And when playing back these videos, you end up with a couple inches of black on the top and bottom, and right and left, so a lot of screen space get's waisted. The only programs I have found so far that can make a 16:9 quicktime video have not supported the H.264 format, and only stetch the video to 16:9 rather then croping it, so the black remains on the top and bottom and the aspect ratio is off and every one looks short and fat becuase it's not in its native aspect ratio correctly.
    Does anyone have any advice on what program I should use?
    Also, does anyone have any recomendatiosn for how to convert wmv files to quicktime / itunes videos? I have found one program that does so, but it comes out very blocky and the audio is out of sync with the video by a good five seconds.
    Thanks

    MPEG Streamclip (free) can crop and Save As so you wouldn't need to add any new compression to the existing files.
    The make a Windows version now (it used to be Mac only).
    No tips on converting WMP files but you'll find dozens of solutions in the iPod Discussions pages.

  • Keynote does not support exporting with embedded Quicktime Movies

    I hope this helps a few of you out before you run into this problem.
    Keynote does not support export to Quicktime with any slides that contain a quicktime movie.
    Created a 27 page slide show with transitions, music, narrations and 6 Quicktime movies (Actually LiveType Text scrolls)
    When I attempted to export it never finishes the export cutting it short after about 20 pages.
    And the pages with the movies, don't start playing.
    It exports fine as a quicktime movie without the movies inserted though.
    Spoke with Apple Support and they confirmed that quicktime placed files within Keynote playback is only supported from the native Keynote Application.
    I read somewhere on this board that it was an issue with Quicktime version 7.5, not so as I tried the same test on a mac with Quicktime 7.42 and it had the same issue.
    So, beware.
    LJS

    Maybe I didn't understand well what you said but it is possible to export a Keynote file with embedded Quicktime movies to a quicktime movie. Actually, I'm doing it and I works. BUT, the issue I get is that I can't get my embedded videos to loop. Grrr...

  • Code  for showing a messagi in web dynpro for java

    Hi All,
    What is the Code  for showing a messagi in web dynpro for java.
    Thanks and Regards,
    Saurabh

    Hello Saurabh,
    SuccessMessage - WdComponentAPI.getMessageManager().reportSuccess("Success");
    ErrorMessage - WdComponentAPI.getMessageManager().reportException("Error",false);
    WarningMessage - WdComponentAPI.getMessageManager().reportWarning("Warning");
    Regards
    Nizamudeen SM

  • How to stop the "Thank you for upgrading..." web page from showing on startup?

    Every time I start Firefox the "Thank you for upgrading..."web page shows up. I have my settings set to open with a blank page, but this page always shows up ever since I upgraded.

    This link should help - https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox

  • Safari 5.1.10 for snow leopard not opening web page

    The last few days Safari will not open the following web page "//canucks.nhl.com" it gets stuck on loading 27/102 items.  A forced quit is rehired.
    I have reset Safari, repaired disk permissions, and still no result.  I have 3 Safari extensions,  1Password, AdBlock, Print Plus.  I disabled them and no change.
    Google Chrome opens this page with no problems.
    Fire fox opens the page but reports an unresponsive script, clicking on stop script opens the page.  The Script: http://www.nhl.com/nhl/js/_jslib-plugins.min.js?v=6.37:6
    Thanks in advance
    Regards

    Today, for no apparant reason the web pages from the site now load with Safai.
    Go Figure?

  • Jquery or code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010

    Jquery or dynamic code for Image loading on Sp Gridview Pager(Next ,Prev) click functionality on sharepoint 2010.
    i have a dynamic SP gridview contains Previous and next
    buttons for paging.
    page doesn't contain Update panel.
    grdXRPSUsers.PagerSettings.Mode = PagerButtons.NextPrevious;
    grdXRPSUsers.PagerSettings.PreviousPageText = "< Previous Page";
    grdXRPSUsers.PagerSettings.NextPageText = "Next Page >";
    grdXRPSUsers.PagerSettings.FirstPageText = "First Page";
    grdXRPSUsers.PagerSettings.LastPageText = "Last Page";
    When i click on Next or Previous page in the gridview it will take more time and showing progress bar in th below.
    As per my client request, i need to change the
    progress bar to Loading image (Wheel at middle of the grid at fething time).
    How its possible either through jquery or Programming(code behind).
    Please help

    Hi,
    According to your description, my understanding is that  you want to add loading image when click the paging button to load the data.
    I suggest you can use Jquery BlockUI Plugin to show a block image when loding data in paging click event.
    Here is a similiar thread for your reference:
    How to display a loading image until a gridview is fully loaded
    More information:
    Jquery BlockUI Plugin
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Tag Editor for MPG4 Quicktime Movies?

    Anyone have any suggestions for a 3rd party piece of software or freeware that can edit meta tags (especially custom art)for mpg4 quicktimes movies? I find iTunes is too frustrating and inconsistent when editing album art. Thanks.

    MetaX does most of the video files i use...the useful codecs anyway...although, the value of metadata tags in something like xvid is debatable...what program displays them once you have them?
    MetaX is OSX...i'm not sure about windows or linux, but it might...most of the really good programs run on all platforms

Maybe you are looking for

  • Using a mini-DVI to video adapter

    I have connected the video adapter and everything works fine. I use the internet for my video source and I was just wondering, is it possible to have video playing fullscreen on the tv and have another window open on my desktop that I can work with w

  • Having issues with secondary toolbars in Photoshop CC 2014.

    Some of my tool bars have stopped working.  For example, in the past when I've used the quick selection tool a secondary tool bar will display, underneath the top primary toolbar, giving me options to Add, Subtract, etc. from the selection.  Now I do

  • Im trying to download an app for my ipod touch, but when the sync is over i look at my screen and it says the app has fail to install

    i have a 4th gen ipod touch, im teying to download an app to it, so i click sync. the sync finishes and when i look at my ipod its still installing, then it says the app has failed to download. any help?

  • Mehrere variablendateien

    Hallo! Ich würde gerne in Abhängigkeit von Usereingaben unterschiedliche Variablendateien kumulativ aktivieren; also eine Defaultvariablendatei, eine mit Variablen aus dem ersten Anwenderdialog, eine mit Variablen aus dem zweiten Anwenderdialog etc.

  • XML with Hebrew 2

    I am sure that the problem is hebrew, because I I tried to read english text sucsesfuly. The exeption is: org.xml.sax.SAXParseException: Character conversion error: "Unconvertible UTF-8 character beginning with 0xf9"