Included are:
- ActionScript 3.0
- Flash CS3 , Flash CS4 ++
Viewing Locally
Viewing this file locally on a web browser you may have problems. Once you upload the file to a web server everything will work.
FEATURES
- 16 kb
- No knowledge on Flash needed.
- Flashvars support
- Help file included
- Movieclip & text colour set. with html.
- get font…
How to modify the file: [ WITH HTML ]
var vars = {videoUrl:'video/02.flv', previewUrl:'video/480x300.jpg', buffertime:'8', timeDisplayMinus:'false',
autoPlay:'true', mcColor:'0xEDEDED', txtColor:'0xEDEDED', controlBgColor:'0x070707', controlBgAlpha:'.5'};
var params = {scale:'noScale', salign:'lt', menu:'false', allowFullScreen:"true"};
var attributes = {};
swfobject.embedSWF("preview.swf", "flashContent", "480", "300", "9.0.45", "js/expressInstall.swf", vars, params,
attributes );
UPDATE : [ Add code / VideoPlayerClass.as ]
This is after the update, please publish the file.
Line 101 :
if(paramObj.autoPlay != undefined) {
if(paramObj.autoPlay == "true") {
autoPlay = true;
}else {
autoPlay = false;
}
else {
autoPlay = false;
}
// add this
if(paramObj.buffertime != undefined) {
buffertime = paramObj.buffertime;
}else {
buffertime = 2;
}