我有以下 javascript 为 FlexPlayer 编写 HTML:
document.writeln("<object width=\"489\" height=\"414\" FlashVars=\""+videoSource+"\">");
document.writeln("<param name=FlashVars value='sourceUrl=videoSource'>");
我需要FlashVars="sourceUrl=videoSource"
;其中 videoSource 是我从 PHP 获取的当前视频的变量,而 sourceUrl 是 Flex 播放器的变量。请修复第一行的 int,因为这个 FlashVars 语法让我发疯。