Support » Plugins and Hacks » Dynamic Headers » [Plugin: Dynamic Headers] Show image if No Flash installed

  • I wanted to mention that I modified the Plugin to use the Default header image if No Flash plugin is available when using SWF headers.

    I’ve tested it on mobile browsers and it seems to work. Let me know if there is any way to optimize this or if something similar to this will be added in future releases.

    Here is the modified code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    This is found around line 380 in the custom-header.php

    http://wordpress.org/extend/plugins/dynamic-headers/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sorry about that. Here is the Code URL:

    http://wordpress.pastebin.com/AYAymW3a

    I have not been able to get your code to work. Has anything changed in Dynamic Headers since you posted your code?

    When I turn Flash off in Safari I do not get the alternate jpg.

    Thanks in advance – Sam

    This plugin has not been updated since October 2010 so the code would not have changed since I posted this. Have you tested it on Mobile Safari?

    I should mention that you need to replace all code from line 381 – 396 with this code.

    Thanks for responding so quickly. No, I have no mobile devices. Just testing on my computers browser by turning Flash off.

    Sam

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Dynamic Headers] Show image if No Flash installed’ is closed to new replies.