Hi,
I use overlay with flowplayer and flashembed to display video and flash objects on my site.
However, Firebug gave me this error "uncaught exception: Could not find Overlay: #flashLightbox1". #flashLightbox1 is the overlay for flashembed.
Interesting thing is, despite seeing this error in console, the overlay, flowplayer and flashembed all working fine.
I'd like to get rid of this error so it can pass the QA testing. Would anyone shed me some lights please?
Thanks.
I use overlay with flowplayer and flashembed to display video and flash objects on my site.
However, Firebug gave me this error "uncaught exception: Could not find Overlay: #flashLightbox1". #flashLightbox1 is the overlay for flashembed.
Interesting thing is, despite seeing this error in console, the overlay, flowplayer and flashembed all working fine.
I'd like to get rid of this error so it can pass the QA testing. Would anyone shed me some lights please?
<script src="/vgn-ext-templating/multimedia/jquery.tools.min.js" type="text/javascript"></script>
// image trigger
<img class="multimediaImage" rel="#movieLightbox1"
src="/vgn-ext-templating/multimedia/default_multimedia_thumbnail_S.bmp"/>
<img class="multimediaImage" rel="#flashLightbox1"
src="/vgn-ext-templating/multimedia/default_multimedia_thumbnail_S.bmp"/>
<img class="multimediaImage" rel="#movieLightbox2"
src="/vgn-ext-templating/multimedia/default_multimedia_thumbnail_S.bmp"/>
//overlay placeholder
<div id="movieLightbox1" class="simple_overlay">
...
</div>
<div id="flashLightbox1" class="simple_overlay">
...
</div>
<div id="movieLightbox2" class="simple_overlay">
...
</div>
$(document).ready(function() {
$("img[rel]").each(function() {
$(this).overlay({expose: '#000'});
});
});
Thanks.
