http://v.qq.com/txp/iframe/player.html?vid=c07984ct1kl
|
|
|
<script type="text/javascript" src="swfobject.js"></script> |
|
<script type="text/javascript" src="http://qzs.qq.com/tencentvideo_v1/js/tvp/tvp.player.js"></script> |
|
Tencent video analytic js |
|
</head> |
|
|
|
<body> |
|
<Div id = "mod_player"> <-! This player div is ready to output location -> </ div> |
|
<div id="img"><img src="#" width="340" height="227" onclick="playV()"/></img></div> |
|
<script language="javascript"> |
|
function playV(){ |
|
was video = new tvp.VideoInfo (); |
|
// incoming video to the video object vid |
|
video.setVid("c07984ct1kl"); |
|
|
|
var player = new tvp.Player(600, 450); |
|
player.addParam("flashskin", "http://imgcache.qq.com/minivideo_v1/vd/res/skins/TencentPlayerMiniSkin.swf"); |
|
// set the video player to load initialization |
|
player.setCurVideo(video); |
|
// output player |
|
player.write("mod_player"); |
|
} |
|
</script> |