XFileSharing Pro - Sharing - Embed option in the Player

Powerfull XFileSharing version

Moderator: admin

Message
Author
shontrix
Posts: 3
Joined: Sep 30, 2012 5:02 pm

Sharing - Embed option in the Player

#1 Postby shontrix » Oct 04, 2012 12:11 pm

Hi, I bought the script with video Mod and 5 other mods recently. I have most of the things up and running on the site.

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('plugins', 'sharing-3');
    so.addVariable('sharing.link', 'http://www.bigbuckbunny.org');
    so.addVariable('sharing.code', encodeURIComponent('<embed src="http://example.com/players/12345.swf" width="480" height="270" allowfullscreen="true" />'));
    so.write('mediaplayer');


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.

Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests