Skip to content

Instantly share code, notes, and snippets.

@KG1898
Created November 7, 2016 04:32
Show Gist options
  • Save KG1898/f76b9b14a759b35b999103a36ca890fe to your computer and use it in GitHub Desktop.
Save KG1898/f76b9b14a759b35b999103a36ca890fe to your computer and use it in GitHub Desktop.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
<title>腾讯视频</title>
<meta http-equiv="expires" content="0">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<link rel="stylesheet" type="text/css" href="http://imgcache.gtimg.cn/tencentvideo_v1/mobile/v2/style/play.css">
<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>
<script language="javascript" src="//imgcache.qq.com/tencentvideo_v1/tvp/js/tvp.player_v2_jq.js" charset="utf-8"></script>
</head>
<body>
<div id="mod_player"></div>
<script language="javascript">
var video = new tvp.VideoInfo();
video.setVid("v0021v8caz2");
var player = new tvp.Player();
player.create({
width: 480,
height: 360,
video: video,
modId: "mod_player",
autoplay: true,
vodFlashExtVars: {bullet:0, logo:0, searchpanel:0, showend:0},
isVodFlashShowCfg: false,
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment