Open riondo opened 1 month ago
Works with any hxCodec versions
#if VIDEOS_ALLOWED
#if (hxCodec >= "3.0.0") import hxcodec.flixel.FlxVideo as MP4Handler;
#elseif (hxCodec >= "2.6.1") import hxcodec.VideoHandler as MP4Handler;
#elseif (hxCodec == "2.6.0") import VideoHandler as MP4Handler;
#else import vlc.MP4Handler as MP4Handler; #end
#end
hey thanks to have answered le where i put this exactly
hey thanks to have answered le where i put this exactly
Replace it for theimport MP4Handler
that you did
Describe your problem here.
i trying to add an intro video before titlescreen but i have the error source/states/TitleState.hx:2: characters 8-18 : Type not found : MP4Handler
but in titlestate i did import MP4Handler;
i had into override public function....
override public function create():Void { var video:MP4Handler = new MP4Handler(); video.playVideo(Paths.video('intro')); video.finishCallback = function() { startIntro(); } Paths.clearStoredMemory();
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
yes removed define name="VIDEOS_ALLOWED" if="windows || linux || android" unless="32bits"/> "on Project.xml