Targeting the correct KDP SWF Object

4 replies [Last post]
Joined: 05/06/2009
Points: 9

Still struggling to do a couple of basic KDP tasks:

a) Programmatic Control a KDP player from JavaScript
b) visually skinning a KDP player

In pursuit of those aims the question of the correct version of the SWF media for the KDP object came up.

<script type="text/javascript">
        var params = {
                allowscriptaccess: "always",
                allownetworking: "all",
                allowfullscreen: "true",
                wmode: "opaque"
        };
       
        var flashVars = {
                entryId: "wa5399nt92",
                readyF: onKdpReady
        };
       
        swfobject.embedSWF("http://www.kaltura.com/kwidget/wid/_26954", "myKdp", "640", "360", "9.0.0", false, flashVars, params);
</script>

Does this remain a currently proscribed method of embedding KDP? How can I ensure that the SWF pointed to in kwidget/wid/ is current release?

Thanks,

Smallhands

Joined: 04/05/2009
Points: 5

right-click it
it should show the version
if not - it is a very very old one (prior to 1.0)

the JS API works from v2.0 and above.

you can use widget 48110 or 48111 to get KDP version 2.0.2

Joined: 05/06/2009
Points: 9

My content is clearly getting an earlier version of the widget (1.2.3.22581) and hence several days of my "chasing rabbits" were actually all related to not using a widget supporting the "current" API.

SO....

A) Is this DOCUMENTED??? I still don't see how I am supposed to target widget 48110 or 48111. I am using the examples set forth in the Wiki which is shown in the thread above. I supply the partner ID and the content entry. But, neither the path nor any of the parameters appear to be specifying the widget version requested/required.

B) Is there a document which has the correspondence between widget # and version #???

If these issues are not documented I would contend that it is a critical hole in the documentation and new user orientation.

If the JS API is not supported under v2.0 it should be HARD for a newbie such as myself to unintentionally get there.

Respectfully,

Smallhands

Joined: 05/14/2009
Points: 69

I totally agree with smallhands. I had the exact same problem and couldn't figure out how to get the "current" version of KDP.
When I tried to find out how to get the current version, I saw all different versions, 1.2.3.22581, 2.0.12.28.25, 2.0.2, 2.0.7.27523
Which one is actual "CURRENT" version?

It took me a long time to figure out to get different KDP version by using different widget id. It didn't document anything about that in http://corp.kaltura.com/wiki/index.php/Guides:Playback How am I supposed to know to use widget 48110 or 48111?

smallhands,
Use this to target widget 48110

swfobject.embedSWF("http://www.kaltura.com/index.php/kwidget/wid/_{PARTNERID}/uiconf_id/48110", "kplayer", "400", "360", "9.0.0", false, flashVars, params);
Joined: 05/06/2009
Points: 16

Hey guys,
One of our major goals for the upcoming weeks is to improve our documentation to provide more elaborate and precise information.
Thank you for your comments, I can assure you they will be included.
Elad.