I'm using Shadowbox 3 in conjunction with a flash site I'm designing for a client. The problem that I'm running into is that when I try to open a quicktime video with SB the video will not appear but the SB effect occurs. One might think there's an error in the url path to the video but there isn't, when I substitute the content path to point to an image the image appears within SB.
Here is the site in question (the thumbnail in the center is what triggers SB):
http://www.hectorarandawebworx.com/SandBox/Burning/= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
The AS2 that I'm using is:
stop();
import flash.external.ExternalInterface;
button.onRelease = function() {
ExternalInterface.call("openShadowbox",'
http://www.hectorarandawebworx.com/SandBox/Burning/includes/media/film/TheReason/TheReasonBTS.mov', 'qt', 'Test Image Title');
};
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
And the HTML code is:
<link rel="stylesheet" type="text/css" href="includes/js/shadowbox/shadowbox.css" />
<script type="text/javascript" src="includes/js/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
var openShadowbox = function(content, player, title){
Shadowbox.open({
content: content,
player: player,
title: title
});
};
</script>
<script type="text/javascript">
Shadowbox.init();
</script>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
I've already tested this out with SB 2 and it works perfectly, but since SB 3 is a much smaller script size I'd like to see if I can make it work.