WordPress.org

Ready to get started?Download WordPress

Forums

Trouble with SWF files (1 post)

  1. hmh_photography
    Member
    Posted 8 months ago #

    I am really new to all of this, I have around 90 flip books that I have created in indesign and saved out as an SWF file. These are just simple books that you can click or grab the corner and turn the page. I am using the the Theme zeeSynergie and I have also download the Kimili Flash Embed plugin. Now I have read every single forum on Flash embed. There are codes that need to be placed in the theme area, or codes that need to be placed through your host, things with not supported file types in the 3.6 something version of wordpress and adding these file types to different things. I have tried it all, the .htaccess code that you put in you wp_public or html folder didn't work rather yet it completely locked me out of my site until I went back in and removed it. I have went to my host site... which is bluehost and added the file type to this of supported files... nothing worked. I have used these codes

    function demo($mimes) {
    if ( function_exists( 'current_user_can' ) )
    $unfiltered = $user ? user_can( $user, 'unfiltered_html' ) : current_user_can( 'unfiltered_html' );
    if ( !empty( $unfiltered ) ) {
    $mimes['swf'] = 'application/x-shockwave-flash';
    }
    return $mimes;
    }

    This code has been put in every .php area you can imagine and it hasn't helped. Now I have been told the kimili flash embed works like a charm. But I don't know if I am just misunderstanding how it works or if it really isn't working in my site. If anyone could help that would be great. Keep in mind I don't know what I am doing I am simply learning through forums and youtube videos and wordpress 3 book. So bare with me :-)
    add_filter('upload_mimes','demo');

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by hmh_photography
  • This topic is not resolved
  • WordPress version: 3.7