![]() ![]() |
Home |
How it works |
Projects archive |
Contact Us Air Compressor Bot |
|
| The Career Path of Freelance Programming Jobs |
Minimal trransparent FLV Player |
![]() |
Bidding Time: |
27/01/2008 22:44 - 06/02/2008 00:00 |
Budget: |
$30-250 |
Status: |
Closed |
|
|
|
Job Type: |
|
Description: |
Project: Very small player (2-3 Kb) not necessarily based on JW’s FLA but similar in limited functions. It should be limited to only playing .FLV’s or display s a png Nag Screen and watermark file that I will supply. Code it as you wish but it needs capable of interacting with swfobject.js and accept the following list of parameters AND accept the same parameters if it is instantiated by conventional OBJECT and EMBED commands. These parameters should function and have the same default values as they do in JW’s 3.13 Player. {var so = new SWFObject('jblite.swf','single','288','184', '8'); Note 1 so.addVariable('file', getQueryParamValue('id')); OR so.addVariable('file', 'filename.flv'); Single FLV files only so.addVariable('enablejs','true'); true or false so.addVariable('javascriptid','single'); Determined by user so.addVariable('bufferlength', '3'); numeric range 1-10 so.addVariable('autostart','true'); true or false so.addVariable('width','288'); numeric so.addVariable('height','184'); numeric so.addVariable('scale', 'true'); true or false //so.addVariable('overstretch','fit'); true,false, fit,none so.addVariable('volume','65'); numeric so.addVariable('showcontrols','false'); numeric //so.addVariable('clicklink','http://www.google.com'); Link to a page if click on the video //so.addVariable('clicklinktarget','_self'); _self OR _blank //so.addVariable('redirectlink','http://www.google.com'); Link to a page at end of current video //so.addVariable('redirectlinktarget','_self'); _self OR _blank so.addParam('menu','true'); true or false //so.addParam('cookietype','d'); a,s,h,d,m,y ** //so.addParam('cookieinterval','s'); numeric – 2 digits*** //so.addParam('stop','t'); Stop on last frame true or false so.write('flashcontent')}; DIV ID Note: 1 Player name, Javascript ID, width, height, Flash Player minimum version // : indicates parameters that are OPTIONAL and may be used but are NOT REQUIRED ** : a=always, s = once per session, h=every x hours,d= every x days,m=every x months, y=once per year *** : 99=always any other cookie type will use the 2 digits to control the frequency of appearance These standard JW parameters are NOT be options. They should be default attributes of your player. so.addParam('wmode','transparent'); so.addParam('quality','best' ); so.addVariable('transparent','true'); so.addVariable('abouttxt','playourvideo.net'); so.addVariable('aboutlnk','http://www.playourvideo.net'); The Player control should only show if SHOWCONTROLS is TRUE and the cursor is over the top of the video player. The Player control should have Play/Pause, Stop, Volume Slider controls only. Please use the same skinning used in the JW Player. It should be opaque at approx 65%. It should be centered under the video display area. I will want two separate com folders for this project from you upon completion psyment for of the project. In addition I will want the .as, .fla, and swf files. The first com folder is for a downloadable demo of the swf that times out after 10 days from installation and then displays this nag screen whenever someone tries to play a video in it. This will be controlled by a Registration file I will provide to the service provider.. I would also like a transparent watermark similar to this green boxed area superimposed over the video when the demo player plays. I will provide you with a .png that is appropriate. The second com folder is basically the same but without the 10 day time out. Instead, it should include additional logic similar to this or your improved concept of this idea. I want the swf to verify that is on domain(s) and any sub domain(s) it was licensed for. Sample code concept for .as file: this_url = _root._url; // list of allowed urls. allowed_urls = new Array("www..usersdomain.com", “userdomain.com"); So I can create custom SWF’s locked to each registered users domain. // Take out the http://, and get the domain // Life would be so much easier if Flash supported regular expressions // as a standard. this_url = this_url.substr(7, this_url.length); this_url = this_url.substr(0, this_url.indexOf("/")); var found_good_url = 0; for(var i=0; i<allowed_urls.length; i++) { if(this_url == allowed_urls[i]) { found_good_url = 1; break; } } if(found_good_url == 1) { gotoAndStop("goodurl"); If it’s a valid domain, play the video } else { gotoAndStop("badurl"); If it’s not, display this image I certainly understand that no copy protection will remain secure for long but this approach PLUS the encryption software will use will slow MOST folks down. Related Projects: This project is the proprietary information of .
Click here to remove this project from OUR database.
|
Operating System: |
MS Windows |
Database System: |
(None) |
| <<< back |
|
| Home | Projects archive | RSS | Resources | Links | Contact Us | © 2004-2008 ProjectsList.biz /0.765 |