kaltura / all-in-one-video-pack.wordpress

A Wordpress Plugin to simplify adding Kaltura to your Blog
https://wordpress.org/plugins/all-in-one-video-pack/
19 stars 31 forks source link

Error message using onPrem Kaltura #57

Open clintlalonde opened 7 years ago

clintlalonde commented 7 years ago

We have an onPrem instance of Kaltura (not Community edition). When we try to activate the plugin in WordPress using our partner id code, we get the following error message.

image

This is a single instance of WordPress 4.7.4 Our onPrem instance of Kaltura is hosted at the University of British Columbia.

We are able to enable the plugin by changing some of the hardcoded enpoint url's within your code base, leading us to believe that if we can change the urls to be variables that can be entered within the plugin admin interface we can make the plugin work for others who has onPrem instances. We would like to send a pull request to you with the suggested changes to see if that may make this plugin work for onPRem instances as well.

Thanks, Clint

kaltura-hooks commented 7 years ago

Hi @clintlalonde,

Thank for you reporting an issue and helping improve Kaltura!

To get the fastest response time, and help the maintainers review and test your reported issues or suggestions, please ensure that your issue includes the following (please comment with more info if you have not included all this info in your original issue):

For general troubleshooting see: https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.13.0/doc/kaltura-packages-faq.md#troubleshooting-help

If you only have a general question rather than a bug report, please close this issue and post at: http://forum.kaltura.org

Thank you in advance,

rkreich commented 7 years ago

@clintlalonde are you referring to server_url & cdn_url? KalturaHelpers::getOption (https://github.com/kaltura/all-in-one-video-pack.wordpress/blob/master/lib/KalturaHelpers.php#L177) can fetch those variables from site options. You can use a 3rd party plugin to manage it.

What's not ideal here is that the plugin doesn't prefix server_url and cdn_url with kaltura_