WordPress.org

Ready to get started?Download WordPress

Forums

Viper's Video Quicktags
Users can't view videos anymore (6 posts)

  1. TonyVitabile
    Member
    Posted 3 years ago #

    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

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    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:

    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.

  3. TonyVitabile
    Member
    Posted 3 years ago #

    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

  4. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    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. :)

  5. TonyVitabile
    Member
    Posted 3 years ago #

    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

  6. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 3 years ago #

    So what could be causing my problem???

    No idea, but it's not my plugin.

    You should contact your host.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic