Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
just a quick question:
is anyone running the d6-version of the video-module with drupal's filesystem set to private? i searched the issue-queue and found only issues about the d5-version. i have the problem, that the player shows up fine, but does not load the video. the rendered path is correct ('system/files/videos/converted/...' , but in my apache-logs i get 404s when i try to start streaming the video. i also have a working 'download the original'-link on the same node.
is private filesystem even supported by the d6-branch?
thanks in advance
Comments
Comment #1
ñull CreditAttribution: ñull commentedI use the private file system with .htaccess redirection. Drupal is set to public files system, but the .htaccess redirects to the secure URL.
I use the above method in Apache because it give freedom to choose folders that are protected and that are not. This is usefull to enable css an js caching that is not private file system compatible either.
With a core CCK file field this would lead to "Access Denied" for content that a user is not supposed to see, for instance because an anonymous user tries to access an organic group file.
The video module is a widget of the CCK file field but it is not following the same behaviour and will not give any "Access denied". That must be because the core CCK File functionality is not respected. I don't think this is a feature request, because I think that a widget should not change the File field behaviour I report this as a bug.
Comment #2
ñull CreditAttribution: ñull commentedThe reason secure file system does not work has to do with they way converted video are stored. The original video is properly attached and appears in the file table which allows Drupal to check if the user is allowed to access the node with the file. The converted videos however are not stored this way and they don't appear in the file table associated to the node. This wrong way of storing related files will make it impossible for Drupal to check if the permissions of the file.
Comment #3
heshanlkDuplicate of #1098908: Videos not playing if private filesystem chosen
Comment #4
ñull CreditAttribution: ñull commentedWhy is this marked as dupilcate when the other issue refers to version 7.x? I cannot move to D7 to fix this bug.
Comment #5
erikwebb CreditAttribution: erikwebb commentedI see a solution like this -
I feel like this is a bug because it doesn't support a standard Drupal setup.
FYI - the "Video Trasncoding" component is misspelled.
Comment #6
Jorrit CreditAttribution: Jorrit commentedMaybe later, this requires a lot of work.
Comment #7
Jorrit CreditAttribution: Jorrit commentedComment #8
sterndata CreditAttribution: sterndata commentedThis is a showstopper for me. I need to have the videos private. Looking forward to an update.
Comment #9
Jorrit CreditAttribution: Jorrit commentedFixed in 6.x-5.x-dev.
Comment #10
fluxrider CreditAttribution: fluxrider commentednot fixed for me using 6.x-5.0+12-dev (2012-May-07). Still getting "Storing videos in the Drupal file system is not supported when using private downloads." edit- sorry about this , hope this is the thread to open . I'm getting confused between the two threads .
Comment #11
Jorrit CreditAttribution: Jorrit commentedI think I forgot to delete that message. If you ignore that error, does it work?
Comment #12
fluxrider CreditAttribution: fluxrider commentedThank you Jorrit for posting. It does seem now to be working on private files ( though I am having bitrate issues in the preset for flash so not seeing any videos converted but I'm looking at that now. Looks like just that message in Status Report . getting ready to drag a site over to 7 so it gave me the shivers. I can just ignore it I guess. Thanks for your time on this.
Comment #13
Jorrit CreditAttribution: Jorrit commentedI hope all issues are resolved for you. If you still have problems related to this issue, please reopen it. Otherwise ope a new one.