Results 1 to 6 of 6

Thread: Flash Video Player not showing online??

  1. #1
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Flash Video Player not showing online??

    Hi. I'm new here and i guess new to HTML and i'm in desperate need of some help!!

    I'm trying to put my showreel (FLV file) on my webpage, but even though it's there when i preview it (through Dreamweaver CS3 on a Mac), when i upload the page and view it it's not coming up?? I've checked the vid address etc and it's correct, so i have no idea what's wrong and i've got a potential employer wanting to look at it!

    Can anyone spare a moment and have a look for me please? Thanks!

    My URL:
    http://www.liveroom.tv/dtest.html

    The code i'm using:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-image: url(http://www.liveroom.tv/dawnbg4.jpg);
    background-repeat: no-repeat;
    }
    -->
    </style>
    <script type="text/javascript">
    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.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
    }
    }
    }
    }
    </script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript" ></script>
    </head><body onload="MM_CheckFlashVersion('8,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">


    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','450','height','253','hspace','450','vspace','250','align','right','id','FLVPlayer','src','FLVPlayer_Progressive','flashvar s','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
    </script>
    <noscript>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="253" hspace="450" vspace="250" align="right" id="FLVPlayer">
    <param name="movie" value="FLVPlayer_Progressive.swf" />
    <param name="salign" value="lt" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" />
    <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="450" height="253" hspace="450" vspace="250" align="right" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
    </object>
    </noscript>
    </body>

    </html>

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Your player is nested in <noscript> tags?

    Code:
    <noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="253" hspace="450" vspace="250" align="right" id="FLVPlayer">
      <param name="movie" value="FLVPlayer_Progressive.swf" />
      <param name="salign" value="lt" />
      <param name="quality" value="high" />
      <param name="scale" value="noscale" />
      <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" />
      <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="450" height="253" hspace="450" vspace="250" align="right" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
    </object>
    </noscript>
    Remove the <noscript> tags.

    EDIT: Also, is "FLVPlayer_Progressive.swf" the name of your player?
    - Mike

  3. #3
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    in what way mburt?? i've also been told to look into my AC_RunActiveContent.js file, but i don't know what that is??

    maybe i should just stick with a quicktime file...

  4. #4
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Replace:
    Code:
    <noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="253" hspace="450" vspace="250" align="right" id="FLVPlayer">
      <param name="movie" value="FLVPlayer_Progressive.swf" />
      <param name="salign" value="lt" />
      <param name="quality" value="high" />
      <param name="scale" value="noscale" />
      <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" />
      <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="450" height="253" hspace="450" vspace="250" align="right" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
    </object>
    </noscript>
    With:
    Code:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="253" hspace="450" vspace="250" align="right" id="FLVPlayer">
      <param name="movie" value="FLVPlayer_Progressive.swf" />
      <param name="salign" value="lt" />
      <param name="quality" value="high" />
      <param name="scale" value="noscale" />
      <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" />
      <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="450" height="253" hspace="450" vspace="250" align="right" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
    </object>
    Or you could just use a quicktime file.
    - Mike

  5. #5
    Join Date
    Aug 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks, still not quite there one more go then i'm heading back to quicktime...

    this is the code i have now:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    background-image: url(http://www.liveroom.tv/dawnbg5.jpg);
    background-repeat: no-repeat;
    }
    -->
    </style>
    <script type="text/javascript">
    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.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
    }
    }
    }
    }
    </script>
    </head><body onload="MM_CheckFlashVersion('8,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">


    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','450','height','253','hspace','450','vspace','250','align','right','id','FLVPlayer','src','FLVPlayer_Progressive','flashvar s','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive' ); //end AC code
    </script>
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="450" height="253" hspace="450" vspace="250" align="right" id="FLVPlayer">
    <param name="movie" value="FLVPlayer_Progressive.swf" />
    <param name="salign" value="lt" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" />
    <embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=http://www.liveroom.tv/video/showreel1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="450" height="253" hspace="450" vspace="250" align="right" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
    </object>
    </body>

    </html>

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

    Default

    @mburt
    Actually, the noscript tags are proper here. When JS is enabled, the JS embeds the Flash object. If it's not, then the <object>/<embed> tags are needed.

    @bong
    All that validation is just a waste. And I've only seen AC_RunActiveContent cause problems. Adobe is abandoning it in it's next version of Flash. Anyway, use SWFObject 2.0 to embed your Flash. It's much cleaner and less fussy.

    Lastly, please use [code] tags when you post code. It's really difficult to read otherwise.

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
  •