Needs review
Project:
Flowplayer API
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
28 Apr 2010 at 21:31 UTC
Updated:
20 Feb 2016 at 18:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Dasha_V - old commentedThis module extend flowplayer API module with secure plugin.
It makes videos available for being played only (deny direct download of the file).
This module make use of this flowplayer secure streaming plugin http://flowplayer.org/plugins/streaming/secure.html.
Example of usage:
1) New file field formatter: go to Content management › Content types › [Your type here] -> Display fields
and for ‘filefied’ field select 'Video player (Flowplayer secure plugin, flv only)' format.
2) Theme Function - use theme(‘flowplayer’, …) e.g. like Video module does
3) API: use flowplayer_secure_add() function instead of flowplayer_add() function (with the same parameters) – look at documentation here http://drupal.org/project/flowplayer
Dependences:
flowplayer module http://drupal.org/project/flowplayer
Integration:
File field http://drupal.org/project/filefield
Video http://drupal.org/project/video
Storage API http://drupal.org/project/storage_api
Blue Droplet Video http://drupal.org/project/bd_video (patch)
Make use of drupal hook_download for private download method.
Recommended:
Private upload http://drupal.org/project/private_upload
Closest solution for protecting video content was described here:
http://drupal.org/node/235667
But this solution still allow users (who paid) to download files (using direct link from
html or firebug), and flowplayer_secure module allow to play only.
Comment #2
paranormals commentedSubscribing.. thank you. Will check this out when I get time.
Comment #3
Saoirse1916 commentedAny update on this? I use Flowplayer with Blue Droplet Video and would love to see this plugin added somehow.
Comment #4
mwmconsulting commentedI'm trying to get this to work in my new Drupal 6.20 install. I have added and enabled only the modules listed above (and those which the above depend upon - i.e. mimedetect).
A few questions and concerns.
1) How can I get this to work? I'm not a Drupal newb, but I'm not expert either. I can't see how to get this up and running so that I can add new Video nodes.
2) After installing and enabling the above modules and their dependencies, I'm getting the following error when I click on the Site Configuration -> Flowplayer link:
Any help and guidance would be truly appreciated.
Cheers!
- MWM
Comment #5
dasha_blink commentedHere is quick fix for the fatal error.
Comment #6
Dasha_V - old commentedThe simplest example (even without the private module) is this:
E.g. You have the video file uploaded to the sites/default/files/video,
E.g. /sites/default/files/video/video.flv there
Copy .htaccess file form /sites/all/modules/flowplayer_secure/private to the /sites/default/files/video
Done.
To test that the files are private do this:
Try to access http://example.com/sites/default/files/video/video.flv.
You should get "Forbidden, You don't have permission to access ... on this server."
Now try to play your video in the flowplayer.
Should work.
The private module will do the same with additional features. Check the help there.
Hope this helps.
Comment #7
Dasha_V - old commentedRe #3 about the Blue Droplet Video
In January 2010 I had this path for the bd_video\includes\player.inc (6.x-1.x-dev)
Hope this helps.
Comment #8
PI_Ron commentedAny chance of getting a Drupal 7 version of this module?
Comment #9
drupal9months commented#6
I tried this and I just get stream error 200 on all my videos....to correct it I just have to delete the .htaccess file but it's hidden so it's gonna be a task.
Ill try the private module, thanks anyway Dasha!
Comment #10
gajanannehul commentedhi
I am having same issue but with .mp3 file i tried this but its only supports flv file please help me how to add .mp3 files also
Comment #11
gajanannehul commentedhi
Can i used this module for windows server.
Comment #12
rajiv.singh commentedthe .htaccess files inside private folder contains :
SetHandler This_is_a_Drupal_security_line_do_not_remove
Deny from all
What should be there in the file?
Thanks
Comment #13
Farreres commentedCheck my new approach to secure video streaming: https://www.drupal.org/node/2672400 now with HLS instead of Flash