troubleshooting Question

Javascript Video Player not working - help please! :)

Avatar of Gael Miorcec
Gael MiorcecFlag for Australia asked on
JavaScriptMultiMedia ApplicationsMultimedia Programming
3 Comments1 Solution442 ViewsLast Modified:
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>&nbsp;</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_de_la_fenetre','location=no,toolbar=no,directories=no,menubar=no,resizable=yes,scrollbars=yes,status=no,width=(10000,height=425,screenY=100,screenX=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=no,toolbar=no,directories=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,width='+x+',height='+y+'screenY='+top+',screenX='+left);
}
// --></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/sheetZoom/1044_1.jpg" alt="" width="120" height="123" /> </a></p>
<p><span style="color: #0000ff;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&nbsp;&nbsp;&nbsp;&nbsp;CLIQUEZ SUR L'IMAGE POUR DECOUVRIR LA VIDEO</strong></span></p>
</body>

Many thanks!

Cheers,

G.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros