• Resolved maijx

    (@maijx)


    Hi,
    Thanks for this awesome plugin. Just a question. How is it possible to add a custom object storage provider other than those 7 options in plugin, and is NOT a “S3 compatible service”? Any help?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author interfacelab

    (@interfacelab)

    Which object storage?

    You need to create a class that implements \ILAB\MediaCloud\Cloud\Storage\StorageInterface and then register it:

    \ILAB\MediaCloud\Cloud\Storage\StorageManager::registerDriver('your-identifier', \YourNameSpace\YourStorageClass::class);

    However, it’s kind of moot because you can’t supply a custom config for the settings page (look at storage.config.php) for an example.

    So the best bet is to fork the project on github and add it in.

    3.0 will have better support for this though, and it’s a few weeks away.

    Thread Starter maijx

    (@maijx)

    It’s Backtory storage. A local object storage provider for Persian users. https://backtory.com
    I was checking their docs (here & here) and Media Cloud plugin to see if i can add it Media Cloud.But it seems to be a little bit hard to implement.
    But thanks anyway.

    Thread Starter maijx

    (@maijx)

    Do you have any plan to add support for Openstack swift API?

    Plugin Author interfacelab

    (@interfacelab)

    The 3.0 version of the plugin will support third parties adding their own storage providers to the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding custom object storage’ is closed to new replies.