Configure your Uploader

2 replies [Last post]
Joined: 05/14/2009
Points: 2

I want to add a custom player to a site i'm working on. I've designed the custom player, and I've added upload and remix, but nether are working. How do I configure the Uploader?
I'm using the worpress plugin, if I have it set in the backend that only admins can upload and remix videos will they only show and be availible to admins?
Thanks in advance.

Joined: 04/05/2009
Points: 354

The current release of the Wordpress plugin doesn't allow you to use custom players. However there is a workaround.

In the KMC design your player via the Application Studio. Then in the "Content" section select an entry, and click "Preview & Embed". From the drop-down list select your newly created player. Then have a look at the embed code. For example:

<object name="kaltura_player" id="kaltura_player" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" allowFullScreen="true" height="425" width="640" data="http://www.kaltura.com/index.php/kwidget/wid/_12431/uiconf_id/1001314/entry_id/k1mfnm2trk"><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="allowFullScreen" value="true" /><param name="bgcolor" value="#000000" /><param name="movie" value="http://www.kaltura.com/index.php/kwidget/wid/_12431/uiconf_id/1001314/entry_id/k1mfnm2trk"/><param name="flashVars" value=""/><param name="wmode" value="opaque"/><a href="http://corp.kaltura.com">video platform</a><a href="http://corp.kaltura.com/technology/video_management">video management</a><a href="http://corp.kaltura.com/solutions/overview">video solutions</a><a href="http://corp.kaltura.com/technology/video_player">free video player</a></object>

As part of the data URL is the widget ID. In the above example it is _12431.

Now jump over to Wordpress. Select a post you wish to change the player of. Switch over to HTML mode.

At the top of the code should be something like this:

       
[kaltura-widget wid="9umlzysy40" width="640" height="425" addpermission="" editpermission="" /]

All you need to do now is change the "wid". For example:

       
[kaltura-widget wid="_12431" width="640" height="425" addpermission="" editpermission="" /]

Preview the page, and you'll see that the page now features your custom player.

In regards to your second question, the permission settings in Wordpress only relate to Wordpress - they are not global settings for how your media is handled on the Kaltura Network as a whole.

If you set "Who can edit videos?" to "Blog Administrators" then the general public will not have the option to edit videos via the player (presuming you use the default widgets/player skins).

If you set "Who can add to videos?" to "Blog Administrators" then the general public will not have the option to upload a new video via the player (again, presuming you use the default widgets/player skins).

Does that make sense?

Best Regards, Chris!

Joined: 04/05/2009
Points: 354

I also just realised that you can manually add more players to the Wordpress plugin by modifying the setting.php file. This is a much better way to doing things!

Just add an entry to:

$KALTURA_GLOBAL_PLAYERS = array (
                "whiteblue" =>
                        array(
                                "name" => "White/Blue",
                                "uiConfId" => 530,
                                "horizontalSpacer" => 0,
                                "verticalSpacer" => 65,
                                "previewHeaderColor" => "#000"
                        ),
                "dark" =>
                        array(
                                "name" => "Dark",
                                "uiConfId" => 531,
                                "horizontalSpacer" => 0,
                                "verticalSpacer" => 65,
                                "previewHeaderColor" => "#fff"
                        ),
                "grey" =>
                        array(
                                "name" => "Grey",
                                "uiConfId" => 532,
                                "horizontalSpacer" => 0,
                                "verticalSpacer" => 65,
                                "previewHeaderColor" => "#31302E"
                        )
        );