xeogl icon indicating copy to clipboard operation
xeogl copied to clipboard

Video Texture doesn't play

Open SoulDesignerTom opened this issue 2 years ago • 1 comments

Describe the bug I've created everything like in the example: http://xeogl.org/examples/#materials_phong_textures_video And same - as in example video want play - just showing 1st frame.

To Reproduce Steps to reproduce the behavior:

  1. Go to: http://xeogl.org/examples/#materials_phong_textures_video
  2. See that video is not playing

Expected behavior Video should be playing or at least there should be something to start playing the video - there is nothing like that in the code.

SoulDesignerTom avatar Apr 21 '23 20:04 SoulDesignerTom

I fixed it by adding: video.play();

just before: diffuseMap.image = video;

SoulDesignerTom avatar Apr 23 '23 04:04 SoulDesignerTom