Jump to content

Problem with launching VideoTexture (on Chrome for android devices)


Celga
 Share

Recommended Posts

Hi,

I'm a beginner on the framework BabylonJS and it's the first time I send a post, on your forum.

After having done a lot of research, I decided to ask some help. 

I have some trouble since a quite long time, with playing videos, in an application developped with BabylonJS.
I specify that it's a web site (html page with javascript scripts and css).
This application is aimed to visualize 360° images, in bubbles, and also videos (one of them is a 360° video and the
others are "classics"). When I click on interactive areas (or I use raycast), videos are loaded and launched automatically.

I use VideoTexture. The application works correctly, on PC, in the web browsers Google chrome and Mozilla Firefox.
But, on Android devices (Galaxy SNote, tablet Samsung Android 6.0.1), it's not the case for all the browsers.

Indeed, videos are launched correctly, on Mozilla Firefox. But, when I test on Chrome (on mobile phone and tablet),
videos aren't launched. And, I don't have any error messages.

By using "scene.onPointerUp", I've succeeded to launch my videos. But, I'm constrained to touch on the device screen to
launch videos. And, I would like my videos play automatically, after having picked interactive areas.
I hope my explanations are understandable enough.
So, this bug occurs only on Google Chrome, for android mobile device and tablets.

If you have some ideas, I do really appreciate in advance.

(Sorry for my English).

Thanks.
 

Link to comment
Share on other sites

Hi Deltakosh,

Thanks for your message and for your advice.
I tried with changing this option.

But, unfortunately, I'm still having this bug.

For informations, I've just checked the value of the property "paused" of my VideoTexture.
This one stays on true, even after video.play, when the application is launched on Chrome, on a Samsung tablet Galaxy.

It's not the case, on pc, and even on Firefox.

Link to comment
Share on other sites

  • 9 months later...

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...