Skip to content

Commit

Permalink
v1.0.44
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Sep 26, 2022
1 parent 3987d2c commit b7a606b
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/core",
"version": "1.0.43",
"version": "1.0.44",
"description": "Oh! Another web video player.",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
3 changes: 2 additions & 1 deletion packages/core/src/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ export class Player {
load = async (source: Source) => {
for await (const plugin of this.plugins) {
if (plugin.load) {
this.isCustomLoader = await plugin.load(this, source, { loader: this.isCustomLoader })
const match = await plugin.load(this, source, { loader: this.isCustomLoader })
if (match && !this.isCustomLoader) this.isCustomLoader = true
}
}
if (!this.isCustomLoader) {
Expand Down
2 changes: 1 addition & 1 deletion packages/danmaku/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/danmaku",
"version": "1.0.43",
"version": "1.0.44",
"description": "Danmaku plugin for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/dash/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/dash",
"version": "1.0.43",
"version": "1.0.44",
"description": "Dash plugin for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/hls/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/hls",
"version": "1.0.43",
"version": "1.0.44",
"description": "Hls plugin for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/react",
"version": "1.0.43",
"version": "1.0.44",
"description": "React wrapper for oplayer.",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/torrent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/torrent",
"version": "1.0.43",
"version": "1.0.44",
"description": "Torrent plugin for oplayer.",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/ui",
"version": "1.0.43",
"version": "1.0.44",
"description": "Official ui for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down

1 comment on commit b7a606b

@vercel
Copy link

@vercel vercel bot commented on b7a606b Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

oplayer – ./

oplayer-git-main-shiyiya.vercel.app
oplayer.vercel.app
oplayer-shiyiya.vercel.app

Please sign in to comment.