Skip to main content
tspame
Participant
October 3, 2014
Question

Why createVideoTexture() can return null?

  • October 3, 2014
  • 3 replies
  • 538 views

Hello everyone! Why createVideoTexture() can return null.

code:

            var nc:NetConnection;

            var ns:NetStream;

            nc = new NetConnection();

            nc.connect(null);

            ns = new NetStream(nc);

            ns.play("red_galaxy.mp4");

            var context3D:Context3D = Starling.context;

            var texture:VideoTexture;

            texture = context3D.createVideoTexture(); //null

I read the guide, but it did not help.

This topic has been closed for replies.

3 replies

itlancer
Inspiring
October 21, 2014

Try last beta release: Download Adobe AIR 15 Beta - Adobe Labs

It should be fixed.

Astraport2012
Known Participant
October 21, 2014

Yes, it fixed now.

When will support video textures on Android and IOS?

And what the best way to loop video in video textures?

Astraport2012
Known Participant
October 21, 2014

The same(((

Participating Frequently
October 10, 2014

yeah I'm having the same issue