The skoffer apiFrom Skoffer One Click ScreencastingAPI version 1.0:The simple API is very easy to use: just put the HTML code <applet code="com.skoffer.SkofferApplet" archive="http://api.skoffer.com/v1/skoffer.jar" name="Skoffer.com Screencast Recorder" width="200" height="180" MAYSCRIPT> somewhere in a HTML document to load the screen-recorder Java software. When the user saves the new screencast, the Java applet calls the URL of the document where the applet was started with the GET variable „skofferid“, to pass the ID of the screencast. Please note: The screen-recorder calls the document and adds &skofferid=123456789 where 123456789 is an example for a video-ID If you run the applet from http://www.example.com/skoffer_popup.php?a_variable=xy
it would redirect the user´s browser to http://www.example.com/skoffer_popup.php?a_variable=xy&skofferid=123456789
<embed src=http://media.skoffer.com/api/v1/skoffer_player.swf?config={"playlist":[{"url":"http://media.skoffer.com/###URL###.flv","autoPlay":false,"autoBuffering":true,"scaling":"fit"}]} type="application/x-shockwave-flash" wmode="transparent" width="425" height="350" allowFullScreen="true" allowScriptAccess="always" allowNetworking="all" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
You can fully adapt the design of the player to your needs. Please consult this page (we are using the Flowplayer 3) to learn how to change the player´s colors, or how to design and integrate (integrade means that the Skoffer player loads your skin as a swf-file from an URL you specify as parameter) a whole new custom skin into the player. Please note that only this player (loaded from http://media.skoffer.com) is supported officially. It´s not guaranteed that other flash video players will work in the future, because the streaming technology might change or new Skoffer features which work together with the player could be released. Thumbnails (the third second of the video) are available from http://media.skoffer.com/thumbnails/240x180/<skofferid>.jpg http://media.skoffer.com/thumbnails/600x450/<skofferid>.jpg (where <skofferid> has to be replaced with the video-id to access jpg-images in resolutions of 240x180 and 600x450 pixels)
|