HTML help

August 6th, 2016

Im trying to get flv videos to play but they wont work, ive tried streaming, progressive downloads but none of them work. Can someone help?
http://www.triston-cg.890m.com/flameanim.html
Thats the link
<!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>
<link rel="stylesheet" type="text/css" href="css.css"/>
<base target="_parent"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Flame Animation</title>
<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.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
      }
    }
  } }
</script>
<body bgcolor="#000000" onload="MM_CheckFlashVersion('6,0,79,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');"
>
<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.macromedia.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 Macromedia Flash Player. Do you want to download it now?');">
<div id="wrapper">
<p></p>
</div> <table width="1006" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="45" height="53"></td>
    <td width="85"></td>
    <td width="98"></td>
    <td width="489"></td>
    <td width="233"></td>
  </tr>
  <tr>
    <td height="41" colspan="2" valign="bottom"> <div id="triston"><p align="center" title="Triston Sorensen">.triston sorensen </p></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="18"></td>
    <td rowspan="2" valign="bottom"><div id="link"><a href="http://www.triston-cg.890m.com/index.html" title="Home">.home<a></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height="2"></td>
    <td></td>
    <td rowspan="6" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" width="662" height="531" id="FLVPlayer">
      <param name="movie" value="FLVPlayer_Streaming.swf" />
      <param name="salign" value="lt" />
      <param name="quality" value="high" />
      <param name="scale" value="noscale" />
      <param name="FlashVars" value="&MM_ComponentVersion=1&serverName=www.triston-cg.890m.com&skinName=Halo_Skin_3&appName=animations/flameanim.flv&streamName=flameanim&isLive=true&bufferTime=0&autoPlay=true&autoRewind=false" />
      <embed src="FLVPlayer_Streaming.swf" flashvars="&MM_ComponentVersion=1&serverName=www.triston-cg.890m.com&skinName=Halo_Skin_3&appName=animations/flameanim.flv&streamName=flameanim&isLive=true&bufferTime=0&autoPlay=true&autoRewind=false" quality="high" scale="noscale" width="662" height="531" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />    </object></td>
    <td></td>
  </tr>
      <tr>
    <td height="19"></td>
    <td valign="bottom"><div id="link">      <a href="http://www.triston-cg.890m.com/pictures.html" title="Pictures">.pictures</a></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="22"></td>
    <td valign="bottom"><div id="link">      <a href="http://www.triston-cg.890m.com/animations.html" title="Animations">.animations<a></td>
    <td></td>
    <td></td>
  </tr>
    <tr>
    <td height="19"></td>
    <td valign="bottom"><div id="link">      <a href="http://www.triston-cg.890m.com/tutorials.html" title="Tutorials">.tutorials</a></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>   <tr>
    <td height="19"></td>
    <td valign="bottom"><div id="link">      <a href="http://www.triston-cg.890m.com/contact.html" title="Contact Us">.contact us </a></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td height="124"></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height="98"></td>
    <td></td>
    <td></td>
    <td>&nbsp;</td>
    <td></td>
  </tr>
</table>
</body>
</html>

Thats the code for the page.

Answer #1
Well, first of all, your Head section is a complete mess. You have copied the code that checks the Flash version twice. This is what it should look like:
<head>
<link rel="stylesheet" type="text/css" href="css.css"/>
<base target="_parent"/>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Flame Animation</title>
<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.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash";
      }
    }
  }
}
</script>
</head> 

Also, in your “Embed” tag. You did not point to any valid source. Meaning that the page “FLVPlayer_Streaming.swf” does not exist. These are two errors I found. Did scan it throughly though.
Good luck mate ^_^
Answer #2
thanks im not to good with the code its making because it gets set automaticall in dreamweaver thanks for that
Answer #3
Does it work now?Please share with us
Answer #4
nope couldnt get it so ive canceled out the videos on my site and uploaded everything else just until i can get it working

 

| Sitemap |