Custom Iframe url src [SOLVED]

I am trying to figure out how to set a custom iFrame url threw the kWidget.embed method.

I have my player set up using kWidget.embed and media proxy,

I want the the embed code src to point to my website instead of pointing to kaltura.

Is this at all possible ?

Hi Ronald,
Are you referring to the Share & Embed plugin? Or your basic embed code?

The Share & Embed plugin. Image attached below.

I want to set a custom iframe src in instead of the cdnapi.kaltura that it has.

Hi,
You can override the Share & Embed plugin embedCodeTemplate Flashvar. This is its default value (string):

'<iframe src="//cdnapi.kaltura.com/p/{mediaProxy.entry.partnerId}/sp/{mediaProxy.entry.partnerId}00/embedIframeJs/uiconf_id/{configProxy.kw.uiConfId}/partner_id/{mediaProxy.entry.partnerId}?iframeembed=true&playerId={configProxy.targetId}&entry_id={mediaProxy.entry.id}&flashvars[streamerType]=auto" width="560" height="395" allowfullscreen webkitallowfullscreen mozAllowFullScreen frameborder="0"></iframe>'

You can set the iframe src to whatever you want in this template, just make sure you keep the tokens you need (the curly brackets items)

Thank you so much. I was hitting my head against the wall with this. That works perfectly !