Skip to content

Commit

Permalink
release v0.5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
snowinszu committed Jul 14, 2024
1 parent f749190 commit 48ef088
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<h1 align="center"><a href="" target="_blank" rel="noopener noreferrer"><img width="250" src="https://www.swarmcloud.net/img/logo.png" alt="cdnbye logo"></a></h1>
<h4 align="center">Let your viewers become your unlimitedly scalable CDN.</h4>
<p align="center">
<a href="https://www.npmjs.com/package/cdnbye-shaka"><img src="https://img.shields.io/npm/v/cdnbye-shaka.svg?style=flat" alt="npm"></a>
<a href="https://www.jsdelivr.com/package/npm/cdnbye-shaka"><img src="https://data.jsdelivr.com/v1/package/npm/cdnbye-shaka/badge" alt="jsdelivr"></a>
<a href="https://www.npmjs.com/package/@swarmcloud/shaka"><img src="https://img.shields.io/npm/v/@swarmcloud/shaka.svg?style=flat" alt="npm"></a>
<a href="https://www.jsdelivr.com/package/npm/@swarmcloud/shaka"><img src="https://data.jsdelivr.com/v1/package/npm/@swarmcloud/shaka/badge" alt="jsdelivr"></a>
</p>

CDNBye P2P engine for [Shaka Player](https://github.com/google/shaka-player).
Expand Down Expand Up @@ -36,7 +36,7 @@ CDNBye | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | ❌ |
## Include
Include the pre-built script of latest version:
```html
<script src="https://cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@swarmcloud/shaka"></script>
```

## API and Configuration
Expand Down
6 changes: 3 additions & 3 deletions Readme_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<h4 align="center">Save Your Bandwidth using WebRTC.</h4>
<h4 align="center">视频网站省流量&加速插件.</h4>
<p align="center">
<a href="https://www.npmjs.com/package/cdnbye-shaka"><img src="https://img.shields.io/npm/v/cdnbye-shaka.svg?style=flat" alt="npm"></a>
<a href="https://www.jsdelivr.com/package/npm/cdnbye-shaka"><img src="https://data.jsdelivr.com/v1/package/npm/cdnbye-shaka/badge" alt="jsdelivr"></a>
<a href="https://www.npmjs.com/package/@swarmcloud/shaka"><img src="https://img.shields.io/npm/v/@swarmcloud/shaka.svg?style=flat" alt="npm"></a>
<a href="https://www.jsdelivr.com/package/npm/@swarmcloud/shaka"><img src="https://data.jsdelivr.com/v1/package/npm/@swarmcloud/shaka/badge" alt="jsdelivr"></a>
</p>

## 优势
Expand Down Expand Up @@ -34,7 +34,7 @@ CDNBye | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ❌ | ❌ |
## 集成
通过script标签引入最新版本:
```html
<script src="https://cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@swarmcloud/shaka"></script>
```

## API文档
Expand Down
2 changes: 1 addition & 1 deletion demo/clappr.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script src="//cdn.jsdelivr.net/npm/@clappr/player@0.4.0/dist/clappr.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/shaka-player@4.7.9/dist/shaka-player.compiled.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/clappr-shaka-playback@2.2.8/dist/clappr-shaka-playback.external.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/@swarmcloud/shaka@latest"></script>
<style>
#video {
width: 720px;
Expand Down
2 changes: 1 addition & 1 deletion demo/dplayer.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>DPlayer with shaka-p2p-engine</title>
<script src="//cdn.jsdelivr.net/npm/shaka-player@4.7.9/dist/shaka-player.compiled.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/@swarmcloud/shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/dplayer@1.26.0"></script>
<style>
#dplayer {
Expand Down
2 changes: 1 addition & 1 deletion demo/plyr.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>Plyr player with shaka-p2p-engine</title>
<link rel="stylesheet" href="//cdn.plyr.io/3.5.6/plyr.css">
<script src="//cdn.plyr.io/3.5.6/plyr.js"></script>
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/@swarmcloud/shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/shaka-player@4.7.9/dist/shaka-player.compiled.min.js"></script>
<style>
#wrapper {
Expand Down
2 changes: 1 addition & 1 deletion demo/quick-start.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Shaka Player with P2P Engine (HLS or MPEG-DASH)</title>
<script src="//cdn.jsdelivr.net/npm/shaka-player@4.7.9/dist/shaka-player.compiled.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/@swarmcloud/shaka@latest"></script>
<!-- <script src="../dist/shaka-p2p-engine.min.js"></script>-->
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demo/radiant/v6-v8.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<body>
<script src="https://cdn.radiantmediatechs.com/rmp/7.8.1/js/rmp.min.js"></script>
<!-- P2PEngine -->
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/@swarmcloud/shaka@latest"></script>
<div id="rmp"></div>
<p id="version"></p>
<h3>download info:</h3>
Expand Down
2 changes: 1 addition & 1 deletion demo/radiant/v9.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<body>
<script src="https://cdn.radiantmediatechs.com/rmp/9.5.0/js/rmp.min.js"></script>
<!-- P2PEngine -->
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/@swarmcloud/shaka@latest"></script>
<div id="rmp"></div>
<p id="version"></p>
<h3>download info:</h3>
Expand Down
2 changes: 1 addition & 1 deletion demo/videojs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<video id=example-video width=600 height=300 class="video-js vjs-default-skin" controls></video>
<script src="//cdn.jsdelivr.net/npm/shaka-player@4.7.9/dist/shaka-player.compiled.min.js"></script>
<script src="//vjs.zencdn.net/5.19.2/video.js"></script>
<script src="//cdn.jsdelivr.net/npm/cdnbye-shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/@swarmcloud/shaka@latest"></script>
<script src="//cdn.jsdelivr.net/npm/videojs-shaka@1.1.2/dist/videojs-shaka.min.js"></script>
<script>
var player = videojs('example-video', {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "cdnbye-shaka",
"version": "0.5.3",
"version": "0.5.12",
"description": "Let your viewers become your unlimitedly scalable CDN.",
"main": "./dist/shaka-p2p-engine.min.js",
"types": "./dist/shaka-p2p-engine.min.d.ts",
"files": [
"dist"
],
"scripts": {
"git-push": "git add demo && git add package.json && git add README.md && git add Readme_zh.md && git commit -m 'release v0.5.3' && git push origin master",
"git-push": "git add demo && git add package.json && git add README.md && git add Readme_zh.md && git commit -m 'release v0.5.12' && git push origin master",
"git-pull": "git pull origin master",
"publish": "npm publish",
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 48ef088

Please sign in to comment.