Buzul

Members
  • Content count

    5
  • Joined

  • Last visited

  1. Buzul

    Video pause problem (Help)

    @dbawel thanks for your comment.. actually i'm c# developer and i can work with arrays but i'm new in babylon. I'll try your way and i'll let you know.. Thank you..
  2. Buzul

    Video pause problem (Help)

    I mean multiple video file.. when i want to use multiple video file how can i done it with above technic..
  3. Buzul

    Video pause problem (Help)

    Hi again everybody...I'm writing here because my new problem about this topic.. I solved my old problem as above.. I need your suggestions for create a play list for videos.. How can i do that with continue from above simple?
  4. Buzul

    Video pause problem (Help)

    @Wingnut you are legent.. thank you so much.. I'm new at babylon.. This is my question's answer... Thank you.. @Magilla thanks for the extra information..
  5. Hi everyone i'm new guy in here.. I have a problem.. I'm playing a video with videoTexture but i want to make when i clicked to videoTexture to pause video.. I followed this topic: http://www.babylonjs-playground.com/#CHQ4T#5 everyting well but when I click anywhere on the scene video stoping Here is my code var videomat = new BABYLON.StandardMaterial("Videomat", scene); var videoTexture = new BABYLON.VideoTexture("video", ["video/vexpovid.mp4", "video/vexpovid.webm"], scene, true,true); var videobox = BABYLON.MeshBuilder.CreateBox('videobox', optionsVideo, scene); videobox.position.x = -120; videobox.position.y = 300; videobox.position.z = 163; videobox.rotation.y =3.15; videobox.material = videomat; videomat.diffuseTexture = videoTexture; videobox.material = videomat; scene.onPointerDown = function () { //videoTexture.video.play(); if (videoTexture.video.paused){ videoTexture.video.play(); } else { videoTexture.video.pause();}