Closed (fixed)
Project:
FlashVideo
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Feb 2009 at 11:51 UTC
Updated:
24 Jan 2011 at 20:21 UTC
Jump to comment: Most recent file
The validation for the xmoov.php file in plugins/flashvideo_streaming/flashvideo_streaming.module was somewhat incorrect. Attached a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | flashvideo_streaming.patch | 3.67 KB | jseffel |
| #6 | flashvideo_streaming_patched.txt | 14.11 KB | jseffel |
| #4 | flashvideo_streaming.txt | 13.96 KB | jseffel |
| #2 | flashvideo_streaming_module_fix.patch | 2.31 KB | jseffel |
| flashvideo_streaming.patch | 1.14 KB | jseffel |
Comments
Comment #1
jseffel commentedComment #2
jseffel commentedDisregard patch above.
Created another one and also fixed a problem with flashvideo_streaming_flashvideo_get_file.
Comment #3
wibbla commentedHi how do I yse the patch
I copyd the file to the folder but noting heppens
Comment #4
jseffel commentedDont know how to apply patches in windows. I've attached the flashvideo_streaming.module (rename it to .txt, otherwise I couldnt attach it).
Comment #5
jseffel commentedForgot one thing.. use the "... drupal root" thing when you configure xmoov otherwise the wrong path is given to the flvplayer.
Comment #6
jseffel commentedSorry. I attached the non-patched version. Heres the patched version.
Comment #7
attheshow commentedjseffel,
If you can post your patch in a normal .patch file again, I'll get it added into the module this weekend.
Comment #8
jseffel commentedDone in this patch:
* Changes in description for xmoov path
* Removed poss. to choose if we should use "... drupal root" (we cant execute PHP-files in files/ directory anyway)
* Proper(?) validation of xmoov.php path
We would probobly be better off by calling a hook in flashvideo_get_flashvars so other modules can add flashvars. As it is today flashvideo picks up the "streamer" varible from flashvideo_streaming which I think is somewhat wrong (should only be used for the RTMP-server) - which forces flashvideo_streaming to overwrite that variable.
Comment #9
attheshow commentedThanks jseffel! I like your layout of the xmoov-php file configuration much better than the original. I like how the file needs to be added into the FlashVideo module directory. I just applied the patch to the 6.x-1.x-dev version. The updated package should appear on the project page in the next few hours.
Comment #11
tomotomo commentedI think this still needs another patch, as in http://drupal.org/node/1038612