hi,
I added this to the SimpleVideoplayer, but stil having the _player.ns not public error. why, wheres my fault?
public function get ns():NetStream
{
return _ns;
}
VideoTexture :: (flash.display3D.textures.VideoTexture)Software: Away3D 4.x |
||
mindthegap, Newbie
Posted: 02 October 2016 01:24 PM Total Posts: 6 [ # 16 ] hi, I added this to the SimpleVideoplayer, but stil having the _player.ns not public error. why, wheres my fault?
public function get ns():NetStream |
||
theMightyAtom, Sr. Member
Posted: 02 October 2016 02:27 PM Total Posts: 669 [ # 17 ] That’s exactly how it should be. The only thing I can think of is that you may have altered it in a different copy of the Away framework than the one your project is pointing to? (I’ve done this myself!) |
||
mindthegap, Newbie
Posted: 02 October 2016 02:53 PM Total Posts: 6 [ # 18 ] ok, I added it althouhg to the IVideoPlayer Interface, now it compiles wthout errors. but I see nothing:
var vt:NativeVideoTexture = new NativeVideoTexture("videoname.mp4",true, true) the video is a h265/mp4 file… regards |
||
|
||
mindthegap, Newbie
Posted: 02 October 2016 03:36 PM Total Posts: 6 [ # 20 ] ok, my fault, when adding to the scene it will concealed by the background. is it possible to fade between a background and the video. I can use the video as background _view.background = vt; but can I have two backgrounds? |
||
theMightyAtom, Sr. Member
Posted: 02 October 2016 03:40 PM Total Posts: 669 [ # 21 ] It shouldn’t be concealed. It should be within the Stage3D layer, as apposed to the video layer below. |