사용에게 position
구성 요소를 배치하고 scale
구성 요소를 확장 할 수 있습니다.
<!-- 360 video, rotated 180-degrees to select an initial view. -->
<a-videosphere src="#cityVideo" rotation="0 180 0"></a-videosphere>
<!-- Video controls. -->
<a-entity
video-controls="src: #cityVideo; backgroundColor: #333; barColor: #EF2D5E; textColor: #DADADA; infoTextTop: Gaze and click on the icon or progress bar.; infoTextBottom: Double-click outside of the player to toggle it."
position="0 1 -2" scale="1 1.5 1"></a-entity>
https://aframe.io/docs/0.2.0/components/position.html https://aframe.io/docs/0.2.0/components/scale.html
정말 감사합니다. 어쩌면 나는이 질문을 명확하게 기술하지 않았을 것이다. 제 질문은 그러한 코드를 사용할 때 비디오가 모든 화면으로 가득 차 있다는 것입니다. 나는 그것을 원하지 않는다. 예를 들어, 화면 (브라우저)의 절반을 차지할 비디오가 필요합니다. 그리고 비디오는 지정된 위치에 있습니다 (예 : html, 왼쪽, 위쪽, 아래쪽 또는 오른쪽 속성). 어떻게이 기능을 실현할 수 있습니까? –
반구를 만들 수 있습니다.'https://aframe.io/docs/0.2.0/components/geometry.html#sphere –
ngokevin
질문을 만들었습니다. http://stackoverflow.com/questions/38857027/how-to-create-a-180-degree-semisphere-segment-partial-video-sphere-in-a-frame/38857090# 38857090 – ngokevin