KCW with custom uiConf just loads a black square

3 replies [Last post]
Joined: 05/08/2012
Points: 12

I am integrating the Kaltura Contribution Wizard into my web application. Ideally I would like to use the KCW to only allow uploads and the webcam capability. I don't want it to have the "My Content" tab. I've found a few different documents that describe the process for editing the uiconf. The one I am currently following is Kaltura Contribution Wizard (KCW) Customization

I know of an existing uiconf(6709401) that is exactly like I want but it has the "My Content" tab. I've cloned it's XML using the API and removed the XML block for the "My Content" tab. When I create a new uiconf with this newly edited XML everything seems to work fine. A side by side comparison of the two uiconf objects seems to be confirm my changes and nothing looks out of place.

When I change the uiconf id in my HTML from 6709401 to 8042362(the id I was given back from the api add call) all I get is a black square. If I change the code back it works. If I do a straight clone of 6709401 without editing it, it still doesn't work. I still get that black box. Here is the XML that I've edited:

<kcw>
  <UIConfigList>
    <UIConfig>
      <target>ContributionWizard.swf</target>
      <cssUrl id="light_new_2.1.5" name="New Light(version 2.1.5 and up)">/content/uiconf/kaltura/kmc/kcw/v2.1.5/style.swf?R=14344.210541428221</cssUrl>
      <localeUrl id="en_US_kaltura_2.1.5" name="English US(version 2.1.5 and up)">/content/uiconf/kaltura/kmc/kcw/v2.1.5/en_US_ContributionWizard_kaltura.swf?R=14344.210541428221</localeUrl>
    </UIConfig>
  </UIConfigList>
  <webcamParams>
    <keyFrameInterval/>
    <width/>
    <height/>
    <framerate/>
    <favorArea/>
    <bandwidth/>
    <quality/>
  </webcamParams>
  <mediaTypes>
    <media type="video">
      <provider id="upload" name="upload" code="1">
        <authMethodList>
          <authMethod type="1"/>
        </authMethodList>
        <moduleUrl>UploadView.swf</moduleUrl>
        <fileFilters>
          <filter type="video">
            <allowedTypes>flv,asf,qt,mov,mpg,avi,wmv,mp4,f4v,m4v</allowedTypes>
          </filter>
        </fileFilters>
      </provider>
      <provider id="webcam" name="webcam" code="2">
        <authMethodList>
          <authMethod type="1"/>
        </authMethodList>
        <moduleUrl>WebcamView.swf</moduleUrl>
        <customData>
          <serverUrl>rtmp://{HOST_NAME}/oflaDemo</serverUrl>
        </customData>
      </provider>
    </media>
  </mediaTypes>
  <limitations>
    <upload>
      <singleFileSize min="-1" max="-1"/>
      <numFiles min="-1" max="1"/>
      <totalFileSize min="-1" max="-1"/>
    </upload>
    <search>
      <numFiles min="-1" max="1"/>
    </search>
  </limitations>
  <StartupDefaults>
    <SingleContribution>true</SingleContribution>
    <autoTOUConfirmation>false</autoTOUConfirmation>
    <showLogoImage>true</showLogoImage>
    <alwaysShowPermission>false</alwaysShowPermission>
        <showCategories>false</showCategories>
    <NavigationProperties>
      <showConfirmButtons>true</showConfirmButtons>
      <showCloseButton>true</showCloseButton>
      <enableIntroScreen>false</enableIntroScreen>
      <enableTagging>false</enableTagging>
    </NavigationProperties>
    <gotoScreen>
      <mediaType>video</mediaType>
      <mediaProviderName>upload</mediaProviderName>
    </gotoScreen>
  </StartupDefaults>
</kcw>

And here is the original XML:

<kcw>
  <UIConfigList>
    <UIConfig>
      <target>ContributionWizard.swf</target>
      <cssUrl id="light_new_2.1.5" name="New Light(version 2.1.5 and up)">/content/uiconf/kaltura/kmc/kcw/v2.1.5/style.swf?R=14344.210541428221</cssUrl>
      <localeUrl id="en_US_kaltura_2.1.5" name="English US(version 2.1.5 and up)">/content/uiconf/kaltura/kmc/kcw/v2.1.5/en_US_ContributionWizard_kaltura.swf?R=14344.210541428221</localeUrl>
    </UIConfig>
  </UIConfigList>
  <webcamParams>
    <keyFrameInterval/>
    <width/>
    <height/>
    <framerate/>
    <favorArea/>
    <bandwidth/>
    <quality/>
  </webcamParams>
  <mediaTypes>
    <media type="video">
      <provider id="upload" name="upload" code="1">
        <authMethodList>
          <authMethod type="1"/>
        </authMethodList>
        <moduleUrl>UploadView.swf</moduleUrl>
        <fileFilters>
          <filter type="video">
            <allowedTypes>flv,asf,qt,mov,mpg,avi,wmv,mp4,f4v,m4v</allowedTypes>
          </filter>
        </fileFilters>
      </provider>
      <provider id="webcam" name="webcam" code="2">
        <authMethodList>
          <authMethod type="1"/>
        </authMethodList>
        <moduleUrl>WebcamView.swf</moduleUrl>
        <customData>
          <serverUrl>rtmp://{HOST_NAME}/oflaDemo</serverUrl>
        </customData>
      </provider>
      <provider id="thissite" name="thissite" code="21" addsearch="true">
        <moduleUrl>SearchView.swf</moduleUrl>
        <authMethodList>
          <authMethod type="1"/>
        </authMethodList>
        <tokens>
          <token>
            <name>extra_data</name>
            <value>$partner_id</value>
          </token>
        </tokens>
      </provider>
    </media>
  </mediaTypes>
  <limitations>
    <upload>
      <singleFileSize min="-1" max="-1"/>
      <numFiles min="-1" max="1"/>
      <totalFileSize min="-1" max="-1"/>
    </upload>
    <search>
      <numFiles min="-1" max="1"/>
    </search>
  </limitations>
  <StartupDefaults>
    <SingleContribution>true</SingleContribution>
    <autoTOUConfirmation>false</autoTOUConfirmation>
    <showLogoImage>true</showLogoImage>
    <alwaysShowPermission>false</alwaysShowPermission>
        <showCategories>false</showCategories>
    <NavigationProperties>
      <showConfirmButtons>true</showConfirmButtons>
      <showCloseButton>true</showCloseButton>
      <enableIntroScreen>false</enableIntroScreen>
      <enableTagging>true</enableTagging>
    </NavigationProperties>
    <gotoScreen>
      <mediaType>video</mediaType>
      <mediaProviderName>upload</mediaProviderName>
    </gotoScreen>
  </StartupDefaults>
</kcw>

I've been going over and over the instructions but to no avail. Basically I can seem to use just about any other uiconf except ones that I've made myself. I'm not sure what I could be missing. There doesn't seem to be much on the forums/google about this problem , so I definitely think I am missing something in a big way.

Thanks in advance for any insight anyone can give me.

Joined: 12/12/2011
Points: 21

I'm experimenting the same.
Any clue?

Joined: 11/29/2012
Points: 46

Did you guys find any solution for this? I am having a similar problem while trying to use my own uiconf files.

Joined: 11/29/2012
Points: 46