Function missing but file including it is loaded? (Uncaught ReferenceError: flashembed is not defined)

Posted by jerrygarciuh on Stack Overflow See other posts from Stack Overflow or by jerrygarciuh
Published on 2013-10-18T15:43:08Z Indexed on 2013/10/18 15:54 UTC
Read the original article Hit count: 578

Filed under:
|
|
|

jQuery Tools is a stand-alone library that offers a flashembed() function; it does not require jQuery. But with or without jQuery I am seeing error Uncaught ReferenceError: flashembed is not defined

Page html from here and a JSFiddle of it.

<div class="ads-box" id="ad1">
<script>flashembed("ad1", "/g/shows/sidebar/72940064_ad_swf.swf");</script>
</div>
<script src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script> 

The SWF is not 404 http://www.itsneworleans.dreamhosters.com/g/shows/sidebar/72940064_ad_swf.swf

And the CDN file has the flashembed function and resources tab shows it loaded. http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js

enter image description here

What is my next step in debugging this?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery