Jump to content

Search the Community

Showing results for tags 'videotextures'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 4 results

  1. Hello Babylonians, I just spent the past couple of weeks working on video sync between multiple users and devices, and couldn't get sync working reliably from the server to all devices. And more specifically, I was unknowingly wasting valuable time troubleshooting why I wasn't able to sync video on Android, unless play and pause was initiated from the Android device. Yet I was able to consistantly sync video 100% on every other device, OS, and browser for multiple users based upon other conditions. I searched the forum and also spent considerable time on Google and other search engines researching this, yet found very little reference to this as well as no answers to the problem. Thus, I assumed it was a problem in my server code since this is not a very simple task by any means. However, this was not the case, as it turns out to be a bug on Android using various browsers - and specifically Chrome on Android - but not limited to. The issue is that when I sync video between multiple users, I'm calling the video DOM and aquiring current time and sending this to all other users on every other device, OS, etc. And for the most part this was working on all devices except Android. So I'm writing this post so that the community should know that currently - and for quite some time now - querrying the current time for any HTML video object such as a videoTexture returns a time value = 0.0 on Android (using Chrome and other browsers). I didn't keep track of all of my testing, as I thought my server code was the issue. However, what I discovered is that for several years now, Chrome and other browsers on Android return the current time of any HTML video at the time value of 0 when this.video.currentTime() is called. So out of frustration and past a deadline, I somehow decided to test FireFox on Android (as I was debugging my server code for the 100th time), and FF returned the correct currentTime() when I querried the DOM video property. So I'm quite frustrated, but happy to report that I'm now able to sync video between any device and any number of users providing I am using Fire Fox on my Android devices. So if anyone on the forum has issues with video on Android, first uninstall Chrome, as I found this has never worked on Android - EVER - according to posts I found from more than 2 years ago. And I often find far more bugs in Chrome on Android than any other OS (hey, isn't it the same manufacturer for both?) And Google doesn't seem to view this as a priority since this has been reported since early Droid versions. I'll file a report as well, but I'm not holding my breath. Also, I'm now able to control the play and pause functions - including autoplay and pause on Android where I was never able to get this working in the past. Again, simply avoid Chrome on Android, and I'll try and find time to test other browsers as this is not only a Chrome issue. All I can tell you right now is that Fire Fox HTML video DOM querries and HTML video functions work fine on Android. And to imagine I had thought Google was the most responsive company for developer support. Obviously I was wrong. Cheers, DB
  2. Hello, I have a "TV" monitor in which I need to swap video textures. The screen needs to be black initially (no video playing), and then the user gets the choice to choose which video they wish to play on the monitor (screen) in the babylon scene. I haven't found a way to do this using variables for each specific videoTexture or using global variables to change the videoTextures - or any other method I'm familiar with. I could certainly use help with this if anyone has experience with swapping multiple video textures. Thank you, DB
  3. I've looked through various threads (I believe someone attempted to do this for peter jackson a few months ago). I'm trying to attach a live stream video to a texture. One would think if it's a video element it should attach. However, it doesn't appear to be viewable. I was hoping someone would have some idea why the element may or may not be appearing. http://codepen.io/wpdildine/pen/zqqrba Attached is a scene comment out line 65 and the plane will appear. Thanks in advance. -P
  4. The constructor doesn't seem to behaving properly on videoTextures. I can't seem to disable the mipmaps or change the sampling mode. However, invertY is working probably. I also get an error if I try and feed in the urls/url as an object stating that urls.ofEach is not a function. Here is an example: http://www.babylonjs-playground.com/#CHQ4T#8 Thanks in advance! -P Sidenote: Seems to work on the basic texture: http://www.babylonjs-playground.com/#WWRIO#1
×
×
  • Create New...