I been trying to get my JW player working with shadowbox for about 2 days now. I worked on it for over 24 hours the other day -_-.
this is pretty much what i'm trying to do.
http://eu.aiononline.com/en/movies
if you click on an image shadowbox loads up and plays a video.. Can anyone help me set shadowbox + JW up together?
Oh btw, i do believe i have shadowbox installed properly. I can have images load in shadowbox but not JW Player >_<. I just get a black window with shadowbox and nothing happens.
here my Shadowbox setup.
<!-- Shadowbox -->
<script type="text/javascript" src="../js/swfobject.js"></script>
<script type="text/javascript" src="../js/flow.embed.js"></script>
<script type="text/javascript" src="../js/flashembed-1.0.0.min.js"></script>
<script type="text/javascript" src="../js/flowplayer-3.0.5.min.js"></script>
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../shadowbox/build/adapter/shadowbox-base.js"></script>
<script type="text/javascript" src="../shadowbox/build/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.loadSkin('classic', '../shadowbox/src/skin');
Shadowbox.loadLanguage('en', '../shadowbox/build/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], '../shadowbox/build/player');
window.onload = Shadowbox.init;
</script>
<!-- Shadowbox -->
Well first of all:
Shadowbox doesn't seem to work in Internet Explorer. And sadly, most people use that since it's the default internet browser. Instead of opening up that box it just downloads the FLV file. So it's a bit retarded xD.
Second:
Use HighSlide instead. It offers pretty much the same thing. You can display anything in that box (iframe, html page, etc). It may take a little bit of time to understand how to use it but it's worth the time.
Just google "Highslide" ...it'll come up.
Enjoy :)