var cp=60;
Player.controls.currentPosition=cp;
以上语句使用media player10播放时可以跳到60秒,使用media player11播放的时候就会滞前,播放时间会跑到55秒,请问这是怎么回事呀,哪位前辈帮助解决一下。
Player.controls.currentPosition=cp;
以上语句使用media player10播放时可以跳到60秒,使用media player11播放的时候就会滞前,播放时间会跑到55秒,请问这是怎么回事呀,哪位前辈帮助解决一下。
<?php
/*********************************************
*
* 文件名: example6.php
* 作 用: 显示实例程序2
*
* 作 者: 大师兄
* Email: [email protected]* 修 正: forest
*********************************************/
include_once("./comm/Smarty.class.php"); $smarty = new Smarty();
$smarty->templates("./templates");
$smarty->templates_c("./templates_c");
$smarty->cache("./cache");
$smarty->cache_lifetime = 0;
$smarty->caching = true;
$smarty->left_delimiter = "<{";
$smarty->right_delimiter = "}>";$array[] = array("newsID"=>1, "newsTitle"=>"第1条新闻");
$array[] = array("newsID"=>2, "newsTitle"=>"第2条新闻");
$array[] = array("newsID"=>3, "newsTitle"=>"第3条新闻");
$array[] = array("newsID"=>4, "newsTitle"=>"第4条新闻");
$array[] = array("newsID"=>5, "newsTitle"=>"第5条新闻");
$array[] = array("newsID"=>6, "newsTitle"=>"第6条新闻"); $smarty->assign("newsArray", $array);//编译并显示位于./templates下的index.tpl模板
$smarty->display("example6.tpl");
?>
<html>
<head><title>这是一个section使用的例子</title></head>
<body>
这里将输出一个数组:<br>
<{section name=loop loop=$News}>新闻编号:<{$News[loop].newsID}><br>
新闻标题:<{$News[loop].newsTitle}><br><hr><{sectionelse}>
对不起,没有任何新闻输入!
<{/section}>
</body>
</html>
[/code]