Results 1 to 6 of 6

Thread: Flash Video loading status bar

  1. #1
    Join Date
    Feb 2008
    Posts
    63
    Thanks
    2
    Thanked 8 Times in 8 Posts

    Default Flash Video loading status bar

    Hi Everyone,

    I'm hoping someone out there can help me. I want to put a message, "Thank you for waiting while the video loads" plus a status bar on my page while my flash video loads. I have looked around and it seems I need to know how to get "into" flash to change settings and I don't know how. Can anyone help me?

    Thank you!
    Sandy K

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    How are you adding the flash to your page? To have an accurate status bar, yes, you'll need to edit the video player in Flash add some actionscript.

    Otherwise, you can use some javascript as a workaround and display a "now loading" message.

  3. #3
    Join Date
    Feb 2008
    Posts
    63
    Thanks
    2
    Thanked 8 Times in 8 Posts

    Default

    Hi Medyman

    I am adding it in DW add, video flash. It inserted:
    Code:
    function MM_CheckFlashVersion(reqVerStr,msg){
      with(navigator){
        var isIE  = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
        var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
        if (!isIE || !isWin){  
          var flashVer = -1;
          if (plugins && plugins.length > 0){
            var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
            desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
            if (desc == "") flashVer = -1;
            else{
              var descArr = desc.split(" ");
              var tempArrMajor = descArr[2].split(".");
              var verMajor = tempArrMajor[0];
              var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
              var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
              flashVer =  parseFloat(verMajor + "." + verMinor);
            }
          }
          // WebTV has Flash Player 4 or lower -- too low for video
          else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
    
          var verArr = reqVerStr.split(",");
          var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
      
          if (flashVer < reqVer){
            if (confirm(msg))
              window.location = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
          }
        }
      } 
    }
    </script>
    I think I will have to just go with the loading comment and not the status bar. Could you help me with this? I will be reading the link you sent and I hope I understand it.
    The video is on the home page:

    www.sandysdesignline.com/genesis/index.html - that one loads fine.
    It's when we click to view on www.sandysdesignline.com/genesis/video.html that it takes a long time.. 3 to 4 minutes to load. On my site I have a comment but the comment stays after the load and I don't want that.

    Thank you for any help you can give.

    Sandy k

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    3 to 4 minutes? Are you on dialup? That loaded right away for me and I'm not on a particularly high-speed connection currently.

    In any case, do you have access to the .flv, or preferrably, the .fla that these were created from?

    If so, I might be able to help. Otherwise, I'll let one of the javascript gurus around here comment on how to show the loading message (you probably won't be able to get an accurate status bar, as I've said).

  5. #5
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Yes, it also works fine for me.
    Jeremy | jfein.net

  6. #6
    Join Date
    Feb 2008
    Posts
    63
    Thanks
    2
    Thanked 8 Times in 8 Posts

    Default

    Okay.. it might be our ISP. We have Cox and that is what it was taking on our MacBooks. Thank you for checking everything out for me. I really do appreciate your time.

    No, I don't have the files you asked for, Medyman. Thank you so much for offering your help. I have to say, it's nice to know that if I'm in a bind, and I have done all I can, this board is here.

    Thanks again for your time!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •