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.
Re: Add Metadata to player.inc
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.
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. ;)
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...?