Cloning KShow fails in REMIX.PHP

3 replies [Last post]
Joined: 04/05/2009
Points: 354

Hi Kaltura Gurus,

I've been playing around with the Remix site demonstration today.

Despite what it says in the documentation, setting the BASE_KSHOW_ID to entry-{entryid} simply doesn't work.

It returns the following error when trying to clone the KShow in remix.php:

Array
(
    [result] => Array
        (
            [serverTime] => 1247621821
        )

    [error] => Array
        (
            [0] => Array
                (
                    [code] => INVALID_KSHOW_ID
                    [desc] => Unknown kshow [entry-pre8egazee]
                )

        )

    [debug] => Array
        (
            [sigtype] => 1
            [signature] => 3d084da286eeba2f134a17d77817ee58
            [execute_impl_time] => 0.00752782821655
            [execute_time] => 0.0306811332703
            [total_time] => 0.031097173690796
        )

)

The work around is to use the "get entries" API call to return the KShow for the entry (for example, the KShow for pre8egazee is 3e9p3h3ssc).

Any idea why?

Thanks!

Best Regards, Chris!

Joined: 02/22/2009
Points: 32

Hi Chris,
The "entry-{entryid}" hack is not supported in cloneKshow, only in addEntry.

The guide is using cloneRoughcut that is used with entry id.

Hope this helps,

Roman

Joined: 04/05/2009
Points: 354

Hi Roman,

Thanks for clearing that up...

However, despite the fact that the guide explains cloneRoughcut in terms of how to pre-populate your editor with content - the actual Remix Site example still uses cloneKShow - hence the reason I posted this.

Make sense?

Best Regards, Chris!

Joined: 02/22/2009
Points: 32

The remix site is using kshows only (for get & list).

Kshow is already obsolete in the new Kaltura API (PS3), though not all the modules are converted to use the new API, therefore it is still needed for the remixing site (Simple Editor).

I don't know if it's possible to create the same remixing site features with cloneRoughcut without using kshows.
If it's possible it will be better for future compatibility.