Skip to content

Commit

Permalink
Merge pull request #166 from girlbymirror/master
Browse files Browse the repository at this point in the history
fixed:playbackrate(mp4/hls)
  • Loading branch information
girlbymirror authored Aug 2, 2022
2 parents f92ea3a + a8e8361 commit 01a888f
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist-multi-thread/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20220727');
require('./h265webjs-v20220801');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20220727');
require('./h265webjs-v20220801');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example_normal/dist-multi-thread/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20220727');
require('./h265webjs-v20220801');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example_normal/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20220727');
require('./h265webjs-v20220801');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down
2 changes: 1 addition & 1 deletion example_normal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<link rel="stylesheet" type="text/css" href='player-view/css/button.css'>
<link rel="stylesheet" type="text/css" href='player-view/css/progress.css'>
<script src="dist/missile.js"></script>
<script src="dist/h265webjs-v20220727.js"></script>
<script src="dist/h265webjs-v20220801.js"></script>
<script src="index.js"></script>

</head>
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example_vue/public/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20220727');
require('./h265webjs-v20220801');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down
4 changes: 2 additions & 2 deletions index-debug.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
<meta charset="utf-8" name="github" content="https://github.com/numberwolf/h265web.js">

<script src="dist/missile.js"></script> <!-- IMPORTANT -->
<script src="dist/h265webjs-v20220727.js"></script> <!-- IMPORTANT -->
<script src="dist/h265webjs-v20220801.js"></script> <!-- IMPORTANT -->

<!--<script src="dist-multi-thread/missile-multi-thread.js"></script>
<script src="dist-multi-thread/h265webjs-v20220727.js"></script>-->
<script src="dist-multi-thread/h265webjs-v20220801.js"></script>-->

<style>
</style>
Expand Down
2 changes: 1 addition & 1 deletion src/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20220727');
require('./h265webjs-v20220801');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down
2 changes: 1 addition & 1 deletion src/src/native/mp4-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Mp4PlayerModule {
return false;
}
// playbackRate
this.videoTag = rate;
this.videoTag.playbackRate = rate;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/src/native/nv-videojs-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class NvVideojsCoreModule {
return false;
}
// playbackRate
this.videoTag = rate;
this.videoTag.playbackRate = rate;
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion src/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
# * Github: https://github.com/numberwolf/h265web.js
# *
# **********************************************************/
VERSION='v20220727' # output version + index.js
VERSION='v20220801' # output version + index.js
WASM_VERSION='v20220706'

0 comments on commit 01a888f

Please sign in to comment.