Skip to content

Commit

Permalink
5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
houzhenhong committed Aug 26, 2016
1 parent 192a1c4 commit bcfe33f
Show file tree
Hide file tree
Showing 593 changed files with 41,917 additions and 7,373 deletions.
Empty file modified .editorconfig
100755 → 100644
Empty file.
Empty file modified .htaccess
100755 → 100644
Empty file.
Empty file modified CONTRIBUTING.md
100755 → 100644
Empty file.
Empty file modified LICENSE
100755 → 100644
Empty file.
Empty file modified Vagrantfile
100755 → 100644
Empty file.
Empty file modified admin.php
100755 → 100644
Empty file.
Empty file modified api.php
100755 → 100644
Empty file.
46 changes: 46 additions & 0 deletions assets/youku/index.html
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>
9 changes: 7 additions & 2 deletions composer.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,14 @@
"flarum/flarum-ext-suspend": "^0.1.0",
"flarum/flarum-ext-tags": "^0.1.0",
"jsthon/flarum-ext-simplified-chinese": "^0.1.0@beta",
"sijad/flarum-ext-pages": "^0.1.0@beta",
"sijad/flarum-ext-links": "^0.1.0@beta",
"flagrow/flarum-ext-image-upload": "^0.2.3",
"cloudinary/cloudinary_php": "^1.4",
"s9e/flarum-ext-mediaembed": "^0.3.2",
"vingle/flarum-configure-smtp": "^0.1.0@beta",
"flagrow/flarum-ext-image-upload": "^0.2.1"
"sijad/flarum-ext-details": "^0.1.2",
"vingle/flarum-configure-smtp": "^0.2.0",
"vingle/flarum-share-social": "^0.1.0"
},
"require-dev": {
"franzl/studio": "^0.10.0"
Expand Down
Loading

0 comments on commit bcfe33f

Please sign in to comment.