Now I have 3 flash movies.I want to create a dropdown menu to select what movie i want to play.And the movie will be played below of menu.any solution for it
thanks
37 1647 gits 5,390
Expert Mod 4TB
hi ...
please show the code you already have ...
kind regards
Here is the Code:
[HTML]<style type="text/css">
<!--
.style20 {font-size: 9px}
-->
</style>
<!--
<SCRIPT LANGUAGE="JavaScript"
TYPE="text/javascript">
funtion change(){
video = new Array()
for(i=0;i<3;i++)
{
video[i] = new Video()
video[i].src = "flash/video" + i + ".swf"
}
window.onerror = null;}
//-->
</SCRIPT>
<table border="0" cellspacing="2">
<tr><br /><br /><br /><br /><br /><br /></tr> <tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td><img src="img/latest news.jpg" alt="ee" width="41" height="34" /></td>
<td style="padding-left:15px;"><p align="left"><span class="style20"><strong>Lastest News</strong> |
Download here</span> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td width="41"><a href="index.php?l1=161&l2=171"><img src="img/careers.jpg" alt="ee" width="41" height="34" border="0" /></a></td>
<td style="padding-left:15px;"><a href="index.php?l1=161&l2=171" class="tablink"><b>Career</b> | Apply now!</a></td>
</tr>
</table></td>
</tr>
<tr>
<td ><table width="100%" border="0" cellpadding="3">
<tr>
<td>Video</td>
<td><select name="select" id=numpage onChange="change()">
<option value="0">VFM - ad</option>
<option value="1">VFM - Introduction</option>
<option value="2">VFM - VietNam: The potential market</option>
</select>
</td>
</tr>
</table>
<param name="quality" value="high" />
<embed src="flash/video0.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="270" height="250"></embed>
</tr>
</table>[/HTML]
Thanks
gits 5,390
Expert Mod 4TB
hi ...
first give your embed-node an id:
second chnage the change-function to this: - funtion change(node) {
-
var video = document.getElementById('video_container');
-
video[i].src = "flash/video" + node.value + ".swf";
-
}
-
last - call the function like this:
[HTML]<select name="select" id="numpage" onchange="change(this);">[/HTML]
kind regards
am i correct with this?Thanks yo yr help -
<style type="text/css">
-
<!--
-
.style20 {font-size: 9px}
-
-->
-
</style>
-
<!--
-
<SCRIPT LANGUAGE="JavaScript"
-
TYPE="text/javascript">
-
funtion change(node) {
-
var video = document.getElementById('video_container');
-
video[i].src = "flash/video" + node.value + ".swf";
-
}
-
-
//-->
-
</SCRIPT>
-
<table border="0" cellspacing="2">
-
<tr><br /><br /><br /><br /><br /><br /></tr> <tr>
-
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
-
<tr>
-
<td><img src="img/latest news.jpg" alt="ee" width="41" height="34" /></td>
-
<td style="padding-left:15px;"><p align="left"><span class="style20"><strong>Lastest News</strong> |
-
Download here</span> </p></td>
-
</tr>
-
</table></td>
-
</tr>
-
<tr>
-
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
-
<tr>
-
<td width="41"><a href="index.php?l1=161&l2=171"><img src="img/careers.jpg" alt="ee" width="41" height="34" border="0" /></a></td>
-
<td style="padding-left:15px;"><a href="index.php?l1=161&l2=171" class="tablink"><b>Career</b> | Apply now!</a></td>
-
</tr>
-
</table></td>
-
</tr>
-
<tr>
-
<td ><table width="100%" border="0" cellpadding="3">
-
<tr>
-
<td>Video</td>
-
<td><select name="select" id=numpage onChange="change(this)">
-
-
<option value="0">VFM - ad</option>
-
<option value="1">VFM - Introduction</option>
-
<option value="2">VFM - VietNam: The potential market</option>
-
</select>
-
</td>
-
</tr>
-
</table>
-
<param name="quality" value="high" />
-
<embed id="video_container"
-
src="flash/video0.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="270" height="250"></embed>
-
</tr>
-
</table>
-
Like the code above ,it dosen't work
another way to do it.thanks for supporting.
gits 5,390
Expert Mod 4TB
do you get any errors? btw. please set the id-name of your select-node in quotes like all attributes of a node has to be in quotes ... (onclick, id, readonly etc.)
kind regards
gits 5,390
Expert Mod 4TB
ahhhrg :) ... sorry ... my bad i gave you the following line: - video[i].src = "flash/video" + node.value + ".swf";
-
just use: - video.src = "flash/video" + node.value + ".swf";
kind regards
Still not working.Even I changed to this :
[html]
<style type="text/css">
.style20 {font-size: 9px}
</style>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
video.src = "flash/video" + node.value + ".swf";
}
</SCRIPT>
<table border="0" cellspacing="2">
<tr><br /><br /><br /><br /><br /><br /></tr> <tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td><img src="img/latest news.jpg" alt="ee" width="41" height="34" /></td>
<td style="padding-left:15px;"><p align="left"><span class="style20"><strong>Lastest News</strong> |
Download here</span> </p></td>
</tr>
</table></td>
</tr>
<tr>
<td style="padding-left:2px;"><table width="239" border="0" cellpadding="0" cellspacing="0" bgcolor="#d4d8d9">
<tr>
<td width="41"><a href="index.php?l1=161&l2=171"><img src="img/careers.jpg" alt="ee" width="41" height="34" border="0" /></a></td>
<td style="padding-left:15px;"><a href="index.php?l1=161&l2=171" class="tablink"><b>Career</b> | Apply now!</a></td>
</tr>
</table></td>
</tr>
<tr>
<td ><table width="100%" border="0" cellpadding="3">
<tr>
<td>Video</td>
<td><select name="select" id="numpage" onchange="change(this);">
<option id="0" value="0">VFM - ad</option>
<option id="1" value="1">VFM - Introduction</option>
<option id="2" value="2">VFM - VietNam: The potential market</option>
</select>
</td>
</tr>
</table>
<param name="quality" value="high" />
<embed id="video_container" src="flash/video0.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="270" height="250"></embed>
</tr>
</table>
[/html]
pls help!!!
have any solutions for this?
thanks alot
gits 5,390
Expert Mod 4TB
hi ...
may be we have to rewrite the entire embed-node ... so try this: -
function change(node) {
-
var video = document.getElementById('video_container');
-
var n_video = video.cloneNode(true);
-
-
n_video.src = "flash/video" + node.value + ".swf";
-
-
video.parentNode.replaceChild(n_video, video);
-
}
-
kind regards
Finnaly , it's worked.Thanks alot gits.Pls help me next time
best regards.
gits 5,390
Expert Mod 4TB
no problem :) ... thats the purpose of this forum :D ... so post back to the forum anytime you have more questions ...
kind regards
gits 5,390
Expert Mod 4TB
i don't have an IE (mac-user ;) ) ... so what is not working ... do you get an error?
kind regards
oh sorry!
only first clip can run,second and third clips are not disappeared
and select box very small , i can only see "V"character(in FF i can see the full text inside the select box).
thanks to yr answer.
gits 5,390
Expert Mod 4TB
hmmm ... the selectbox issue comes from you selects css style - just remove it to see the effect ...
the other issue with the replacing of the nodes ... seems to be an IE bug ( look here ) and may be you should replace the embed with the object tag - which is the w3c standards-compliant way to embed flash ... have a look at the link in the answers at quirksmode.org (i mean this one) ...
kind regards
Thanks very much!!!
I've tried to put it in 2 ways like this :
First :
[html]<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="204" HEIGHT="183" id="video_container"><PARAM NAME=movie VALUE="flash/video0.swf"><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="flash/video0.swf" quality=high bgcolor=#FFFFFF WIDTH="204" HEIGHT="183"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT> [/html]
Second :
[html]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"" width="204" height="183" id="video_container"><param name="movie" value="flash/video0.swf" /> <param name="quality" value="high" /> </object>
[/html]
Results : FF and IE : only play video0.swf which we put in the code.
are anything wrong from these code?
Thanks
best regards
gits 5,390
Expert Mod 4TB
... and you have to change the javascript function too ... since the movie-src is now defined in the param-node ...
kind regards
the function will be like this ,am i right?
[html]
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var movie = document.getElementById('video_container');
var n_movie = movie.cloneNode(true);
n_movie.value= "flash/video" + node.value + ".swf";
movie.parentNode.replaceChild(n_movie, movie);
}
</SCRIPT>
[/html]
gits 5,390
Expert Mod 4TB
nope ... that should have worked with the 'embed-version' ... :)
try this: -
function change(node) {
-
var video = document.getElementById('video_container');
-
var o_param = video.getElementsByTagName('param')[0];
-
var n_param = o_param.cloneNode(true);
-
-
n_param.setAttribute('value', 'flash/video' + node.value + '.swf');
-
-
n_param.parentNode.replaceChild(n_param, o_param);
-
}
-
kind regards
i changed the code like this :
[html]
<!--<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
var n_video = video.cloneNode(true);
n_video.src = "flash/video" + node.value + ".swf";
video.parentNode.replaceChild(n_video, video);
}
</SCRIPT>-->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
var o_param = video.getElementsByTagName('param')[0];
var n_param = o_param.cloneNode(true);
n_param.setAttribute('value', 'flash/video' + node.value + '.swf');
o_param.parentNode.replaceChild(n_param, o_param);
}
</SCRIPT>
<table>
<tr>
<td style="padding-left:0px;"><table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="img/latestnews.gif" width="204"></td>
</tr>
</table></td>
</tr>
<tr>
<td style="padding-left:0x;"><table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="img/career-icon.gif" width="204" border="0"></td>
</tr>
</table></td>
</tr>
<table>
<tr>
<td align="right" bgcolor="#cacfd0"><table width="100%" border="0" cellpadding="3">
<tr>
<td>Video</td>
<td><select name="select" style="width:140px;" onchange="change(this);">
<option id="0" value="0">VFM - ad</option>
<option id="1" value="1">VFM - Introduction</option>
<option id="2" value="2">VFM - VietNam: The potential market</option>
</select>
</td>
</tr>
</table>
<!--<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="204" HEIGHT="183" id="video_container"><param name="movie" value="flash/video0.swf" /><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="flash/video0.swf" id="video_container" quality=high bgcolor=#FFFFFF WIDTH="204" HEIGHT="183"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></tr></table>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="204" HEIGHT="183"><param name="quality" value="high" />
<embed src="flash/video0.swf" width="204" height="183" loop="false" align="right" id="video_container" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" AUTOPLAY="FALSE" play="false"></embed> </object> -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"" width="204" height="183" id="video_container"><param name="movie" value="flash/video0.swf" /> <param name="quality" value="high" /> </object>
</tr></table>
[/html]
but the video's disappeared in FF , and in IE ,video0 appear but can not change to the others
sorry gits!
pls try to help me to solve this problem.
thanks
best regards
gits 5,390
Expert Mod 4TB
ok ... the following solution seems to work ... but i don't like it very much ... due to some browser-specs that have to be used here:
the js-function should be: -
function change(node) {
-
var video = document.getElementById('video_container');
-
var o_param = video.getElementsByTagName('param')[0];
-
var src = 'flash/video' + node.value + '.swf';
-
o_param.value = src;
-
-
var embd = video.getElementsByTagName('embed')[0];
-
embd.setAttribute('src', src);
-
-
var n_video = video.cloneNode(true);
-
-
video.parentNode.replaceChild(n_video, video);
-
}
-
and the flash should be embeded the following way:
[HTML]<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="270" height="183" id="video_container">
<param name="movie" value="flash/video0.swf" />
<embed src="flash/video0.swf" width="270" height="183"
quality="high" name="movie"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"/>
</object>[/HTML]
thanks gits!!
but still did not work in IE...hixhix....
gits 5,390
Expert Mod 4TB
it has to ... i just tested in IE6 and firefox 2.0.0.13 ... what IE makes the problem?
kind regards
thanks gits!
the problem is can not change video in IE, i only can play video0.swf when i click another one , its still video0.swf. firefox is ok .i m using IE 7
what is the problem ?
best regards
gits 5,390
Expert Mod 4TB
please post the code you currently use ...
kind regards
[HTML]<!--<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
var n_video = video.cloneNode(true);
n_video.src = "flash/video" + node.value + ".swf";
video.parentNode.replaceChild(n_video, video);
}
</SCRIPT>-->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
var o_param = video.getElementsByTagName('param')[0];
var src = 'flash/video' + node.value + '.swf';
o_param.value = src;
var embd = video.getElementsByTagName('embed')[0];
embd.setAttribute('src', src);
var n_video = video.cloneNode(true);
video.parentNode.replaceChild(n_video, video);
}
</SCRIPT>
<table>
<tr>
<td style="padding-left:0px;"><table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="img/latestnews.gif" width="204"></td>
</tr>
</table></td>
</tr>
<tr>
<td style="padding-left:0x;"><table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="apply_form.php"><img src="img/career-icon.gif" width="204" border=""></a></td>
</tr>
</table></td>
</tr>
<table>
<tr width="204px" bgcolor="#c0c8c7">
<td align="right"><table width="100%" border="0" cellpadding="3">
<tr>
<td>Video
<select name="select" style="width:140px;" onchange="change(this);">
<option id="0" value="0">VFM - ad</option>
<option id="1" value="1">VFM - Introduction</option>
<option id="2" value="2">VFM - VietNam: The potential market</option>
</select> </td>
</tr>
</table>
<!--<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="204" HEIGHT="200" id="video_container"><param name="movie" value="flash/video0.swf" /><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="flash/video0.swf" id="video_container" quality=high bgcolor=#FFFFFF WIDTH="204" HEIGHT="183"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></tr></table>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="170" HEIGHT="210"><param name="quality" value="high" />
<embed src="flash/video0.swf" width="170" height="210" loop="false" align="right" id="video_container" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" AUTOPLAY="FALSE" play="false"></embed> </object> -->
<!--<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"" width="204" height="183" id="video_container"><param name="movie" value="flash/video0.swf" /> <param name="quality" value="high" /> </object> -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="204" height="200" id="video_container">
<param name="movie" value="flash/video0.swf" />
<embed src="flash/video0.swf" width="204" height="235"
quality="high" name="movie"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"/>
</object>
</tr></table>[/HTML]
Hi gits
have you seen any problem with my code?
Thanks gits
gits 5,390
Expert Mod 4TB
Hi gits
have you seen any problem with my code?
Thanks gits
unfortunatly not yet ... have to test it at a windows machine with an IE on it :) ...
may be today i'll find time for it ...
kind regards
gits 5,390
Expert Mod 4TB
it seems to be a problem with retrieving the emebed-node in IE from the object so we just avoid it in that case with the following code: - if (typeof window.event == 'undefined') {
-
var embd = video.getElementsByTagName('embed')[0];
-
embd.setAttribute('src', src);
-
}
-
just replace the lines in the code and it should work now :)
kind regards
Thanks gits
pls check my code :
[HTML]<!--<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
var n_video = video.cloneNode(true);
n_video.src = "flash/video" + node.value + ".swf";
video.parentNode.replaceChild(n_video, video);
}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
var o_param = video.getElementsByTagName('param')[0];
var src = 'flash/video' + node.value + '.swf';
o_param.value = src;
var embd = video.getElementsByTagName('embed')[0];
embd.setAttribute('src', src);
var n_video = video.cloneNode(true);
video.parentNode.replaceChild(n_video, video);
}
</SCRIPT>-->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function change(node) {
var video = document.getElementById('video_container');
var o_param = video.getElementsByTagName('param')[0];
var src = 'flash/video' + node.value + '.swf';
o_param.value = src;
if (typeof window.event == 'undefined') {
var embd = video.getElementsByTagName('embed')[0];
embd.setAttribute('src', src);
}
var n_video = video.cloneNode(true);
video.parentNode.replaceChild(n_video, video);
}
</SCRIPT>
<table>
<tr>
<td style="padding-left:0px;"><table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="index.php?l1=163&l2=166"><img src="img/latestnews.gif" width="204" border="0"></a></td>
</tr>
<tr><td colspan="0" bgcolor="#c0c8c7" align="left" > <?php include("small.php"); ?></td></tr>
</table></td>
</tr>
<tr>
<td style="padding-left:0x;"><table width="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="apply_form.php"><img src="img/career-icon.gif" width="204" border=""></a></td>
</tr>
</table></td>
</tr>
<table>
<tr width="204px" bgcolor="#c0c8c7">
<td align="right"><table width="100%" border="0" cellpadding="3">
<tr>
<td>Video
<select name="select" style="width:140px;" onchange="change(this);">
<option id="0" value="0">VFM - ad</option>
<option id="1" value="1">VFM - Introduction</option>
<option id="2" value="2">VFM - VietNam: The potential market</option>
</select> </td>
</tr>
</table>
<!--<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="204" HEIGHT="200" id="video_container"><param name="movie" value="flash/video0.swf" /><PARAM NAME=quality VALUE=high><PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="flash/video0.swf" id="video_container" quality=high bgcolor=#FFFFFF WIDTH="204" HEIGHT="183"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></tr></table>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="170" HEIGHT="210"><param name="quality" value="high" />
<embed src="flash/video0.swf" width="170" height="210" loop="false" align="right" id="video_container" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" AUTOPLAY="FALSE" play="false"></embed> </object> -->
<!--<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"" width="204" height="183" id="video_container"><param name="movie" value="flash/video0.swf" /> <param name="quality" value="high" /> </object> -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="204" height="200" id="video_container">
<param name="movie" value="flash/video0.swf" />
<embed src="flash/video0.swf" width="204" height="235"
quality="high" name="movie"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"/>
</object>
</tr></table> [/HTML]
It still does not work.and get the same problem,not change video,only play video0.swf
gits 5,390
Expert Mod 4TB
i just copied your code and tested in FF and IE6 and it worked as expected ... what IE is not working? do you get any errors?
Thanks gits
But my IE is 7, maybe problem from it?
thanks
gits 5,390
Expert Mod 4TB
that could be ... but if that is the case i first have to find a machine here to test the code with such a IE7 ... since i don't have one already :)
kind regards
thanks gits
that is so good to me to learn.
thanks so much.see you soon in orher topic
best regards
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Mika S. |
last post by:
Hi,
How can I detect if the Flash plugin is installed? Should be working
with the most common browsers and environments.
Thanks,
Mika
|
by: kevin |
last post by:
hi there, can you alter or give advice to the following code . I
Basically want to detect for flash player 6 onClicking a button and if
flash player is not correct write to screene bla bla bla you...
|
by: Matt |
last post by:
Hello,
I am attempting to get a software prototype UI/demo built in Flash to
talk with existing C++ (so I can exchange data and commands between
the application-software already developed in the...
|
by: bin_P19 P |
last post by:
the code i have got is as follows and now im stuck
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Shopping...
|
by: sqpost |
last post by:
Hi,
I have a web-application project which requires interactive User
Interfaces. It is more like a web based xml content editor. I have seen
a few javascript based text editors but not much flash...
|
by: spiralof5 |
last post by:
Hi. I must first say I'm not an experienced scripter.
Here's my problem and how far I am so far. I struggled for awhile to get the browser to fill most of it with my flash movie and keep it...
|
by: skeem |
last post by:
I am having issues viewing flash that has been inserted via javascript in Internet Explorer. I had to uninstall my flash about a week ago. I've since reinstalled flash and reinstalled flash player...
|
by: Jake Barnes |
last post by:
I did a search on the newsgroup comp.lang.javascript. I was searching
for "how to play a sound with Javascript". I'm somewhat suprised that
the majority of entries are from the 1990s, and there are...
|
by: critchey1 |
last post by:
Hey everyone, i've been playing around with trying to get some scripts to work with detecting whether flash player is installed on your computer or not. I found a flash detection kit on the adobe...
|
by: =?UTF-8?B?4KSw4KS14KWA4KSC4KSm4KSwIOCkoOCkvuCkleCl |
last post by:
hello friends
i am trying to dynamically create graphs in browsers(as in graph
theory, something like this http://sawamuland.com/flash/graph.html ,
not like excel graphs) but i am unable to...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |