There are 3 ways to input parameters. The main input format is JSON. No XML or other format is supported, because JSON is standard, easy to parse and easy to produce.
Please note that this page is assuming that you know how to embed Flash objects into a webpage. You can use objects, embeds, SWFObject or other methods as well.
Each way is useable with query string or flashvars as well (the examples are in query string).
http://www.example.com/wuplayer.swf?url=VALUE
The value is the URL encoded url of the JSON input, like:
http://www.example.com/wuplayer.swf?url=http%3A%2F%2Fwww.example.com%2Fplayer.json
The player will send the following GET parameters to this URL:
So, with the example above, your application will receive this GET request:
http://www.example.com/player.json?random=654645&wuplayer_h264capable=true
http://www.example.com/wuplayer.swf?jsonparams=VALUE
The value is the URL encoded JSON parameter object. The player will not download anything from a url, but you input all the JSON thing inline.
Read about the JSON parameters here.
http://www.example.com/wuplayer.swf?video=VIDEO_URL
&preview=PREVIEW_IMAGE_URL&title=TITLE
The player is a simple video player in this mode, with default skin and many-many features turned off. Every value must be URL encoded:
If you set either PREVIEW_IMAGE_URL or TITLE then the player will show them until the user clicks on the player. This equals to autoplay OFF, otherwise the video starts immediately (autoplay ON).
iMect means internet, media and other cool things. iMect is a small company near lake Velence, Hungary. We’ve a big footer on every page where you can discover what we do and what happens with us.
Az iMect jelentése: internet, média és egyéb király dolgok. Egy kis cég vagyunk közel a Velencei-tóhoz. Minden oldalon van egy nagy lábléc, ahol felfedezheted, hogy mivel foglalkozunk.