Post Reply 
 
Thread Rating:
  • 272 Votes - 2.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
replace by image if featurific (if flash) not present
12-12-2009, 05:46 AM
Post: #1
Thumbs Up replace by image if featurific (if flash) not present
Hello,
thank you for this extension really simple to configure. I use it in Wordpress and on static website. it works perfectly.

By cons I would like display a static image alternative when Flash is not present: for example on the iPhone.
so as not to shift the layout.

is there a trick that I do not know? with base code flash is quite simple but now I do not know what to do.

thank you for your ideas and advice
Mathieu
Quote this message in a reply
12-15-2009, 04:25 AM
Post: #2
RE: replace by image if featurific (if flash) not present
Hi easysofts,

Featurific uses SWFObject (aka FlashObject) to embed the .swf into the page. It has some options for meeting the need you are referring to. Try Googling these terms to find out how to accomplish what you need. Then, you can simply edit the flash embed code that can be found in the featurific.php file within the wp-content/plugins/featurific-for-wordpress directory.

Best of luck! Smile
-Rich
Find all posts by this user
Quote this message in a reply
04-11-2010, 08:06 PM
Post: #3
RE: replace by image if featurific (if flash) not present
(12-15-2009 04:25 AM)rinogo Wrote:  Hi easysofts,

Featurific uses SWFObject (aka FlashObject) to embed the .swf into the page. It has some options for meeting the need you are referring to. Try Googling these terms to find out how to accomplish what you need. Then, you can simply edit the flash embed code that can be found in the featurific.php file within the wp-content/plugins/featurific-for-wordpress directory.

Best of luck! Smile
-Rich

I have open featurific.php and on line 617 there is the SWFObject code but I can't add alernative content, all my test were bad ! Confused

défaut code:
Code:
$html = <<<HTML
        <center><!-- Begin Featurific Flash Gallery (version {$version}) - http://featurific.com -->
        <script type="text/javascript" src="{$web_root}featurific.js"></script><div id="swfDiv">
        <script type="text/javascript">
        // <![CDATA[
        fo = new SWFObject("{$web_root}FeaturificFree.swf?&lzproxied=false", "lzapp", "$width", "$height", "6", "#FF6600");
        fo.addParam("swLiveConnect", "true");
        fo.addParam("name", "lzapp");
        fo.addParam("wmode", "transparent");
        fo.addParam("allowScriptAccess", "always");
        fo.addVariable("xml_location", "{$web_root}{$data_xml_filename}");
        fo.write("swfDiv");
        // End JS for http://featurific.com
        // ]]>
        </script></div>
        <!-- End Featurific --></center>
HTML;

where can I add my alternative content ? thanks Blush
Quote this message in a reply
04-13-2010, 05:16 AM
Post: #4
RE: replace by image if featurific (if flash) not present
Hi Guest!

What did you try, more specifically? Perhaps you can post the actual code you tried and I can help out. Smile

Have a great day!
-Rich
Find all posts by this user
Quote this message in a reply
04-13-2010, 06:43 AM
Post: #5
RE: replace by image if featurific (if flash) not present
is the original code Featurific above. I tried several solutions but without success.

Am I alone in wanting to do this? Idea

Did you give me an example: display alternate text or image instead of Featurific when flash is not available.

In fact you find it too simple, and you're laughing at me ... Blush
Quote this message in a reply
04-20-2010, 07:50 AM (This post was last modified: 04-20-2010 07:51 AM by rinogo.)
Post: #6
RE: replace by image if featurific (if flash) not present
Hi easysofts!

Yes, that seems to be the original code above. I apologize if it seemed that I was laughing at you! It was a smile, not a laugh. Smile

Since you're having some trouble figuring this out from the documentation for swfobject, I did some research for you. Try something like the following instead of the code you posted above:

