Results 1 to 5 of 5

Thread: Add Metadata to player.inc

  1. #1
    Join Date
    Jan 2008
    Posts
    216

    Default Add Metadata to player.inc

    Hello, I'm doing some mods to the player and now I need also to put in some metadata...
    For example I have to put the title of the video, keywords and duration.
    I've tried to add for example the variable for the title as below in player.inc:

    Code:
    so.addVariable("title","{$video_info.title}");
    But it wont work giving this error: Parse error: syntax error, unexpected '.', expecting '}' . Is obviously a syntax error...

    So my question for Admin or anyone else who can help here is:
    What is the syntax $variable for VIDEO TITLE, VIDEO CATEGORY, VIDEO KEYWORDS, VIDEO DURATION IN SECONDS to be included as "so.addVariable etc etc" in player.inc?
    Thank you in advance for your help.

  2. #2
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Add Metadata to player.inc

    No answer about it?

  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Add Metadata to player.inc

    Did you try at the JW player site? The answer is probably there if you poke around.

    Using the wizard...

    http://www.jeroenwijering.com/?page=wizard

    maybe the syntax is more of something like this?

    so.addParam('flashvars','&file=/upload/flash.flv&title=video_info.title');

    I have no idea but you might want to start there, at the site where the player comes from...they have a forum so maybe ask over there.
    If it's not fun, stop doing it!

  4. #4
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Add Metadata to player.inc

    Thank you for your answer grymoor, what I need are $variables for VIDEO TITLE, VIDEO CATEGORY, VIDEO KEYWORDS, VIDEO DURATION IN SECONDS of Vshare...
    After I will find the correct way to put them into the video configuration. ;)

  5. #5
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: Add Metadata to player.inc

    If I'm understanding this correctly, you need to know what the variables are that vShare uses to call the information...?
    If it's not fun, stop doing it!

Similar Threads

  1. Suggestion to upgrade the flv player, beside jw player?
    By cmedia in forum General Discussions
    Replies: 9
    Last Post: 04-28-2009, 02:40 PM
  2. flv metadata
    By RAMMSTEIN in forum Feature Requests
    Replies: 1
    Last Post: 04-04-2009, 07:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •