|
@@ -218,8 +218,18 @@ export default class App {
|
|
|
});
|
|
|
|
|
|
} else {
|
|
|
- // 获得旋转视频
|
|
|
+
|
|
|
+ // write the bytes of the string to an ArrayBuffer
|
|
|
+ //var ab = new ArrayBuffer(data.length);
|
|
|
+ var ia = new Uint8Array(data);
|
|
|
+ for (var i = 0; i < data.length; i++) {
|
|
|
+ ia[i] = data.charCodeAt(i);
|
|
|
+ }
|
|
|
+
|
|
|
const blob = new Blob([data], { type: 'application/video' })
|
|
|
+
|
|
|
+ // 获得旋转视频
|
|
|
+ //const blob = new Blob([data], { type: 'application/video' })
|
|
|
const url = URL.createObjectURL(blob)
|
|
|
// this.updateHouseVideoBlob(url, true)
|
|
|
// let video = common.createVideoElement0(url)
|
|
@@ -229,6 +239,7 @@ export default class App {
|
|
|
}, 3000)
|
|
|
|
|
|
// this.cameraController.rotateCamera(this.cameraController.alphaOffset)
|
|
|
+
|
|
|
|
|
|
let video
|
|
|
if(this.isReverse) {
|