Experiment with this (replace the text-links with your thumbnail-links):
Code:
<!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=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title></title>
</head>
<body style="font-family: verdana; font-size:12px" onload="document.getElementById('smooth_transition').style.display='none'">
<div style="position: relative; margin-left: 8%; text-align: center"></div>
<!-- VIDEO CONTAINER. Just an example of loading / replacing videos without flicker in IE. Document.write the iframes if you want validation for a strict doctype -->
<div id="video" style="position: absolute; left:45px; top: 40px; right: 45px; bottom: 70px; border:1px solid black">
<iframe name="my_music" src="http://www.youtube.com/embed/JkQS1MIplKI?rel=0&autoplay=1&showinfo=0&start=0&autohide=0&modestbranding=1" style="position: absolute; width: 100%; height: 100%; background: black" frameborder="0"></iframe>
<!--[if IE]>
<iframe id="smooth_transition" src="http://www.youtube.com/apiplayer" style="position: absolute; width: 100%; height: 100%; overflow: hidden"></iframe>
<![endif]-->
<!--[if !IE]><!-->
<div id="smooth_transition"></div>
<!--<![endif]-->
<!-- iframe shim -->
<div id="click_to_start">
</div>
</div>
<!-- PLAYLISTS -->
<div id="playlist" style="position: absolute; bottom: 10px; width:596px; height:40px;left:50%; margin-left:-348px; overflow: auto; background: silver; border: 1px solid black">
<div style="margin-left: 10px; margin-top:10px; margin-right: 10px">
<a style="cursor: pointer" onclick="frames['my_music'].location.replace('about:blank'); document.getElementById('click_to_start').style.display='block'; document.getElementById('smooth_transition').style.display='block'">Stop video</a>
<a style="cursor: pointer" onmousedown="document.getElementById('click_to_start').style.display='none'; frames['my_music'].location.replace('http://www.youtube.com/embed/JkQS1MIplKI?rel=0&autoplay=1&showinfo=0&start=0&autohide=0&modestbranding=1');document.getElementById('smooth_transition').style.display='block';" onmouseup="setTimeout('document.getElementById(\'smooth_transition\').style.display=\'none\'',500)">Greetings Intro</a>
<a style="cursor: pointer" onmousedown="document.getElementById('click_to_start').style.display='none'; frames['my_music'].location.replace('http://www.youtube.com/embed/sYLDzO1IY-8?rel=0&autoplay=1&showinfo=0&start=0&autohide=0&modestbranding=1');document.getElementById('smooth_transition').style.display='block';" onmouseup="setTimeout('document.getElementById(\'smooth_transition\').style.display=\'none\'',500)">Competitive Edge</a>
<a style="cursor: pointer" onmousedown="document.getElementById('click_to_start').style.display='none'; frames['my_music'].location.replace('http://www.youtube.com/embed/CE022-_h_YU?rel=0&autoplay=1&showinfo=0&start=0&autohide=0&modestbranding=1');document.getElementById('smooth_transition').style.display='block';" onmouseup="setTimeout('document.getElementById(\'smooth_transition\').style.display=\'none\'',500)">Competitive Edge</a>
<a style="cursor: pointer" onmousedown="document.getElementById('click_to_start').style.display='none'; frames['my_music'].location.replace('http://www.youtube.com/embed/3Z7C-tuvsKY?rel=0&autoplay=1&showinfo=0&start=0&autohide=0&modestbranding=1');document.getElementById('smooth_transition').style.display='block';" onmouseup="setTimeout('document.getElementById(\'smooth_transition\').style.display=\'none\'',500)">Competitive Edge</a>
</div>
</div>
</body>
</html>
Bookmarks