Jump to content

video texture will not play on Android Tablet


dbawel
 Share

Recommended Posts

Hello,

I have only my Sony Expiria Android Tablet to test, but I cannot get any video texture to play on my mobile device(s). We also tried a friend's Iphone.

I have tried every scene on the playground and on the html5 game devs forum which uses a video texture, and none play on my Android tablet - the mesh with the video texture applied simply shows up black, and everything else in the scene works fine.  I have tried .mp4, .ogg. webm, and every other video format and method of conversion available, but nothing works on mobile.  I've also tried coding the actionManager to preload, play, and every other function I know as well as videoTexture.video.(action) - to no avail

Again, all scenes work on PC and Mac, but not on mobile, regardless of the format.  And I can set these to play in HTML5 if I source them, but not as video textures.

Here are two playground scenes which were written by DeltaKosh and another user, and neither work on mobile.  I also stripped the body from these out of the playground, and hosted on my servers, and the same behavior is seen - no mobile video texture playback.

These are the links:

http://playground.babylonjs.com/#256QWU#2

http://playground.babylonjs.com/#EKFLA#13

Please let me know what the secret is.  Any help is always appriciated.

DB

Link to comment
Share on other sites

Hi dbawel,

Cannot load those examples on my android phone.

Using videos as source is often quite a mess on mobiles, particularly on iOS where Apple does not allow one to use video easily (for instance getUserMedia is "forbidden", there are some Apple policy against it, I think it is to ensure people write apps to put in the Apple store instead of HTML5 apps, but it's only a guess).

Link to comment
Share on other sites

Hi Vousk-prod,

 

Doesn't work with .ogg or .ogv files.  I've "literally" searched every javascript forum, and found nothing - but I'd now consider myself an expert at building an HTML5 video player, as there was loads of info for HTML5 sourcing - but nothing in javascript that works on mobile devices.  I couldn't be the only person who has needed to do this before, right?

 

DB

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...