• I’ve posted about this in several other places because I’m getting desperate.

    About a month ago, many of the videos on the website I built for my site using WordPress Multisite 3.0.1 stopped being viewable. At this time, I only know of 3 that will play. If you visit http://churchonhigherground.org/worship/sermons, you’ll see what I mean.

    I use Viper’s Video Quicktags to build the posts. I believe my site may also have gotten attacked by some kind of virus at about this time.

    I’m not blaming this plugin for the virus; what I need to know is:

    1. What should my .htaccess file look like in the blog’s folder under blogs.dir
    2. What should the permissions on the video files be?
    3. What affect, if any, would having an .htpasswd file in that folder have on users being able to watch the videos?

    I just want to make sure that everything is set up right so I can eliminate any configuration issues as a source of the problem.

    Thanks for any help

    Tony

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Alex Mills

    (@viper007bond)

    I’ll use this post as an example:

    http://churchonhigherground.org/worship/sermons/2010/04/10-0411-01/

    The video file it’s trying to play won’t load:

    [video src="http://churchonhigherground.org/worship/sermons/files/2010/04/10-0411-01.flv" /]

    The server returns a 500 error. This is usually a result of something being incorrect in one of your .htaccess files or whatnot.

    Thread Starter TonyVitabile

    (@tonyvitabile)

    Alex:

    OK, so the problem is probably with my .htaccess file.

    WordPress is installed in the /worship folder. This is the .htaccess file in the root of the server (the folder above /worship):

    Redirect /index.html http://churchonhigherground.org/worship
    AddType flv-application/octet-stream .flv
    AddType video/x-flv .flv

    Here’s the .htaccess file in /worship:

    RewriteEngine On
    RewriteBase /worship/
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    These are the only 2 htaccess files between the server root & those video files. I have to admit I don’t know anything about .htaccess files except that they have something to do with security & mapping the virtual path to a file to the physical path. They appear to be using regular expresessions to do the URL path transformation.

    If there is nothing wrong with the .htaccess file, then I have to assume there’s something wrong with the files themselves. The file permissions for all of the videos are set to 755.

    Thanks

    Tony

    Plugin Contributor Alex Mills

    (@viper007bond)

    You may want to start a new thread for help with your .htaccess issues as it isn’t related to my plugin and I’m not very good with these kinds of things. 🙂

    Thread Starter TonyVitabile

    (@tonyvitabile)

    Alex:

    I don’t think the problem is with the .htaccess file. This is for 2 reasons: first, I posted in the Multisite forum about this issue & I replaced the contents of the .htaccess file with new contents & the problem is still there. Secondly, I have 3 videos that play; one is in the same exact folder as the video you used as an example in one of your replies.

    I downloaded the same video (10-0411-01.flv) to my macbook using FileZilla & set up a post on my dev site for the same video. The video plays I think that means that the video is not corrupted.

    Also, another plugin, the NexGen plugin, isn’t displaying my images in that. I think the problems could be related.

    So what could be causing my problem???

    Thanks

    Tony

    Plugin Contributor Alex Mills

    (@viper007bond)

    So what could be causing my problem???

    No idea, but it’s not my plugin.

    You should contact your host.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Viper's Video Quicktags] Users can't view videos anymore’ is closed to new replies.