• OK here’s situation I have a plugin called MediaPress which I’m going to be releasing to the public soon. It’s a video sharing plugin I had built for my personal sites Mixtapes.tv and ComeWatchMe.com.

    All the media (audio & video) uploaded via MedaiPress are stored in the /wp-content/media folder. My question is, would it be possible for W3 Total Cache to copy all the media files from that folder to a CDN?

    I still want to store all my media files in the /wp-content/media folder but I want a cached version to be stored on a CDN. When a video or audio file is played on my site, the media will be served from the CDN instead of directly from my server. In addition I would like it to be secured so no other site can hot link my media files and use up my server resources.

    Is this possible?

    Keep in mind, I’m not a coder so layman terms are greatly appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Frederick Townes

    (@fredericktownes)

    Yes, add that path to the custom files field on the CDN settings tab. The problem is that you will have to configure auto-upload option as well since you’re plugin doesn’t natively work with the Media Library (as I think it should). Your players also need to support playing files from another domain or loading from another domain.

    Thread Starter Glen

    (@chosen1234)

    I’m using the JW Player for MediaPress. When you say Media Library are you referring to files stored in the wp-content/uploads/ folder? Where in the plugin would I configure the auto-upload option?

    Thread Starter Glen

    (@chosen1234)

    Also by any chance can you refer me to a article that talks about how to make a plugin natively work with the Media Library?

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    When you say Media Library are you referring to files stored in the wp-content/uploads/ folder?

    Yes.

    Where in the plugin would I configure the auto-upload option?

    On the CDN settings tab.

    Also by any chance can you refer me to a article that talks about how to make a plugin natively work with the Media Library?

    That plugin would need to simply “register” attachments “properly”. I’m not aware of any documentation though sorry.

    Thread Starter Glen

    (@chosen1234)

    Thank you, I’m having my developers work on the plugin now. A few more things.

    That plugin would need to simply “register” attachments “properly”. I’m not aware of any documentation though sorry.

    So the plugin just has to attach the media files properly, your referring to attaching them to a post right?

    And once there attached, how will the plugin know to play stream the files from the CDN and not Wordpres.

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    So the plugin just has to attach the media files properly, your referring to attaching them to a post right?

    Right.

    And once there attached, how will the plugin know to play stream the files from the CDN and not Wordpres.

    That has nothing to do with the plugin, your player needs to know how to do that.

    Thread Starter Glen

    (@chosen1234)

    That has nothing to do with the plugin, your player needs to know how to do that.

    I’m using the JWPlayer from LongTailVideo.com which does support streaming so I’m guess it should work.

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    Only if that plugin supports handling of content that is not from the roto domain. You need to make sure that security settings there are ok.

    Thread Starter Glen

    (@chosen1234)

    Do you do custom work as far a optimizing WordPress sites? Because I’m running my site on a dedicated server costing me almost $1,0000 per month plus MAXCDN with your W3 Total Cache plugin and the site is still going down constantly.

    Plugin Contributor Frederick Townes

    (@fredericktownes)

    Yes, it would appear that either your settings are not ideal or there is a problem that caching cannot fix. Contact me through the support tab of the plugin if you wish.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘W3 Total Cache Integration’ is closed to new replies.