schnabear / swfobject

SWFObject is an easy-to-use and standards-friendly method to embed Flash content, which utilizes one small JavaScript file.
http://code.google.com/p/swfobject
0 stars 0 forks source link

SWFobject causes erratic behavior in BBEdit preview. #606

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch BBEdit (9).
2. Use Dynamic embedding of SWFobject
3. Preview in BBEdit.

What is the expected output? What do you see instead?
Preview works, but am unable to close preview window, or save documents, or 
open preference to app.

What version of the product are you using? On what operating system?
SWFObject 2.2, and BBEdit 9.6.3 (2890) in OSX 10.6.8

Please provide any additional information below.
I am also sharing this info with the BBEdit folks.

Here's my embed code:

 <script type="text/javascript" src="swfobject.js"></script>
  <script type="text/javascript">
            var flashvars = {};
            var params = {};
            params.play = "true";
            params.loop = "true";
            params.menu = "true";
            params.quality = "best";
            params.scale = "exactfit";
            params.wmode = "window";
            params.allowfullscreen = "false";
            params.allowscriptaccess = "sameDomain";
            var attributes = {};
            attributes.id = "intro";
            attributes.name = "intro";
            attributes.align = "middle";
            attributes.salign = " ";
            swfobject.embedSWF("intro.swf", "flsh", "600", "400", "9.0.0", false, flashvars, params, attributes);
        </script>

  <script type="text/javascript">

Original issue reported on code.google.com by jpbu...@gmail.com on 23 Nov 2011 at 7:05

GoogleCodeExporter commented 9 years ago
To be clear:
I'm experiencing problems while trying to develop a page that uses SWFobject to 
embed a Flash movie. Other embed methods don't cause this problem.

    Problems experienced.
Preview works, but am unable to close preview window, or save documents, or 
open preferences to BBEdit. I can click close buttons, or right-mouseclick 
"Save", but all is unresponsive. Quitting is my only option. Doesn't occur if I 
don't preview.

Original comment by jpbu...@gmail.com on 23 Nov 2011 at 7:09

GoogleCodeExporter commented 9 years ago
Perhaps BBEdit doesn't like the <object> element.

Have you tried with SWFObject's static publishing instead of JavaScript?

Original comment by platelu...@gmail.com on 6 Jan 2012 at 9:17