Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Hide embed flashvars

6 replies [Last post]

I use this code for users to embed the video on their website:

<embed src="http://www.gameanyone.com/player.swf" width="450" height="400" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" flashvars="file=http://www.gameanyone.com/v.php5%3Fv%3D10235&image=http://www.gameanyone.com/t/10235.jpg&volume=100&displayclick=link&link=http://www.gameanyone.com&autostart=false&fullscreen=true&type=video&menu=false&skin=http://www.gameanyone.com/Kleur.swf" />

They could easily take off the skin or take out the link if they knew anything about HTML. I don't want them to be able to do this.

How can I make it load the flashvars from an external file? Such as... http://www.gameanyone.com/flashvars.php?id=10235

you can use an external config.xml file and write all the flashvars setting there...

from - http://code.jeroenwijering.com/trac/wiki/FlashVars

config (undefined): location of a XML file with flashvars. Useful for short embed codes or CDN stream redirecting. example: -
http://www.jeroenwijering.com/upload/config.xml

but please note, this will only make it slightly more difficult to absolute beginners - anybody with fundamental knowledge of webpages can always get at your files, at the latest when they have downloaded them to their machines to play...

Cool. Got it working.

Thanks!

To make it really difficult you could also precompile your skin into the player.

http://www.jeroenwijering.com/?item=skinning_the_JW_Player

bottom of the page.

Hi there

Is it possible to pre-compile ALL the flashvars into the player? (load all plugins, skin, colors etc) and if yes, is there a tutorial?

It is possible to do this with source changes, but there is no tutorial for this.