Using QuickTime Player

Discussion in 'Site Programming, Development and Design' started by binaryanimation, Jul 28, 2010.

  1. Having issue with confiquring quicktime player when uploaded to Winhost servers even though it works perfectly while testing but then again
    Im also having problems placing this thread on this forum so fingers crossed i will get this posted and get a response.
     
    Last edited by a moderator: Oct 14, 2015
  2. Ray

    Ray

    You have a URL we can look at?
     
  3. www.binaryanimation.com

    www.binaryanimation.com
    I'm trying to test the use of quicktime player. Im lost, in that it works locally, but not on the server.
    below is the code associated with the page and please note that i have crosschecked my webconfiq and iis.

    Thanks in advance.

    System.Text.StringBuilder video = new System.Text.StringBuilder();



    if (Page.Request.Browser.Browser.ToLower() != "ie")
    {
    video.Append("<center><embed name=" + "movie1" + " type=" + "video/quicktime" + " src=" + "SnippersFight.mov" + " EnableJavaScript=" + "true" + " width=" + "500px" + " height=" + "500px" + " autoplay=" + "true" + " pluginspage=" + "http://www.apple.com/quicktime/download/" + ">" + "</embed>");


    video.Append("<br/><input type=" + "button" + " name=" + "PLAY" + " value=" + "PLAY" + " onclick=" + "document.movie1.Play();" + " style=" + "width:50px;height:50px;background-color:White;border-color:#666666;color:#666666;font-size:large;font-family:Impact" + " />");
    video.Append("&nbsp;&nbsp;");
    video.Append("<input type=" + "button" + " name=" + "STOP" + " value=" + "II" + " onclick=" + "document.movie1.Stop();" + " style=" + "width:50px;height:50px;background-color:#666666;border-color:#666666;color:White;font-size:large;font-family:Impact" + "/>");


    video.Append("<center>");


    }
    else
    {

    video.Append("<center><object id=" + "movie1" + " classid=" + "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" + " width=" + "500px"
    + " height=" + "500px" + " codebase=" + "http://www.apple.com/qtactivex/qtplugin.cab" + " type=" + "video/quicktime" + ">");
    video.Append("<param name=" + "SRC" + " VALUE=" + "SnippersFight.mov" + " />");
    video.Append("<param name=" + "BGCOLOR" + " VALUE=" + "white" + " />");
    video.Append("<param name=" + "PLAY" + " VALUE=" + "true" + " />");
    video.Append("<param name=" + "CONTROLLER" + " VALUE=" + "false" + " />");

    video.Append("</object>");


    video.Append("<br/><input type=" + "button" + " name=" + "PLAY" + " value=" + "PLAY" + " onclick=" + "document.movie1.Play();" + " style=" + "width:50px;height:50px;background-color:White;border-color:#666666;color:#666666;font-size:large;font-family:Impact" + " />");
    video.Append("&nbsp;&nbsp;");
    video.Append("<input type=" + "button" + " name=" + "STOP" + " value=" + "II" + " onclick=" + "document.movie1.Stop();" + " style=" + "width:50px;height:50px;background-color:#666666;border-color:#666666;color:White;font-size:large;font-family:Impact" + "/>");


    video.Append("<center>");

    }






    Type t = this.GetType();
    if (!ClientScript.IsStartupScriptRegistered(t, "PopupScript"))
    {

    ClientScript.RegisterStartupScript(t, "PopupScript", video.ToString());
    }
     
  4. Ray

    Ray

    It sounds like a security setting on the browser because quick time requires a plugin to run. Make sure the URL you are using to pull up your web application is set in the trusted domain name fields.
     
  5. Re:QuickTime

    Tried and failed.
    URL seems ok. N it still works in development.

    The site requires that I achieve this since QuickTime is almost universal to all browsers include mobile devices.

    I'm interested in fiquring out how sites like YouTube achieve this.

    Any assistance would be helpful.

    Thanks
     
  6. Ray

    Ray

Share This Page