Tagged: flash, header, javascript
-
AuthorPosts
-
November 27, 2013 at 12:07 am #193626
I am very impressed with how well Enfold is working for us, and we are in the process of purchasing licenses for various client projects.
Now I have a client that very much wants Flash objects/animations on a couple of pages of her website. She is insistent. I have explained all of the reasons not to, the problems on iOS devices, needing to have graphics in place of Flash when Flash is not supported, the advantages of HTML5, etc. Despite that she still wants Flash on a couple of pages. Experimenting with our own install, I am having difficulty inserting the object code into the text field of a text block.
So, what options do I have for Flash objects with your Enfold theme?
Thanks for your help with this!
November 27, 2013 at 5:06 am #193675Hey blueunderground!
Can you please post the flash code here? Did you switch to text mode when you insert the code? Embedded flash objects or movie should work properly on the theme but like you said they are not supported on iOS devices and that would be a problem.
Regards,
IsmaelDecember 3, 2013 at 11:44 pm #195915Hi Ismael,
The code to insert Flash I am using is:
<object id=”myFlashContent” width=”614″ height=”386″ classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″><param name=”movie” value=”http://blueunderground.com/flash/therrien-waddell-614.swf” /><!–[if !IE]>–><object width=”614″ height=”386″ type=”application/x-shockwave-flash” data=”http://blueunderground.com/flash/therrien-waddell-614.swf”><!–<![endif]–><!–[if !IE]>–></object><!–<![endif]–></object>This works fine in the static environment at http://blueunderground.com/flash/test-4.html. There is a Flash sniffer that displays a JPG when Flash is not installed that is also working fine in the static environment.
Within the Enfold theme it shows the JPG image when it runs the same code (but not the desired Flash animation): http://blueunderground.com/test-4/.
I have added a couple of lines of JavaScript to header.php through the editor. These are included in the static sample mentioned above that works correctly. On header.php it is between “<title><?php if(function_exists(‘avia_set_title_tag’)) { echo avia_set_title_tag(); } ?></title>” AND “<!– page title, displayed in your browser bar –>”. The script reads:
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<script type=”text/javascript” src=”http://blueunderground.com/flash/swfobject.js”></script>
<script type=”text/javascript”>
swfobject.registerObject(“myFlashContent”, “9.0.0”);
</script>Please advise on how this can function correctly with the Enfold theme. Thank you for your help with this!
December 4, 2013 at 8:40 am #195996 -
AuthorPosts
- The topic ‘Flash Integration for a Client Site’ is closed to new replies.