I want to use this function (embed code on player) on my player provided by the video mod.
Link: http://www.longtailvideo.com/addons/plu ... vid=304&q=
I can make a static link show up code in the embed box according to the tutorial
Code: Select all
so.addVariable('sharing.code', encodeURIComponent('<embed src="http://example.com/players/12345.swf" width="480" height="270" allowfullscreen="true" />'));
This code only embeds only one code (http://example.com/players/12345.swf) in all the videos.
But we want to make the embed code dynamic, specific to each video.
I have tried putting the code that are generated at the bottom of the download page but those are generated by <TMPL_Var> etc codes which are not parsed or doesn't work in the flash player, so I need a solution to use dynamic embed code directly on the player.