forked from 0x2620/pandora
fix embed
This commit is contained in:
parent
2cb5512099
commit
1f3d39524f
2 changed files with 6 additions and 8 deletions
|
@ -4,19 +4,16 @@
|
|||
<title>{{settings.SITENAME}}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<link rel="shortcut icon" type="image/png" href="/static/png/icon.16.png"/>
|
||||
<link rel="stylesheet" type="text/css" href="/static/oxjs/build/css/ox.ui.css"/>
|
||||
<script type='text/javascript'>
|
||||
if(typeof(console)=='undefined') {
|
||||
console = {};
|
||||
console.log = function() {};
|
||||
}
|
||||
</script>
|
||||
<script type="text/javascript" src="/static/js/jquery/jquery.js"></script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/jquery/jquery.js"></script>
|
||||
<script type="text/javascript" src="/static/js/jquery/jquery.tmpl.min.js"></script>
|
||||
<script type="text/javascript" src="/static/js/jquery/jquery.videosupport.js"></script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/js/ox.load.js"></script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/js/ox.js"></script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/js/ox.ui.js"></script>
|
||||
<script type="text/javascript" src="/static/oxjs/build/Ox.js"></script>
|
||||
<script type="text/javascript" src="/static/js/pandora.embed.js"></script>
|
||||
</head>
|
||||
<body></body>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/***
|
||||
Pandora embed
|
||||
***/
|
||||
|
||||
Ox.load('UI', function() {
|
||||
var pandora = new Ox.App({
|
||||
apiURL: '/api/',
|
||||
}).launch(function(data) {
|
||||
|
@ -59,3 +59,4 @@ var pandora = new Ox.App({
|
|||
ui.info = new app.info(item)
|
||||
.appendTo(document.body);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue