[SOLVED] Video is being loaded / played but not displayed on Plane

Hello All,

It’s not autoplaying, but when tapping the UI , I am calling the video.play

Fortunately my video has audio, and on video.play() I hear the audio playing but video is not displayed.

I reffered to this: https://developer.playcanvas.com/en/tutorials/video-textures/
tutorial, using a plane, and my videotexture,js is attached to my plane, using a similar material as the tutorial is using.

Is there any other tutorial that actually shows a video being played? or any hints?

Tried on Chrome, Safari desktop and android phone, none of them showed the video, but all played the audio.

thanks in advance!

@yaustar @dave @max need your help please

Just tried forking the existing tutorial project and it works for me? https://playcanvas.com/editor/scene/646193

1 Like

@yaustar I used the code from this project, but talking about this project, where and how you can see the video playing ?

All I see is TV screens falling from the sky :laughing:

Chrome on both Mac and Windows. Video is playing on the TVs.
Sep-19-2018%2015-38-15

OH I have these TV screens with black screens using chrome and safari on mac.
Might it be related to chrome or Safari versions ?

I’m using Version 69.0.3497.100 (Official Build) (64-bit)

Just tried it on Safari and that works too. Version macOs 10.13.6 (17G65)

1 Like

@yaustarI just realized that I don’t see the videos on the TV screens when Fork the the project and run it from there, while before forking as I run it, I can see the videos… seems strange to me, if you can give any hints, many thanks again

Do you get any errors in the browser console?
How fast is your internet connection?
Do you have any adblocker or other content filtering plugins on your browser?
In the network tab of developer tools, can you see the video being loaded/accessed?

1 Like

@yaustar thanks again.

I had issues with CORS and haven’t checked the console, my bad.
Also had the DOMException “the user didn’t interact with the document first.”

Handled both and now able to play video on my TV screens.

Thanks again for all the help!