//js部分
var flashvars = {
playname: "1.flv",
videoname: "这是1"
} ;
swfobject.embedSWF("/videoPlayer_iest.swf", "myContent", "663", "660", "9.0.0", "/expressInstall.swf", flashvars, {wmode: "transparent"});
//as取值
var _file = stage.loaderInfo.parameters.playname;
本文介绍了一种使用JavaScript配置Flash视频播放器的方法。通过设置变量`flashvars`来传递视频文件名及显示名称等参数,并利用`swfobject.embedSWF`函数将SWF文件嵌入到网页中。
1487

被折叠的 条评论
为什么被折叠?



