Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruenshen committed Jan 7, 2020
1 parent de136e2 commit 2c278e1
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Prepare HTML, for instance `index.html`
```html
<div id="player"></div>

<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>
<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>
<script src="./index.js"></script>
```

Expand Down
2 changes: 1 addition & 1 deletion demo/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>
<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>
</head>
<script>
async function initPlayer() {
Expand Down
2 changes: 1 addition & 1 deletion demo/create-plugin/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="player" style="width: 100%; height: 480px">載入中</div>

<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>
<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>
<script src="index.js"></script>
4 changes: 2 additions & 2 deletions demo/dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<div id="demo"></div>

<!-- test in production -->
<!--<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>-->
<!--<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>-->

<!-- test in staging -->
<!--<script src="https://app-staging.straas.net/sdk/3.3.3/player-sdk.js"></script>-->
<!--<script src="https://app-staging.straas.net/sdk/3.4.0/player-sdk.js"></script>-->

<!-- test in sdk, just run `npm run dev` -->
<script src="/dist/straas.bundle.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions demo/dev/slow-index.js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<h1>http://your.own.domain/</h1>
<div id="player" style="width: 1100px; height: 640px">載入SDK中...</div>

<!--<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>-->
<!--<script src="https://app-staging.straas.net/sdk/3.3.3/player-sdk.js"></script>-->
<!--<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>-->
<!--<script src="https://app-staging.straas.net/sdk/3.4.0/player-sdk.js"></script>-->

<!-- test in sdk, just run `npm run dev` -->
<script src="/dist/straas.bundle.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion demo/plugin-usage/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="player" style="width: 100%; height: 480px">載入中</div>

<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>
<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>
<script src="index.js"></script>
2 changes: 1 addition & 1 deletion demo/seek-buttons/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="player" style="width: 100%; height: 480px">載入中</div>

<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>
<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>
<script src="index.js"></script>
2 changes: 1 addition & 1 deletion demo/show-views-count/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="player" style="width: 100%; height: 480px">載入中</div>

<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>
<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>
<script src="index.js"></script>
4 changes: 2 additions & 2 deletions demo/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function getConfig() {
state.distScriptSrc = `../../../dist/${state.version}/player-sdk.js`
break
case 'staging':
state.distScriptSrc = 'https://app.straas.net/sdk/3.3.3/player-sdk.js'
state.distScriptSrc = 'https://app.straas.net/sdk/3.4.0/player-sdk.js'
break
default:
logMessage(`
Expand All @@ -84,7 +84,7 @@ function getConfig() {
若沒有選取環境,默認為 production
`)
case 'production':
state.distScriptSrc = 'https://app.straas.net/sdk/3.3.3/player-sdk.js'
state.distScriptSrc = 'https://app.straas.net/sdk/3.4.0/player-sdk.js'
break
}

Expand Down
2 changes: 1 addition & 1 deletion demo/videojs-options/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="player" style="width: 100%; height: 480px">載入中</div>

<script src="https://app.straas.net/sdk/3.3.3/player-sdk.js"></script>
<script src="https://app.straas.net/sdk/3.4.0/player-sdk.js"></script>
<script src="index.js"></script>

0 comments on commit 2c278e1

Please sign in to comment.