aframe-video-controls icon indicating copy to clipboard operation
aframe-video-controls copied to clipboard

aframe <a-video> controls

Open learnTech2022 opened this issue 8 years ago • 4 comments

how to add a component ? i have followed all the steps u mentioned , but only change in my case is i am not using 360 degree video, instead i have a collection of videos which i want to create video gallery and add a controls to them.

Problems:

  1. Start and pause button comes initially and get eased out.
  2. I am using a-video tags, but for me controls functionality is not working at all.

Here is a sample of my code: <a-scene> <a-assets> <img id="video-play-image" src="images/play.png"> <img id="video-pause-image" src="images/pause.png"> <video id="video_beacon_offers" loop="true" src="videos/video_beacon_offers.mp4"> </a-assets> <a-video src="#video_beacon_offers" width="16" height="9" position="0 0 -20"> </a-video> <a-entity video-controls="src:#video_beacon_offers"> </a-entity> </a-scene>

Also please suggest me on how to create a video gallery in aframe. i have collection of videos which want user to see them all as thumbnail and click on particular video to play it.

Thanks Krishna

learnTech2022 avatar Jul 13 '16 09:07 learnTech2022

mmmm... the component is really made for 360 videos, not flat videos, since the UI is 'floating' in 360 space. Probably I'll do a flat version, will keep you informed

oscarmarinmiro avatar Aug 03 '16 11:08 oscarmarinmiro

Video controls are working for me, at least on desktop browser. But none of the attributes do anything. it would be nice to be able to resize the controls since right now they appear very small.

mrdavidburns avatar Nov 12 '16 16:11 mrdavidburns

Found I can resize them using scale attribute.

I'm also interested in a flat controller for <a-video> which can exist outside the video player.

mrdavidburns avatar Nov 13 '16 09:11 mrdavidburns

can the control be reposition?

aliy321 avatar Nov 30 '17 07:11 aliy321