PHP Code:
    $html = <<<HTML
        <center><!-- Begin Featurific Flash Gallery (version {$version}) - http://featurific.com -->
        <script type="text/javascript" src="
{$web_root}featurific.js"></script><div id="swfDiv">
        <h1>hello</h1>
        Any HTML you include here will be shown if Featurific can't be loaded (e.g. if flash isn't present).<br/>
        <b>Enjoy! :)</b>
        <script type="text/javascript">
        // <![CDATA[
        fo = new SWFObject("
{$web_root}FeaturificFree.swf?&lzproxied=false", "lzapp", "$width", "$height", "6", "#FF6600");
        fo.addParam("swLiveConnect", "true");
        fo.addParam("name", "lzapp");
        fo.addParam("wmode", "transparent");
        fo.addParam("allowScriptAccess", "always");
        fo.addVariable("xml_location", "
{$web_root}{$data_xml_filename}");
        fo.write("swfDiv");
        // End JS for http://featurific.com
        // ]]>
        </script></div>
        <!-- End Featurific --></center>
HTML; 

Best of luck; let me know if this works for you! Smile
-Rich
Find all posts by this user
Quote this message in a reply
11-01-2011, 06:25 AM
Post: #7
Who am i?
Check out the fit before buying a <u><a href=http://search.aol.com/aol/search?s_it=topsearchbox.search&v_t=comsearch50&q=place+zabaw+dla+dzieci+drewnogrod.pl>place zabaw dla dzieci</a></u> is a exceptionally upright notion because if not form divergent manufacturers and despite the helmets of the nonetheless vastness, may be more or less matched. Appropriately sized ski helmet should be comfortable and should not move after the foundation, but can not run in too, since it could effect in headache. Sense helmet is very notable to make sure console later, so indeed it's quality bewitching some era to measure.
Quote this message in a reply
11-05-2011, 09:41 PM
Post: #8
cheap ugg boots
XnaQAzzQ discount uggs BilYYptX <a href="http://www.prioritytranslation.com">cheap uggs on sale</a> GwwECxzA http://www.prioritytranslation.com
Quote this message in a reply
11-09-2011, 04:49 PM
Post: #9
RE: replace by image if featurific (if flash) not present
chanel mother of pearl sunglasses,
http://www.bestchalbags.net/Chanel_sunglasses_11_1.htm
women chanel shoes,
http://www.bestchalbags.net/Chanel_women_shoes_24_1.htm

chanel stud earrings,
http://www.bestchalbags.net/chanel_earrings_5_1.htm
chanel jelly sandal,
http://www.bestchalbags.net/Chanel_sandals_23_1.htm
Quote this message in a reply
11-12-2011, 12:35 AM
Post: #10
hi new here looking to have some good time here
I would just like to introduce myself to you real quickly - my name is Frank, and I'm from the Bronze area. I am located midway between Cleveland and Pittsburgh


Does anyone know this blog, just heard of the term offshore and was wondering what it is, still not sure...
Offshore Company Formation
Quote this message in a reply
Post Reply 


[-]
Quick Reply
Message
Type your reply to this message here.


Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Use WP featured image in post bikeourplanet 58 23,114 Today 03:05 AM
Last Post: quatereakisee
  Removing border around featurific Guest 10 11,395 02-01-2012 04:12 AM
Last Post: inconfonek
  Arrows and Numbers for advancing the featurific image forward or backward maxfaction 18 10,020 01-31-2012 11:51 AM
Last Post: Vipripse
  Changed wordpress blog URL, now featurific can't find images tripper54 9 3,274 01-30-2012 07:57 PM
Last Post: Gorgekaj
  deleting image from the selection summary Garyhou 2 3,266 01-02-2011 03:42 PM
Last Post: rinogo
  Manually Select Images and Words for Featurific armyhistory 1 3,270 07-17-2010 04:27 AM
Last Post: rinogo
  Changing the WP post image grabbed by the plugin andydarley 1 2,126 07-14-2010 06:44 AM
Last Post: rinogo
  Getting FEATURIFIC to work on my Home Static Page bribiz 1 2,635 05-29-2010 07:04 AM
Last Post: rinogo
  Will the Featurific Plugin Work On Custom Template Pages bribiz 1 1,984 05-29-2010 07:02 AM
Last Post: rinogo
  Image size broken Stuka 1 1,210 03-09-2010 03:44 AM
Last Post: rinogo

Forum Jump:


User(s) browsing this thread: 1 Guest(s)