• Site: http://www.ycm.com

    demonstrating working enclosures with mp3/rm/ra files:
    http://www.ycm.com/category/1/feed

    demonstrating NOT working enclosures with wmv files:
    http://www.ycm.com/category/computer-minute-videos/feed

    I’m posting a ton of entries, virtually all with enclosures. the ones with .rm/.ra/.mp3 files work just fine. Any post with .wmv does not create the enclosure. I’ve edited/republished/tested the posts with embedded .wmv and I’ve been able to consistently demonstrate that .wmv extentions (apparently) do not get coded as enclosures.

    If you cruise the links above you can see for yourself. I’ve searched wordpress.org and the web in general for anything indicating problems w/ wmv enclosures and I can’t get anything. Could it be that my server is misconfigured so that WP can’t read the file size of the WMV and therefore doesn’t enter the enclosure tag?

    What other tests can I perform? here’s what I’ve done so far:

    1. republish a given post.
    2. create a brand new post with just a singular link to the wmv file.

    Neither have worked. Thanks for any help you can provide.

Viewing 1 replies (of 1 total)
  • Thread Starter peterkay

    (@peterkay)

    Problem solved:

    there reason why this occurred was because my server didn’t have a Mime-type for wmv files. By adding one line in my .htaccess file:

    AddType video/x-ms-wmv .wmv

    the WMV enclosures now works perfectly.

    BTW: I found this out by stepping through the code. Very elegant, people! You rely on the server to classify audio/video codes to generate your enclosure entries. Nice work!

Viewing 1 replies (of 1 total)
  • The topic ‘Enclosures not working w/ wmv files (apparently)’ is closed to new replies.