Gael Miorcec
asked on
Javascript Video Player not working - help please! :)
Hello All,
A customer of mine used to have a working "press on the picture and get the video to work" javascript file...
Not anymore!
Can anyone shed some light on this? Here is the code (removed most of the text for the sake of brevity!)....
==============
<body>
<p> </p>
<p>
<script type="text/javascript"><!- -
// location=yes/no : affiche ou non la barre d'adresse,
// toolbar=yes/no : affiche ou non la barre de boutons,
// directories=yes/no : affiche ou non la barre de boutons 'Nouveautes'...,
// menubar=yes/no : affiche ou non la barre des menus (Fichier, Edition...),
// resizable=yes/no : permet ou non le redimensionnement de la fenetre,
// screenX= : placement de la fenetre en abcisse,
// screenY= : placement de la fenetre en ordonnee,
// scrollbars=yes/no : affiche ou non les ascenceurs,
// status=yes/no : affiche ou non la barre d'etat,
// width : donne la largeur de la fenetre en pixels,
// height : donne la hauteur de la fenetre en pixels.
// fonction utilisable pour plusieurs fichiers dans la meme fenetre 'popup'
function popup(adresse){
window.open(adresse,'nom_d e_la_fenet re','locat ion=no,too lbar=no,di rectories= no,menubar =no,resiza ble=yes,sc rollbars=y es,status= no,width=( 10000,heig ht=425,scr eenY=100,s creenX=450 ');
}
// fonction utilisable pour plusieurs fichiers dans des fenetres differentes, de tailles et positions differentes
function popupmodulo(adresse, name, x, y, top, left){
window.open(adresse,name,' location=n o,toolbar= no,directo ries=no,me nubar=no,r esizable=y es,scrollb ars=yes,st atus=yes,w idth='+x+' ,height='+ y+'screenY ='+top+',s creenX='+l eft);
}
// --></script>
<a onclick="function onclick() { function onclick() { function onclick() { function onclick() { window.open('http://www.youtube.com/watch?v=MoAbJHBu7wk','MediaPlayer','width=575,height=500');return false; } } } }" href="about:blank"><img src="../image/produit/shee tZoom/1044 _1.jpg" alt="" width="120" height="123" /> </a></p>
<p><span style="color: #0000ff;"> &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; <str ong> &nbs p; CL IQUEZ SUR L'IMAGE POUR DECOUVRIR LA VIDEO</strong></span></p>
</body>
Many thanks!
Cheers,
G.
A customer of mine used to have a working "press on the picture and get the video to work" javascript file...
Not anymore!
Can anyone shed some light on this? Here is the code (removed most of the text for the sake of brevity!)....
==============
<body>
<p> </p>
<p>
<script type="text/javascript"><!-
// location=yes/no : affiche ou non la barre d'adresse,
// toolbar=yes/no : affiche ou non la barre de boutons,
// directories=yes/no : affiche ou non la barre de boutons 'Nouveautes'...,
// menubar=yes/no : affiche ou non la barre des menus (Fichier, Edition...),
// resizable=yes/no : permet ou non le redimensionnement de la fenetre,
// screenX= : placement de la fenetre en abcisse,
// screenY= : placement de la fenetre en ordonnee,
// scrollbars=yes/no : affiche ou non les ascenceurs,
// status=yes/no : affiche ou non la barre d'etat,
// width : donne la largeur de la fenetre en pixels,
// height : donne la hauteur de la fenetre en pixels.
// fonction utilisable pour plusieurs fichiers dans la meme fenetre 'popup'
function popup(adresse){
window.open(adresse,'nom_d
}
// fonction utilisable pour plusieurs fichiers dans des fenetres differentes, de tailles et positions differentes
function popupmodulo(adresse, name, x, y, top, left){
window.open(adresse,name,'
}
// --></script>
<a onclick="function onclick() { function onclick() { function onclick() { function onclick() { window.open('http://www.youtube.com/watch?v=MoAbJHBu7wk','MediaPlayer','width=575,height=500');return false; } } } }" href="about:blank"><img src="../image/produit/shee
<p><span style="color: #0000ff;"> &nbs
</body>
Many thanks!
Cheers,
G.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
MMnay thanks again!
ASKER
Many thanks for taking the time to answer my query!
Your answer is spot on! SO simple, yet works like a charm! :)
Many thanks again!
Cheers,
G.