SOURCE

console 命令行工具 X clear
> A-Frame Version: 1.3.0 (Date 2022-02-04, Commit #cc3516ce)
> THREE Version (https://github.com/supermedium/three.js):,^0.137.0
> WebVR Polyfill Version:,^0.10.12
> %ccore:component:warn %cThe component `main` was registered in a 
>
console
console.clear()

AFRAME.registerComponent('main', {
    init() {
        this.camera = this.el.querySelector('#camera')
        this.camera.setAttribute('rotation', {x:0, y:90, z:0})
    },
    tick() {
    }
})
<div style="width:600px; height:400px;">
    <a-scene background="color:#0cf" vr-mode-ui="enabled:false" embedded main>
        <a-entity id="camera" camera rotation="0 0 0" ></a-entity>
        <a-videosphere src="https://ax.minicg.com/demo/aframe-pano/vid2.mp4"></a-videosphere>
    </a-scene>
</div>

本项目引用的自定义外部资源