-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
houzhenhong
committed
Aug 26, 2016
1 parent
192a1c4
commit bcfe33f
Showing
593 changed files
with
41,917 additions
and
7,373 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<html> | ||
<head> | ||
<title>Youku Universal Player</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<style> | ||
html, body { height:100%; } | ||
body { margin:0; } | ||
</style> | ||
</head> | ||
<body> | ||
<div id="youku-playerBox" style="width:100%;height:100%;"></div> | ||
<script id='_youkujs_' type="text/javascript"></script> | ||
<script language="javascript"> | ||
// var wh = { }; | ||
window.onload = function(){ | ||
/*wh = function () { | ||
var dimension = {}; | ||
dimension.width = window.innerWidth; | ||
dimension.height = window.innerHeight; | ||
//console.log(dimension); | ||
return dimension; | ||
}();*/ | ||
|
||
<!-- 这个页面是直接内嵌的,第三方用户不需要管 --> | ||
<!-- 目前不支持starttime等动作参数 --> | ||
var script = document.getElementById('_youkujs_'); | ||
script.src = 'https://players.youku.com/jsapi'; | ||
script.onload = script.onreadystatechange = function(){ | ||
|
||
if(!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete'){ | ||
var _QS = QS(); | ||
/*QS.width = QS.width ? QS.width : wh.width; | ||
QS.height = QS.height ? QS.height :wh.height;*/ | ||
var arr = window.location.hash.split('#')[1] | ||
_QS.vid = arr; | ||
if(_QS.target == null ) _QS.target = "youku-playerBox"; | ||
if(_QS.client_id == null) _QS.client_id = "0edbfd2e4fc91b72";//"youkuind_"; | ||
var _select = new YoukuPlayerSelect(_QS); | ||
_select.select(); | ||
} | ||
}; | ||
}; | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.