I am getting the following errors: swfobject is not defined for this line of code: var so = new SWFObject("/uploads/before_123.flv", "mymovie", "200", "100", "7", "#336699");
I am not sure what could be the problem.
Here is my simple javaScript I have on my page <script type="text/javascript" src="/js/swfObject/swfobject.js"></script>
<div id="flashcontent"> This text is replaced by the Flash movie. </div>
<script type="text/javascript"> var so = new SWFObject("/uploads/before_123.flv", "mymovie", "200", "100", "7", "#336699"); so.write("flashcontent"); </script>
It could be related to the fact that you're trying to load an FLV instead of a SWF. You need to put the FLV in a SWF, or make a player in Flash to play the FLV - you can't embed it directly in the page.