I have fresh installation for WP 4.6.1 and Kaltura Community Edition 12.4.0 with Kaltura All-in-One Video Plugin for WordPress 2.7
Everything seems to work fine i can browse uploaded video and upload new video using All-in-One to kaltura.
But i can’t insert any video in any post, after select any video and add it to the post the button “Insert into post” keep gray and inactive also when i change in tab "browse Existing media " media filter to “Media i can Publish” it show me nothing, i try to upload video from All-in-One and insert it in new post with no luck “insert into post” button always inactive.
Do i miss some configuration ?
also kaltura kaltlog doesn’t shows or Wordpress
Any advice ?
I would start by opening your browser’s dev tools and looking under both the “Console” and the “Network” tabs while making the requests in the WP I/F.
In parallel, on the Kaltura server, run kaltlog from the shell and look for any errors being outputted while making the request in WP.
kaltlog is an alias for this grep command:
tail -f /opt/kaltura/log/.log /opt/kaltura/log/batch/.log | grep -A 1 -B 1 --color “ERR:|PHP|trace|CRIT|[error]”
if there are errors when making the requests to the Kaltura API, they will likely show up in /opt/kaltura/log/kaltura_api_v3.log, once you’ve found the errors, I can guide as to how to fix them.
Also, what is your WP version?
Thank you for reply
kaltlog shows nothing and Browser dev tools shows
Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at _checkHoveringControls (kaltura-player-selector.js?ver=2.7:136)
at _onPlayerChange (kaltura-player-selector.js?ver=2.7:84)
at Object._onPlayersLoadedSuccess [as success] (kaltura-player-selector.js?ver=2.7:54)
at i (VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:2)
at Object.fireWith [as resolveWith] (VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:2)
at y (VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:4)
at XMLHttpRequest.c (VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:4)
_checkHoveringControls @ kaltura-player-selector.js?ver=2.7:136
_onPlayerChange @ kaltura-player-selector.js?ver=2.7:84
_onPlayersLoadedSuccess @ kaltura-player-selector.js?ver=2.7:54
i @ VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:2
fireWith @ VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:2
y @ VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:4
c @ VM1385 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers&ver=…:4
mwEmbedLoader.php?&wid=_104&uiconf_id=23448265&p=104&iframeServer=true:50 kWidget: Kaltura HTML5 Version: 2.49 ( iframe )
Same problem here, with Wordpress and Kaltura CE 12.12.0 fresh install both over SSL
"Uncaught SyntaxError: Unexpected end of JSON input ,etc…"
Any ideas? Tnx!
i find a working solution for me
go to database kaltura
SELECT * FROM ui_conf where partner_id=100;
where is 100 is my publisher id, get any id of one of your new players you create it, and update
/var/www/html/wordpress/wp-content/plugins/all-in-one-video-pack/settings.php
change
’kaltura_default_player_type’ => 11958362, // default player if player was not chosen in plugin admin screen
replace 11958362 with ID you get from database
Many thanks fro reply. I replaced and reconfigure plugin but still this:
Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at _checkHoveringControls (kaltura-player-selector.js?ver=2.7:136)
at _onPlayerChange (kaltura-player-selector.js?ver=2.7:84)
at Object._onPlayersLoadedSuccess [as success] (kaltura-player-selector.js?ver=2.7:54)
at i (VM617 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers,under…:2)
at Object.fireWith [as resolveWith] (VM617 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers,under…:2)
at y (VM617 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers,under…:4)
at XMLHttpRequest.c (VM617 load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload,plupload-handlers,under…:4)
Can you post result of
SELECT * FROM ui_conf where partner_id=???
and /var/www/html/wordpress/wp-content/plugins/all-in-one-video-pack/settings.php
may be i can help
<?php
if ( ! defined( 'ABSPATH' ) ) {// to be on the safe side
die;
}
return array(
'server_url' => ( is_ssl() ) ? 'https://gnvs-4.duckdns.org/' : 'http://gnvs-4.duckdns.org/',
'cdn_url' => ( is_ssl() ) ? 'https://gnvs-4.duckdns.org/' : 'http://gnvs-4.duckdns.org/',
'anonymous_user_id' => 'Anonymous',
'kcw_ui_conf_id_admin' => 15333782,
'categoriesRootId' => 0,
'thumbnail_player_ui_conf_id' => 14969192,
'kaltura_default_player_type' => 23448223, // default player if player was not chosen in plugin admin screen
'kaltura_show_media_from' => 'all_account', // when browsing media - should the media be from the whole account or just the logged in user's?
'kaltura_enable_kcw' => false, // enables the legacy flash uploader instead of html5 uploader
'kaltura_user_identifier' => 'user_login',
);
Cloud you try to change Player id from
’kaltura_default_player_type’ => 23448223, // default player if player was not chosen in plugin admin screen
to
’kaltura_default_player_type’ => 23448331, // default player if player was not chosen in plugin admin screen
or
’kaltura_default_player_type’ => 23448232, // default player if player was not chosen in plugin admin screen
Thanks, I changed the Player Id, from config file on plugin but nothing… The AIO plugin doesn’t let me select the custom players, only the default ones… even if I changed the config file…
I changed this to make it work… from true to false and disabled to enabled…
var _disableSubmit = function () {
jQuery(options.submit).attr(‘disabled’, false);
};
var _enableSubmit = function () {
jQuery(options.submit).removeAttr('enabled');
};
But I canr use my custom players on plugin, I have to change the embed code on WP for the custom player UI number…
Many thanks…
on my side, i able to see new custom player expect playlist player i still try to find why… through my trouble shoot i change below line
this.intialize = function () {
_disableSubmit();
to be
this.intialize = function () {
// _disableSubmit();
and it works (this is if the insert on post still not work )
also try to create new player and modify apply one by one youe changes