Автор: a69
Дата сообщения: 27.04.2008 00:55
Это из Дрима - код.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>Инструктор</title>
<style type="text/css">
<!--
.ver11 { FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
}
.стиль6 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style2 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; }
.style4 {color: #990000}
.style6 {FONT-SIZE: 14px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none; }
.style9 {color: #0000CC}
.стиль9 { font-size: 12px;
font-weight: bold;
}
.стиль8 { font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 14px;
}
.style10 {color: #0000FF}
.style11 {color: #000000}
.style13 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; }
.style14 {FONT-SIZE: 14px; COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none; font-weight: bold; }
.style21 {font-size: 12; font-family: Verdana, Arial, Helvetica, sans-serif; }
.style22 {font-size: 12; font-family: Verdana, Arial, Helvetica, sans-serif; color: #990000; }
.style23 {
color: #FF0000;
font-weight: bold;
}
.style28 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 14px; font-style: italic; }
.style29 {color: #990000; font-family: Verdana, Arial, Helvetica, sans-serif; }
.style31 {
font-size: 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #990000;
font-style: italic;
font-weight: bold;
}
.style32 {
font-size: 12px;
font-style: italic;
font-weight: bold;
}
.style34 {color: #000000; font-weight: bold; }
-->
</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.macromedia.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('9,0,28,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">
<p>Картинки вставленные с помощью Дрима</p>
<table width="900" border="0" align="center">
<tr>
<td width="890"><table width="100%" border="1" cellpadding="2" cellspacing="0" bordercolor="#990000">
<tr>
<td width="50%"><div align="center"><a href="img/video1.flv"></a>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','432','height','346','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=img/video1&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="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="432" height="346" 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=img/video1&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=img/video1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="432" height="346" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>
</noscript>
</div></td>
<td><div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','432','height','346','id','FLVPlayer1','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=img/video1&autoPlay=false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer1','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="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="432" height="346" id="FLVPlayer1">
<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=img/video1&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=img/video1&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="432" height="346" name="FLVPlayer1" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>
</noscript></div></td>
</tr>
</table>
<p>Картинка вставленная с помощью описания где то в дебрях инета</p>
<p>
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="/img/flvplayer.swf" width="432" height="346" type="application/x-shockwave-flash" flashvars="/img/video1.flv" bgcolor="#FFFFFF" /> </p>
<p>Картинка вставленная как Флеха</p>
<p>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','432','height','346','src','mediaplayer','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/img/video1.flv' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="432" height="346">
<param name="movie" value="/img/video1.flv">
<param name="quality" value="high">
<embed src="mediaplayer.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="432" height="346"></embed>
</object></noscript>
</p>
</td>
</tr>
</table>
<p>Картинка вставленная с помощью описания РуБорды</p>
<p>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','width','432','height','346','src','/img/video1.flv','quality','high','pluginspage','http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie','/img/video1.flv' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="432" height="346">
<param name=movie value="/img/video1.flv">
<param name=quality value=high>
<embed src="/img/video1.flv" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="432" height="346"></embed></object>
</noscript>
</p>
<p>Упс!</p>
<p> </p>
</body>
</html>
Там разными способами я пытался вставить FLV
файлы flv - лежит в папке img, их 2 video1.flv и video2.flv
video1.flv - я брал уже готовый, дали с телеканала Звезда, video2.flv - делал сам.
video1.flv - просматривается на домашнем компе, (по F12 в Дриме)
video2.flv - не вообще никак работает.
mediaplayer.swf лежит и корне и в папке img
линк с экспериментами t89015103360.ru/index++.html
Когда выкладываю на сервак, то ничего не работает вообще!