Box Content Preview no working
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>Box Content Preview Demo</title>
<!--
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise"></script>
<script src="https://cdn01.boxcdn.net/platform/preview/2.54.0/en-US/preview.js"></script>
<link
rel="stylesheet"
href="https://cdn01.boxcdn.net/platform/preview/2.54.0/en-US/preview.css"
/>
-->
<link href="https://cdn01.boxcdn.net/platform/preview/2.34.0/en-US/preview.css" rel="stylesheet" type="text/css">
<script src="https://cdn01.boxcdn.net/polyfills/core-js/2.5.3/core.min.js"></script>
<script src="https://cdn01.boxcdn.net/platform/preview/2.34.0/en-US/preview.js"></script>
</head>
<body>
<div class="preview-container" style="height:400px;width:575px"></div>
<script>
/*
var preview = new Box.Preview();
preview.show('731676422102', 'ZUQGNnwo8njZZBBwdCiN7ktXQfcIT1fL', {
container: '.preview-container',
});
*/
var preview = new Box.Preview();
preview.show('731676422102', 'xxx', {
container: '.preview-container',
showDownload: true
});
</script>
</body>
</html>
サインインしてコメントを残してください。
コメント
0件のコメント