John Magnolia
John Magnolia

Reputation: 16803

Flash breaking when in webpage and only works if JS is turned off

Problem is that the flash movie is not working when this is within the CMS (Custom Smarty/PHP/Zend). I have totally ran out of ideas with this an pulling my hair out.

To fix a problem with the XML file originally not being read in I had to add a .htaccess to: /templates/flash

RewriteEngine Off
<FilesMatch "\.(swf|flv|xml)$">
    order allow,deny
    allow from all
</FilesMatch>

Upvotes: 1

Views: 36

Answers (1)

Andrey
Andrey

Reputation: 671

Try changing

<script language="javascript" src="/webapp/templates/js/AC_RunActiveContent.js" />

to

<script language="javascript" src="/webapp/templates/js/AC_RunActiveContent.js"></script>

<script> tags don't self-close.

Upvotes: 2

Related Questions