New Spark Media Platform Help

Setting up Meta data

You can use metadata in the following Application templates: upload.html, enter.html, login.html or fbprofile.html.

To set up metadata:

  1. In the Navigation bar, select Applications>Applications.
  2. On the Applications page, select an application.
  3. Under Sections, click Application templates.
  4. Click one of the Application templates mentioned above.
  5. Make your changes to the template.

An example is provided below.

  1. Click Save .

The format used is meta[user][metaname]

For example:

In Media Factory, for the meta data form to be called “agent”, the format of the name is the following:  meta[user][agent]

To ensure that the metadata is uploaded with the media, add it to the swf uploader's params as follows:

if ( $('#agentMeta').length > 0 ) { swfu.addPostParam('meta[user][agent]', $('#agentMeta').val()); }

Where 'agentMeta' is the id for the input text field containing the metadata.

0 comments

Be the first to comment on Setting up Meta data.

Add a Comment

  • captcha