I've searched, I've tried to work the code into mine, etc., and it's just not working. I am trying to just get a swf file to play in Shadowbox, and for Shadowbox to automatically open on the HTML page. I just can't get it working. I can get a working Shadowbox with the swf file playing from a clicked link, but I need it to be automatic. Can someone provide a working example of this?
It's just not working for me. Here's the code I have in the head of the page:
, player: 'swf'
, width: 500
, height: 700
, title: 'Title'
</script> What am I missing? Is there anything else I need to have here to get this to work?
This seems to only work sometimes, with varying compatibility with different browsers. It's hit-or-miss on a Mac with either Safari or Firefox, and totally broken on Firefox in Windows Vista. In IE it is also sporadic. Sometimes it works, sometimes it doesn't.
Any ideas? Am I doing something wrong, or is this a Shadowbox issue?