•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Web Developers' Lounge section within the Web Development category of DaniWeb, a massive community of 391,697 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,148 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Web Developers' Lounge advertiser:
Views: 3304 | Replies: 11 | Solved
![]() |
•
•
Join Date: Sep 2006
Posts: 11
Reputation:
Rep Power: 2
Solved Threads: 0
...here is the code.
I have video in dreamweaver
BUT I lost the control panel (play, pause) somewhere between flash and dreamweaver. The swf for the skin is in the file with the video but I don't see it in dreamweaver's code.
Help!
I am 9 hours time difference from you, so I'm not timely on my responses.
also url: http://www.imm.edu/trailers_fldr/collegevideo.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>college recruit video</title>
<meta name="GENERATOR" content="Freeway Pro 4.0.4">
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body { margin-left:0px; margin-right:0px; margin-top:0px; background-color:#76797c; background-image:url(Resources/bg_gray.gif) }
p:first-child { margin-top:0px }
table { empty-cells:hide }
._sp { font-size:1px; visibility:hidden }
._lp { margin-bottom:0px }
.pixel1 { font-size:1px }
.style14 { text-align:right }
.style15 {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #33FFFF;
text-decoration: none;
}
a:hover {
color: #FFFF00;
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style16 {
color: #FFFFFF;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/javascript"><!--
var fwIsNetscape = navigator.appName == 'Netscape';
fwLoad = new Object;
function FWLoad(image)
{
if (!document.images)
return null;
if (!fwLoad[image])
{
fwLoad[image]=new Image;
fwLoad[image].src=image;
}
return fwLoad[image].src;
}
fwRestore = new Object;
function FWRestore(msg,chain)
{
if (document.images)
for (var i in fwRestore)
{
var r = fwRestore[i];
if (r && (!chain || r.chain==chain) && r.msg==msg)
{
r.src = FWLoad(r.old);
fwRestore[i]=null;
}
}
}
function FWLSwap(name,msg,newImg,layer,chain,trigger)
{
var r = fwRestore[name];
if (document.images && (!r || r.msg < msg))
{
var uselayers = fwIsNetscape && document.layers && layer != '';
var hld;
if (uselayers)
hld = document.layers[layer].document;
else
hld = (document.all) ? document.all : document;
var im = hld[name];
if (!im.old) im.old = im.src;
im.msg = msg;
im.chain = chain;
im.trigger = trigger;
if (newImg) im.src = FWLoad(newImg);
fwRestore[name] = im;
}
}
function FWCallHit(func,targNum,msg)
{
if(func)
for (var i in func)
func[i](targNum,msg);
}
function FW_Hit(frameset,chain,targNum,msg)
{
if (frameset && frameset.length)
for (var i=0 ; i <frameset.length ; i++)
{
FW_Hit(frameset[i].frames,chain,targNum,msg);
FWCallHit(top["FT_"+chain],targNum,msg);
FWCallHit(frameset[i].window["FT_"+chain],targNum,msg);
}
else
FWCallHit(window["FT_"+chain],targNum,msg);
}
fwHit = new Object;
function FWSlave(frameset,chain,targNum,msg)
{
if (msg==1) fwHit[chain]=targNum;
FW_Hit(frameset,chain,targNum,1);
}
function FWSRestore(frameset,chain)
{
var hit=fwHit[chain];
if (hit)
FW_Hit(frameset,chain,hit,0);
fwHit[chain]=null;
}
function FWPreload()
{
FWLoad("Resources/qtp_reg.gif");
FWLoad("Resources/qtp_over.gif");
FWLoad("Resources/all_trailers_reg.gif");
FWLoad("Resources/all_trailers_over.gif");
FWLoad("Resources/close_reg2.gif");
FWLoad("Resources/close_over2.gif");
}
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/...ShockwaveFlash";
}
}
}
}
//-->
</script>
<script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onload="FWPreload();MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">
<div id="PageDiv" style="position:relative; margin:auto; width:470px; height:100%">
<table border=0 cellspacing=0 cellpadding=0 width=471>
<tr valign=top>
<td height=406>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item4" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item5" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item6" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=256 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item3" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top bgcolor="#000000"> </td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item8" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=75 alt="item7" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item9" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item10" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
</table>
</td>
<td height=406></td>
</tr>
<tr class="_sp">
<td width=470 height=1><img src="../Resources/_clear.gif" border=0 width=470 height=1 alt=""></td>
<td width=1 height=1><img src="../Resources/_clear.gif" border=0 width=1 height=1 alt=""></td>
</tr>
</table>
<div id="item2" style="position:absolute; left:57px; top:340.598px; width:355px; height:57px; z-index:1">
<table border=1 cellpadding=0 cellspacing=5 bordercolor="#FFFFFF">
<tr bordercolor="#FFFFFF">
<td width=170 height=21 valign=top class="style14"><h5 align="center" class="_lp"> <span class="style15"><a href="../index.html">IMM Home Page</a></span> </h5></td>
<td width=170 valign=top><h5 align="center" class="_lp"><a href="#" class="style16" onclick="window.top.close();" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img3',1,'Resources/close_over2.gif','','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">Close Window </a> </h5></td>
</tr>
</table>
</div>
<div id="icon02gray" style="position:absolute; left:193px; top:26px; width:83px; height:37px; z-index:2">
<img src="Resources/icon02_gray.gif" border=0 width=83 height=37 alt="icon02gray"></div>
<div id="paroledeviewm" style="position:absolute; left:75px; top:74.989px; width:320px; height:1px; z-index:3">
</td>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','325','height','257','src','collegevideo/uncharted2','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','collegevideo/uncharted2' ); //end AC code
</script>
<noscript>
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="257">
<param name="movie" value="collegevideo/uncharted2.swf">
<param name="quality" value="high">
<embed src="collegevideo/uncharted2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="257"></embed>
</object>
</noscript>
</td>
</noscript>
</div>
</div>
</body>
</html>
I have video in dreamweaver
BUT I lost the control panel (play, pause) somewhere between flash and dreamweaver. The swf for the skin is in the file with the video but I don't see it in dreamweaver's code.
Help!
I am 9 hours time difference from you, so I'm not timely on my responses.
also url: http://www.imm.edu/trailers_fldr/collegevideo.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>college recruit video</title>
<meta name="GENERATOR" content="Freeway Pro 4.0.4">
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body { margin-left:0px; margin-right:0px; margin-top:0px; background-color:#76797c; background-image:url(Resources/bg_gray.gif) }
p:first-child { margin-top:0px }
table { empty-cells:hide }
._sp { font-size:1px; visibility:hidden }
._lp { margin-bottom:0px }
.pixel1 { font-size:1px }
.style14 { text-align:right }
.style15 {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #33FFFF;
text-decoration: none;
}
a:hover {
color: #FFFF00;
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style16 {
color: #FFFFFF;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/javascript"><!--
var fwIsNetscape = navigator.appName == 'Netscape';
fwLoad = new Object;
function FWLoad(image)
{
if (!document.images)
return null;
if (!fwLoad[image])
{
fwLoad[image]=new Image;
fwLoad[image].src=image;
}
return fwLoad[image].src;
}
fwRestore = new Object;
function FWRestore(msg,chain)
{
if (document.images)
for (var i in fwRestore)
{
var r = fwRestore[i];
if (r && (!chain || r.chain==chain) && r.msg==msg)
{
r.src = FWLoad(r.old);
fwRestore[i]=null;
}
}
}
function FWLSwap(name,msg,newImg,layer,chain,trigger)
{
var r = fwRestore[name];
if (document.images && (!r || r.msg < msg))
{
var uselayers = fwIsNetscape && document.layers && layer != '';
var hld;
if (uselayers)
hld = document.layers[layer].document;
else
hld = (document.all) ? document.all : document;
var im = hld[name];
if (!im.old) im.old = im.src;
im.msg = msg;
im.chain = chain;
im.trigger = trigger;
if (newImg) im.src = FWLoad(newImg);
fwRestore[name] = im;
}
}
function FWCallHit(func,targNum,msg)
{
if(func)
for (var i in func)
func[i](targNum,msg);
}
function FW_Hit(frameset,chain,targNum,msg)
{
if (frameset && frameset.length)
for (var i=0 ; i <frameset.length ; i++)
{
FW_Hit(frameset[i].frames,chain,targNum,msg);
FWCallHit(top["FT_"+chain],targNum,msg);
FWCallHit(frameset[i].window["FT_"+chain],targNum,msg);
}
else
FWCallHit(window["FT_"+chain],targNum,msg);
}
fwHit = new Object;
function FWSlave(frameset,chain,targNum,msg)
{
if (msg==1) fwHit[chain]=targNum;
FW_Hit(frameset,chain,targNum,1);
}
function FWSRestore(frameset,chain)
{
var hit=fwHit[chain];
if (hit)
FW_Hit(frameset,chain,hit,0);
fwHit[chain]=null;
}
function FWPreload()
{
FWLoad("Resources/qtp_reg.gif");
FWLoad("Resources/qtp_over.gif");
FWLoad("Resources/all_trailers_reg.gif");
FWLoad("Resources/all_trailers_over.gif");
FWLoad("Resources/close_reg2.gif");
FWLoad("Resources/close_over2.gif");
}
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/...ShockwaveFlash";
}
}
}
}
//-->
</script>
<script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onload="FWPreload();MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">
<div id="PageDiv" style="position:relative; margin:auto; width:470px; height:100%">
<table border=0 cellspacing=0 cellpadding=0 width=471>
<tr valign=top>
<td height=406>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item4" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item5" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item6" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=256 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item3" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top bgcolor="#000000"> </td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item8" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=75 alt="item7" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item9" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item10" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
</table>
</td>
<td height=406></td>
</tr>
<tr class="_sp">
<td width=470 height=1><img src="../Resources/_clear.gif" border=0 width=470 height=1 alt=""></td>
<td width=1 height=1><img src="../Resources/_clear.gif" border=0 width=1 height=1 alt=""></td>
</tr>
</table>
<div id="item2" style="position:absolute; left:57px; top:340.598px; width:355px; height:57px; z-index:1">
<table border=1 cellpadding=0 cellspacing=5 bordercolor="#FFFFFF">
<tr bordercolor="#FFFFFF">
<td width=170 height=21 valign=top class="style14"><h5 align="center" class="_lp"> <span class="style15"><a href="../index.html">IMM Home Page</a></span> </h5></td>
<td width=170 valign=top><h5 align="center" class="_lp"><a href="#" class="style16" onclick="window.top.close();" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img3',1,'Resources/close_over2.gif','','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">Close Window </a> </h5></td>
</tr>
</table>
</div>
<div id="icon02gray" style="position:absolute; left:193px; top:26px; width:83px; height:37px; z-index:2">
<img src="Resources/icon02_gray.gif" border=0 width=83 height=37 alt="icon02gray"></div>
<div id="paroledeviewm" style="position:absolute; left:75px; top:74.989px; width:320px; height:1px; z-index:3">
</td>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','325','height','257','src','collegevideo/uncharted2','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','collegevideo/uncharted2' ); //end AC code
</script>
<noscript>
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="257"><param name="movie" value="collegevideo/uncharted2.swf">
<param name="quality" value="high">
<embed src="collegevideo/uncharted2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="257"></embed>
</object>
</noscript>
</td>
</noscript>
</div>
</div>
</body>
</html>
•
•
Join Date: Sep 2006
Posts: 11
Reputation:
Rep Power: 2
Solved Threads: 0
Not sure if this is pertinent -
Dreamweaver asked to update code for IE 6. It added all the code for flash viewing a second time. In the above code, I deleted it and the video seems to work. Still with no controls, but it works.
Someone here had the idea to add a Low Res option. I did the same thing (Code Below) and no video, including deleting the extra IE 6 code. I'm losing my mind. How can you follow the same steps and get different results?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>college recruit video - low res</title>
<meta name="GENERATOR" content="Freeway Pro 4.0.4">
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body { margin-left:0px; margin-right:0px; margin-top:0px; background-color:#76797c; background-image:url(Resources/bg_gray.gif) }
p:first-child { margin-top:0px }
table { empty-cells:hide }
._sp { font-size:1px; visibility:hidden }
._lp { margin-bottom:0px }
.pixel1 { font-size:1px }
.style14 { text-align:right }
.style15 {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #33FFFF;
text-decoration: none;
}
a:hover {
color: #FFFF00;
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style16 {
color: #FFFFFF;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/javascript"><!--
var fwIsNetscape = navigator.appName == 'Netscape';
fwLoad = new Object;
function FWLoad(image)
{
if (!document.images)
return null;
if (!fwLoad[image])
{
fwLoad[image]=new Image;
fwLoad[image].src=image;
}
return fwLoad[image].src;
}
fwRestore = new Object;
function FWRestore(msg,chain)
{
if (document.images)
for (var i in fwRestore)
{
var r = fwRestore[i];
if (r && (!chain || r.chain==chain) && r.msg==msg)
{
r.src = FWLoad(r.old);
fwRestore[i]=null;
}
}
}
function FWLSwap(name,msg,newImg,layer,chain,trigger)
{
var r = fwRestore[name];
if (document.images && (!r || r.msg < msg))
{
var uselayers = fwIsNetscape && document.layers && layer != '';
var hld;
if (uselayers)
hld = document.layers[layer].document;
else
hld = (document.all) ? document.all : document;
var im = hld[name];
if (!im.old) im.old = im.src;
im.msg = msg;
im.chain = chain;
im.trigger = trigger;
if (newImg) im.src = FWLoad(newImg);
fwRestore[name] = im;
}
}
function FWCallHit(func,targNum,msg)
{
if(func)
for (var i in func)
func[i](targNum,msg);
}
function FW_Hit(frameset,chain,targNum,msg)
{
if (frameset && frameset.length)
for (var i=0 ; i <frameset.length ; i++)
{
FW_Hit(frameset[i].frames,chain,targNum,msg);
FWCallHit(top["FT_"+chain],targNum,msg);
FWCallHit(frameset[i].window["FT_"+chain],targNum,msg);
}
else
FWCallHit(window["FT_"+chain],targNum,msg);
}
fwHit = new Object;
function FWSlave(frameset,chain,targNum,msg)
{
if (msg==1) fwHit[chain]=targNum;
FW_Hit(frameset,chain,targNum,1);
}
function FWSRestore(frameset,chain)
{
var hit=fwHit[chain];
if (hit)
FW_Hit(frameset,chain,hit,0);
fwHit[chain]=null;
}
function FWPreload()
{
FWLoad("Resources/qtp_reg.gif");
FWLoad("Resources/qtp_over.gif");
FWLoad("Resources/all_trailers_reg.gif");
FWLoad("Resources/all_trailers_over.gif");
FWLoad("Resources/close_reg2.gif");
FWLoad("Resources/close_over2.gif");
}
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/...ShockwaveFlash";
}
}
}
}
//-->
</script>
<script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onload="FWPreload();MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">
<div id="PageDiv" style="position:relative; margin:auto; width:470px; height:100%">
<table border=0 cellspacing=0 cellpadding=0 width=471>
<tr valign=top>
<td height=406>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item4" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item5" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item6" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=256 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item3" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top bgcolor="#000000">
</td><noscript><object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="263">
<param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="263"></embed>
</object></noscript></td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item8" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=75 alt="item7" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item9" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item10" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
</table>
</td>
<td height=406></td>
</tr>
<tr class="_sp">
<td width=470 height=1><img src="../Resources/_clear.gif" border=0 width=470 height=1 alt=""></td>
<td width=1 height=1><img src="../Resources/_clear.gif" border=0 width=1 height=1 alt=""></td>
</tr>
</table>
<div id="item2" style="position:absolute; left:57px; top:340.598px; width:355px; height:57px; z-index:1">
<table border=1 cellpadding=0 cellspacing=5 bordercolor="#FFFFFF">
<tr bordercolor="#FFFFFF">
<td width=170 height=21 valign=top class="style14"><h5 align="center" class="_lp"> <span class="style15"><a href="../index.html">IMM Home Page</a></span> </h5></td>
<td width=170 valign=top><h5 align="center" class="_lp"><a href="#" class="style16" onclick="window.top.close();" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img3',1,'Resources/close_over2.gif','','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">Close Window </a> </h5></td>
</tr>
</table>
</div>
<div id="icon02gray" style="position:absolute; left:193px; top:26px; width:83px; height:37px; z-index:2">
<img src="Resources/icon02_gray.gif" border=0 width=83 height=37 alt="icon02gray"></div>
<div style="position:absolute; left:75px; top:74.989px; width:1px; height:1px; z-index:3">
</td></td>
</noscript>
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="260">
<param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="260"></embed> </td>
</noscript>
</div>
</div>
</body>
</html>
Dreamweaver asked to update code for IE 6. It added all the code for flash viewing a second time. In the above code, I deleted it and the video seems to work. Still with no controls, but it works.
Someone here had the idea to add a Low Res option. I did the same thing (Code Below) and no video, including deleting the extra IE 6 code. I'm losing my mind. How can you follow the same steps and get different results?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>college recruit video - low res</title>
<meta name="GENERATOR" content="Freeway Pro 4.0.4">
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body { margin-left:0px; margin-right:0px; margin-top:0px; background-color:#76797c; background-image:url(Resources/bg_gray.gif) }
p:first-child { margin-top:0px }
table { empty-cells:hide }
._sp { font-size:1px; visibility:hidden }
._lp { margin-bottom:0px }
.pixel1 { font-size:1px }
.style14 { text-align:right }
.style15 {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #33FFFF;
text-decoration: none;
}
a:hover {
color: #FFFF00;
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style16 {
color: #FFFFFF;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/javascript"><!--
var fwIsNetscape = navigator.appName == 'Netscape';
fwLoad = new Object;
function FWLoad(image)
{
if (!document.images)
return null;
if (!fwLoad[image])
{
fwLoad[image]=new Image;
fwLoad[image].src=image;
}
return fwLoad[image].src;
}
fwRestore = new Object;
function FWRestore(msg,chain)
{
if (document.images)
for (var i in fwRestore)
{
var r = fwRestore[i];
if (r && (!chain || r.chain==chain) && r.msg==msg)
{
r.src = FWLoad(r.old);
fwRestore[i]=null;
}
}
}
function FWLSwap(name,msg,newImg,layer,chain,trigger)
{
var r = fwRestore[name];
if (document.images && (!r || r.msg < msg))
{
var uselayers = fwIsNetscape && document.layers && layer != '';
var hld;
if (uselayers)
hld = document.layers[layer].document;
else
hld = (document.all) ? document.all : document;
var im = hld[name];
if (!im.old) im.old = im.src;
im.msg = msg;
im.chain = chain;
im.trigger = trigger;
if (newImg) im.src = FWLoad(newImg);
fwRestore[name] = im;
}
}
function FWCallHit(func,targNum,msg)
{
if(func)
for (var i in func)
func[i](targNum,msg);
}
function FW_Hit(frameset,chain,targNum,msg)
{
if (frameset && frameset.length)
for (var i=0 ; i <frameset.length ; i++)
{
FW_Hit(frameset[i].frames,chain,targNum,msg);
FWCallHit(top["FT_"+chain],targNum,msg);
FWCallHit(frameset[i].window["FT_"+chain],targNum,msg);
}
else
FWCallHit(window["FT_"+chain],targNum,msg);
}
fwHit = new Object;
function FWSlave(frameset,chain,targNum,msg)
{
if (msg==1) fwHit[chain]=targNum;
FW_Hit(frameset,chain,targNum,1);
}
function FWSRestore(frameset,chain)
{
var hit=fwHit[chain];
if (hit)
FW_Hit(frameset,chain,hit,0);
fwHit[chain]=null;
}
function FWPreload()
{
FWLoad("Resources/qtp_reg.gif");
FWLoad("Resources/qtp_over.gif");
FWLoad("Resources/all_trailers_reg.gif");
FWLoad("Resources/all_trailers_over.gif");
FWLoad("Resources/close_reg2.gif");
FWLoad("Resources/close_over2.gif");
}
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/...ShockwaveFlash";
}
}
}
}
//-->
</script>
<script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onload="FWPreload();MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">
<div id="PageDiv" style="position:relative; margin:auto; width:470px; height:100%">
<table border=0 cellspacing=0 cellpadding=0 width=471>
<tr valign=top>
<td height=406>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item4" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item5" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item6" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=256 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item3" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top bgcolor="#000000">
</td><noscript><object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="263"><param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="263"></embed>
</object></noscript></td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item8" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
<tr>
<td width=75 height=75 valign=top><p class="_lp"><img src="Resources/item3a1.gif" border=0 width=75 height=75 alt="item7" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=320 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item9" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
<td width=75 valign=top><p class="_lp"><img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item10" style="vertical-align:bottom; margin:0px"><span class="pixel1"> </span></p>
</td>
</tr>
</table>
</td>
<td height=406></td>
</tr>
<tr class="_sp">
<td width=470 height=1><img src="../Resources/_clear.gif" border=0 width=470 height=1 alt=""></td>
<td width=1 height=1><img src="../Resources/_clear.gif" border=0 width=1 height=1 alt=""></td>
</tr>
</table>
<div id="item2" style="position:absolute; left:57px; top:340.598px; width:355px; height:57px; z-index:1">
<table border=1 cellpadding=0 cellspacing=5 bordercolor="#FFFFFF">
<tr bordercolor="#FFFFFF">
<td width=170 height=21 valign=top class="style14"><h5 align="center" class="_lp"> <span class="style15"><a href="../index.html">IMM Home Page</a></span> </h5></td>
<td width=170 valign=top><h5 align="center" class="_lp"><a href="#" class="style16" onclick="window.top.close();" onmouseover="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img3',1,'Resources/close_over2.gif','','Indigo')" onmouseout="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">Close Window </a> </h5></td>
</tr>
</table>
</div>
<div id="icon02gray" style="position:absolute; left:193px; top:26px; width:83px; height:37px; z-index:2">
<img src="Resources/icon02_gray.gif" border=0 width=83 height=37 alt="icon02gray"></div>
<div style="position:absolute; left:75px; top:74.989px; width:1px; height:1px; z-index:3">
</td></td>
</noscript>
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="260"><param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="260"></embed> </td>
</noscript>
</div>
</div>
</body>
</html>
•
•
Join Date: Sep 2006
Posts: 11
Reputation:
Rep Power: 2
Solved Threads: 0
yes I can view it in Explorer when I bring it in through dreamweaver on the html page, when I click on it in DW it also plays fine as a SWF by itself.
The deleted "updated Explorer" code seems to have solved the video problem in one window but not another...
working (without the controller? how'd I lose that between Flash and DW?). http://www.imm.edu/trailers_fldr/collegevideo.html
not working: http://www.imm.edu/trailers_fldr/collegevideoLOW.html
The deleted "updated Explorer" code seems to have solved the video problem in one window but not another...
working (without the controller? how'd I lose that between Flash and DW?). http://www.imm.edu/trailers_fldr/collegevideo.html
not working: http://www.imm.edu/trailers_fldr/collegevideoLOW.html
With those nesting errors, I'm suprised the page showed properly at all.
Here is the corrected code:
[html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>college recruit video - low res</title>
<meta name="GENERATOR" content="Freeway Pro 4.0.4">
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left:0px;
margin-right:0px;
margin-top:0px;
background-color:#76797c;
background-image:url(Resources/bg_gray.gif)
}
p:first-child { margin-top:0px }
table { empty-cells:hide }
._sp { font-size:1px; visibility:hidden }
._lp { margin-bottom:0px }
.pixel1 { font-size:1px }
.style14 { text-align:right }
.style15 {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #33FFFF;
text-decoration: none;
}
a:hover {
color: #FFFF00;
text-decoration: underline;
}
a:active { text-decoration: none; }
.style16 {
color: #FFFFFF;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/javascript">
<!--
var fwIsNetscape = navigator.appName == 'Netscape';
fwLoad = new Object;
function FWLoad(image) {
if (!document.images)
return null;
if (!fwLoad[image]) {
fwLoad[image]=new Image;
fwLoad[image].src=image;
}
return fwLoad[image].src;
}
fwRestore = new Object;
function FWRestore(msg,chain) {
if (document.images)
for (var i in fwRestore) {
var r = fwRestore[i];
if (r && (!chain || r.chain==chain) && r.msg==msg) {
r.src = FWLoad(r.old);
fwRestore[i]=null;
}
}
}
function FWLSwap(name,msg,newImg,layer,chain,trigger) {
var r = fwRestore[name];
if (document.images && (!r || r.msg < msg)) {
var uselayers = fwIsNetscape && document.layers && layer != '';
var hld;
if (uselayers)
hld = document.layers[layer].document;
else
hld = (document.all) ? document.all : document;
var im = hld[name];
if (!im.old) im.old = im.src;
im.msg = msg;
im.chain = chain;
im.trigger = trigger;
if (newImg) im.src = FWLoad(newImg);
fwRestore[name] = im;
}
}
function FWCallHit(func,targNum,msg) {
if(func)
for (var i in func)
func[i](targNum,msg);
}
function FW_Hit(frameset,chain,targNum,msg) {
if (frameset && frameset.length)
for (var i=0 ; i <frameset.length ; i++) {
FW_Hit(frameset[i].frames,chain,targNum,msg);
FWCallHit(top["FT_"+chain],targNum,msg);
FWCallHit(frameset[i].window["FT_"+chain],targNum,msg);
}
else
FWCallHit(window["FT_"+chain],targNum,msg);
}
fwHit = new Object;
function FWSlave(frameset,chain,targNum,msg) {
if (msg==1) fwHit[chain]=targNum;
FW_Hit(frameset,chain,targNum,1);
}
function FWSRestore(frameset,chain) {
var hit=fwHit[chain];
if (hit)
FW_Hit(frameset,chain,hit,0);
fwHit[chain]=null;
}
function FWPreload() {
FWLoad("Resources/qtp_reg.gif");
FWLoad("Resources/qtp_over.gif");
FWLoad("Resources/all_trailers_reg.gif");
FWLoad("Resources/all_trailers_over.gif");
FWLoad("Resources/close_reg2.gif");
FWLoad("Resources/close_over2.gif");
}
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/...ShockwaveFlash";
}
}
}
}
//-->
</script>
<script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onLoad="FWPreload();MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">
<div id="PageDiv" style="position:relative; margin:auto; width:470px; height:100%">
<table border=0 cellspacing=0 cellpadding=0 width=471>
<tr valign=top>
<td height=406>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=75 height=75 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item4" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=320 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item5" style="vertical-align:bottom; margin:0px">
<span class="pixel1"></span>
</p>
</td>
<td width=75 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item6" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
</tr>
<tr>
<td width=75 height=256 valign=top>
<p class="_lp">
<img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item3" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=320 valign=top bgcolor="#000000">
<noscript>
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="263">
<param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="263"></embed>
</object>
</noscript>
</td>
<td width=75 valign=top>
<p class="_lp">
<img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item8" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
</tr>
<tr>
<td width=75 height=75 valign=top>
<p class="_lp">
<img src="Resources/item3a1.gif" border=0 width=75 height=75 alt="item7" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=320 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item9" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=75 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item10" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
</tr>
</table>
</td>
<td height=406></td>
</tr>
<tr class="_sp">
<td width=470 height=1><img src="../Resources/_clear.gif" border=0 width=470 height=1 alt=""></td>
<td width=1 height=1><img src="../Resources/_clear.gif" border=0 width=1 height=1 alt=""></td>
</tr>
</table>
<div id="item2" style="position:absolute; left:57px; top:340.598px; width:355px; height:57px; z-index:1">
<table border=1 cellpadding=0 cellspacing=5 bordercolor="#FFFFFF">
<tr bordercolor="#FFFFFF">
<td width=170 height=21 valign=top class="style14">
<h5 align="center" class="_lp">
<span class="style15"><a href="../index.html">IMM Home Page</a></span>
</h5>
</td>
<td width=170 valign=top>
<h5 align="center" class="_lp">
<a href="#" class="style16" onClick="window.top.close();" onMouseOver="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img3',1,'Resources/close_over2.gif','','Indigo')" onMouseOut="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">Close Window </a>
</h5>
</td>
</tr>
</table>
</div>
<div id="icon02gray" style="position:absolute; left:193px; top:26px; width:83px; height:37px; z-index:2"> <img src="Resources/icon02_gray.gif" border=0 width=83 height=37 alt="icon02gray"></div>
<div style="position:absolute; left:75px; top:74.989px; width:1px; height:1px; z-index:3">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="260">
<param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="260"></embed>
</object>
</div>
</div>
</body>
</html>
[/html]
Here is the corrected code:
[html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>college recruit video - low res</title>
<meta name="GENERATOR" content="Freeway Pro 4.0.4">
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left:0px;
margin-right:0px;
margin-top:0px;
background-color:#76797c;
background-image:url(Resources/bg_gray.gif)
}
p:first-child { margin-top:0px }
table { empty-cells:hide }
._sp { font-size:1px; visibility:hidden }
._lp { margin-bottom:0px }
.pixel1 { font-size:1px }
.style14 { text-align:right }
.style15 {
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #33FFFF;
text-decoration: none;
}
a:hover {
color: #FFFF00;
text-decoration: underline;
}
a:active { text-decoration: none; }
.style16 {
color: #FFFFFF;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
<script type="text/javascript">
<!--
var fwIsNetscape = navigator.appName == 'Netscape';
fwLoad = new Object;
function FWLoad(image) {
if (!document.images)
return null;
if (!fwLoad[image]) {
fwLoad[image]=new Image;
fwLoad[image].src=image;
}
return fwLoad[image].src;
}
fwRestore = new Object;
function FWRestore(msg,chain) {
if (document.images)
for (var i in fwRestore) {
var r = fwRestore[i];
if (r && (!chain || r.chain==chain) && r.msg==msg) {
r.src = FWLoad(r.old);
fwRestore[i]=null;
}
}
}
function FWLSwap(name,msg,newImg,layer,chain,trigger) {
var r = fwRestore[name];
if (document.images && (!r || r.msg < msg)) {
var uselayers = fwIsNetscape && document.layers && layer != '';
var hld;
if (uselayers)
hld = document.layers[layer].document;
else
hld = (document.all) ? document.all : document;
var im = hld[name];
if (!im.old) im.old = im.src;
im.msg = msg;
im.chain = chain;
im.trigger = trigger;
if (newImg) im.src = FWLoad(newImg);
fwRestore[name] = im;
}
}
function FWCallHit(func,targNum,msg) {
if(func)
for (var i in func)
func[i](targNum,msg);
}
function FW_Hit(frameset,chain,targNum,msg) {
if (frameset && frameset.length)
for (var i=0 ; i <frameset.length ; i++) {
FW_Hit(frameset[i].frames,chain,targNum,msg);
FWCallHit(top["FT_"+chain],targNum,msg);
FWCallHit(frameset[i].window["FT_"+chain],targNum,msg);
}
else
FWCallHit(window["FT_"+chain],targNum,msg);
}
fwHit = new Object;
function FWSlave(frameset,chain,targNum,msg) {
if (msg==1) fwHit[chain]=targNum;
FW_Hit(frameset,chain,targNum,1);
}
function FWSRestore(frameset,chain) {
var hit=fwHit[chain];
if (hit)
FW_Hit(frameset,chain,hit,0);
fwHit[chain]=null;
}
function FWPreload() {
FWLoad("Resources/qtp_reg.gif");
FWLoad("Resources/qtp_over.gif");
FWLoad("Resources/all_trailers_reg.gif");
FWLoad("Resources/all_trailers_over.gif");
FWLoad("Resources/close_reg2.gif");
FWLoad("Resources/close_over2.gif");
}
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/...ShockwaveFlash";
}
}
}
}
//-->
</script>
<script src="../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body onLoad="FWPreload();MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Macromedia Flash Player. Do you want to download it now?');">
<div id="PageDiv" style="position:relative; margin:auto; width:470px; height:100%">
<table border=0 cellspacing=0 cellpadding=0 width=471>
<tr valign=top>
<td height=406>
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td width=75 height=75 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item4" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=320 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item5" style="vertical-align:bottom; margin:0px">
<span class="pixel1"></span>
</p>
</td>
<td width=75 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item6" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
</tr>
<tr>
<td width=75 height=256 valign=top>
<p class="_lp">
<img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item3" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=320 valign=top bgcolor="#000000">
<noscript>
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="263">
<param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="263"></embed>
</object>
</noscript>
</td>
<td width=75 valign=top>
<p class="_lp">
<img src="Resources/item3a1.gif" border=0 width=75 height=256 alt="item8" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
</tr>
<tr>
<td width=75 height=75 valign=top>
<p class="_lp">
<img src="Resources/item3a1.gif" border=0 width=75 height=75 alt="item7" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=320 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=320 height=75 alt="item9" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
<td width=75 valign=top>
<p class="_lp">
<img src="Resources/item4a1.gif" border=0 width=75 height=75 alt="item10" style="vertical-align:bottom; margin:0px">
<span class="pixel1"> </span>
</p>
</td>
</tr>
</table>
</td>
<td height=406></td>
</tr>
<tr class="_sp">
<td width=470 height=1><img src="../Resources/_clear.gif" border=0 width=470 height=1 alt=""></td>
<td width=1 height=1><img src="../Resources/_clear.gif" border=0 width=1 height=1 alt=""></td>
</tr>
</table>
<div id="item2" style="position:absolute; left:57px; top:340.598px; width:355px; height:57px; z-index:1">
<table border=1 cellpadding=0 cellspacing=5 bordercolor="#FFFFFF">
<tr bordercolor="#FFFFFF">
<td width=170 height=21 valign=top class="style14">
<h5 align="center" class="_lp">
<span class="style15"><a href="../index.html">IMM Home Page</a></span>
</h5>
</td>
<td width=170 valign=top>
<h5 align="center" class="_lp">
<a href="#" class="style16" onClick="window.top.close();" onMouseOver="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo');FWLSwap('img3',1,'Resources/close_over2.gif','','Indigo')" onMouseOut="FWRestore(1,'Indigo');FWSRestore(top.frames,'Indigo')">Close Window </a>
</h5>
</td>
</tr>
</table>
</div>
<div id="icon02gray" style="position:absolute; left:193px; top:26px; width:83px; height:37px; z-index:2"> <img src="Resources/icon02_gray.gif" border=0 width=83 height=37 alt="icon02gray"></div>
<div style="position:absolute; left:75px; top:74.989px; width:1px; height:1px; z-index:3">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...rsion=7,0,19,0" width="325" height="260">
<param name="movie" value="collegevideo/unchartedLOW.swf">
<param name="quality" value="high">
<embed src="collegevideo/unchartedLOW.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="325" height="260"></embed>
</object>
</div>
</div>
</body>
</html>
[/html]
Last edited by FC Jamison : Sep 7th, 2006 at 10:04 am.
•
•
Join Date: Sep 2006
Posts: 11
Reputation:
Rep Power: 2
Solved Threads: 0
I need to learn about these nesting errors...
I used your code directly and I'm getting a weird page still. It works in dreamweaver and on my machine again - but when I upload it.
Take a look: http://www.imm.edu/trailers_fldr/collegevideoLOW.html
Any ideas?
I used your code directly and I'm getting a weird page still. It works in dreamweaver and on my machine again - but when I upload it.
Take a look: http://www.imm.edu/trailers_fldr/collegevideoLOW.html
Any ideas?
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Web Developers' Lounge Marketplace
•
•
•
•
adult advertising blog browser business community data design development digital domains firefox google internet legal linux marketing math media microsoft mozilla msn multimedia news nintendo online php privacy report research search security sex software sony stocks streaming sun technology tv video video game video games w3c web web development wii xml yahoo youtube
- Previous Thread: Domain Type registrations
- Next Thread: WEB DEV: Proprietary vs. open source


Linear Mode