@next2d/media 1.14.22 → 1.14.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Sound.d.ts +2 -2
- package/dist/Video.d.ts +2 -2
- package/dist/Video.js +7 -5
- package/package.json +10 -10
package/dist/Sound.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { URLRequest } from "@next2d/net";
|
|
2
2
|
import { EventDispatcher } from "@next2d/events";
|
|
3
|
-
import { DisplayObjectContainer } from "@next2d/display";
|
|
4
|
-
import { SoundTagImpl, SoundCharacterImpl, Character } from "@next2d/interface";
|
|
3
|
+
import type { DisplayObjectContainer } from "@next2d/display";
|
|
4
|
+
import type { SoundTagImpl, SoundCharacterImpl, Character } from "@next2d/interface";
|
|
5
5
|
/**
|
|
6
6
|
* Sound クラスを使用すると、アプリケーション内のサウンドを処理することができます。
|
|
7
7
|
* Sound クラスを使用すると、Sound オブジェクトの作成や、外部 MP3 ファイルのオブジェクトへのロードと再生ができます。
|
package/dist/Video.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DisplayObject } from "@next2d/display";
|
|
2
|
-
import { BoundsImpl, VideoCharacterImpl, DictionaryTagImpl, ParentImpl, PlayerHitObjectImpl, Character } from "@next2d/interface";
|
|
3
|
-
import { CanvasToWebGLContext } from "@next2d/webgl";
|
|
2
|
+
import type { BoundsImpl, VideoCharacterImpl, DictionaryTagImpl, ParentImpl, PlayerHitObjectImpl, Character } from "@next2d/interface";
|
|
3
|
+
import type { CanvasToWebGLContext } from "@next2d/webgl";
|
|
4
4
|
/**
|
|
5
5
|
* サーバーまたはローカルに保存された録画済みビデオファイルを再生する Video オブジェクトです。
|
|
6
6
|
* ビデオストリームを再生するには、attachNetStream() を使用して、ビデオを Video オブジェクトに関連付けます。
|
package/dist/Video.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SoundMixer } from "./SoundMixer";
|
|
2
2
|
import { DisplayObject } from "@next2d/display";
|
|
3
3
|
import { VideoEvent } from "@next2d/events";
|
|
4
|
-
import { Rectangle } from "@next2d/geom";
|
|
5
4
|
import { $document, $audioContext, $currentPlayer, $isTouch, $rendererWorker } from "@next2d/util";
|
|
6
5
|
import { $Math, $cancelAnimationFrame, $requestAnimationFrame, $getBoundsObject, $boundsMatrix, $clamp, $multiplicationMatrix, $poolFloat32Array6, $MATRIX_ARRAY_IDENTITY, $OffscreenCanvas, $multiplicationColor, $poolFloat32Array8, $Infinity, $poolBoundsObject, $getFloat32Array6, $getArray, $poolArray } from "@next2d/share";
|
|
7
6
|
/**
|
|
@@ -641,14 +640,17 @@ export class Video extends DisplayObject {
|
|
|
641
640
|
+ multiMatrix[1] * multiMatrix[1]);
|
|
642
641
|
const yScale = +$Math.sqrt(multiMatrix[2] * multiMatrix[2]
|
|
643
642
|
+ multiMatrix[3] * multiMatrix[3]);
|
|
644
|
-
let
|
|
643
|
+
let filterBounds = $getBoundsObject(0, width, 0, height);
|
|
645
644
|
for (let idx = 0; idx < filters.length; ++idx) {
|
|
646
|
-
|
|
647
|
-
|
|
645
|
+
filterBounds = filters[idx]
|
|
646
|
+
._$generateFilterRect(filterBounds, xScale, yScale);
|
|
648
647
|
}
|
|
649
|
-
if (0 >
|
|
648
|
+
if (0 > filterBounds.xMin + filterBounds.xMax
|
|
649
|
+
|| 0 > filterBounds.yMin + filterBounds.yMax) {
|
|
650
|
+
$poolBoundsObject(filterBounds);
|
|
650
651
|
return;
|
|
651
652
|
}
|
|
653
|
+
$poolBoundsObject(filterBounds);
|
|
652
654
|
}
|
|
653
655
|
else {
|
|
654
656
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/media",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.23",
|
|
4
4
|
"description": "Next2D Media Packages",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@tvon.jp> (https://github.com/ienaga/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"url": "git+https://github.com/Next2D/Player.git"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@next2d/events": "1.14.
|
|
36
|
-
"@next2d/net": "1.14.
|
|
37
|
-
"@next2d/display": "1.14.
|
|
38
|
-
"@next2d/interface": "1.14.
|
|
39
|
-
"@next2d/core": "1.14.
|
|
40
|
-
"@next2d/share": "1.14.
|
|
41
|
-
"@next2d/util": "1.14.
|
|
42
|
-
"@next2d/geom": "1.14.
|
|
43
|
-
"@next2d/webgl": "1.14.
|
|
35
|
+
"@next2d/events": "1.14.23",
|
|
36
|
+
"@next2d/net": "1.14.23",
|
|
37
|
+
"@next2d/display": "1.14.23",
|
|
38
|
+
"@next2d/interface": "1.14.23",
|
|
39
|
+
"@next2d/core": "1.14.23",
|
|
40
|
+
"@next2d/share": "1.14.23",
|
|
41
|
+
"@next2d/util": "1.14.23",
|
|
42
|
+
"@next2d/geom": "1.14.23",
|
|
43
|
+
"@next2d/webgl": "1.14.23"
|
|
44
44
|
}
|
|
45
45
|
}
|