Hi, I have found that the path that this module passes as argument to the create_video method of the bcmapi doesn't allow to upload on windows.
It's a curl issue in fact which raise a BCMAPITransactionError exception.
I had done a small test using the API outside of drupal, and it works perfectely if the path of a file to upload looks like "@c:\\test.mp4".
So I've added the following fix to the methode brightcove_upload_video of the brightcove.module for windows users and it now works :

  if (substr(PHP_OS, 0, 3) == 'WIN')
     {
       $path = realpath(".").'/'.$path;
       $path = str_replace('/','\\',$path);
     }

I will provides a patch.
I'm currentely benching the 6.x version and will soon check this for the 7.x version but as it is mainly a Curl issue I think that if the path is build in the same way, there will be the same bug on the 7.x version while trying to upload a video from drupal

CommentFileSizeAuthor
#1 windowsUpload-1434038-1.patch550 bytesmuldos
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

muldos’s picture

FileSize
550 bytes

Here is the patch

k.dani’s picture

Issue summary: View changes
Status: Active » Postponed

We are working on the 7.x version of the module, but as soon as we have chance to check it, we review it.

k.dani’s picture

Status: Postponed » Needs review
k.dani’s picture

We don’t maintain the Drupal 6 version of the module, but apply patches (if it is in RTBC status) until the stable version of Drupal 8 is released.

jan.mashat’s picture

Status: Needs review » Closed (won't fix)