1 Reply Latest reply on May 25, 2010 1:40 PM by mightypants

    problems with CS4 flash player

    mightypants Level 1

      I'm trying to embed a CS4's built-in Flash player using the swfobject to play an FLV.  Currently everything works appropriately on PC, but on Mac instead of playing the video the browser just shows the components of the skin (see below).Picture 1.png                                            

       

      I've used the modified swfobject that comes with DW CS4 and some javascript to load the file dynamically.  I'm not great with javscript, but I have used it to embed Flash a few times with another FLV player.  Here's the script I used:

       

       

      <script src="scripts/swfobject_modified.js" type="text/javascript"></script>
          <script type="text/javascript">
      
                  var flashvars = {};
                  flashvars.MM_ComponentVersion = '1';
                  flashvars.skinName = "skins/Halo_Skin_3";
                  flashvars.streamName = "videos/base";
                  flashvars.autoPlay = "false";
                  var params = {};
                  var attributes = {};
              
                  
                  swfobject.embedSWF("FLVPlayer_Progressive.swf", "myContent", "768", "432", "9.0.0","expressInstall.swf", flashvars, params, attributes);
          
          </script>
      

       

      And in the body of the HTML:

       

      <div id="myContent">
            <p>Some content requires Adobe Flash Player.  You can download it <a href="http://get.adobe.com/flashplayer/" target="_blank">here</a></p>
                  </div>
      

       

       

      Any ideas what is goign wrong?  Thanks.