WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Headers
Show image if No Flash installed (5 posts)

  1. katart17
    Member
    Posted 3 years ago #

    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/

  2. katart17
    Member
    Posted 3 years ago #

    Sorry about that. Here is the Code URL:

    http://wordpress.pastebin.com/AYAymW3a

  3. sarasotasam
    Member
    Posted 2 years ago #

    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

  4. katart17
    Member
    Posted 2 years ago #

    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.

  5. sarasotasam
    Member
    Posted 2 years ago #

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

    Sam

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic