Closed EliteMasterEric closed 1 year ago
I think we must make Mac
, Linux
, Android
and iOS
functional before pushing
I think we must make
Mac
,Linux
,Android
andiOS
functional before pushing
I can do some work on Linux and Android but I'm kind of busy. Mac I can't do the work for as I don't have a Mac.
iOS is complicated and might need to be pushed off until later, because it requires using vlcKit and also I've never worked with iOS before and also I don't own a Mac
wouldn't it be necessary to mark this PR as a draft for the time being? to avoid accidental merges and such
this compiles fine, but when opening the exported exe it gives the error "[exe name] - Entry Point Not Found" "The procedure entry point libvlc_media_get_parsed_status could not be located in the dynamic link library [path of exe]"
this compiles fine, but when opening the exported exe it gives the error "[exe name] - Entry Point Not Found" "The procedure entry point libvlc_media_get_parsed_status could not be located in the dynamic link library [path of exe]"
Which operating system is this
Nvm its windows
gonna make ios fixes and i am gonna test it
wwait, does stuff actually works in other platforms?
wwait, does stuff actually works in other platforms?
no (I have been told it doesn't.)
wwait, does stuff actually works in other platforms?
no (I have been told it doesn't.)
Support is there but it has yet to be tested.
Support is there but it has yet to be tested.
tested on mac, didn't work
I'm having an issue where a FlxVideoSprite just doesn't render if it's cameras
is set to a camera different than FlxG.camera
I'm having an issue where a FlxVideoSprite just doesn't render if it's
cameras
is set to a camera different thanFlxG.camera
Does this issue happen on the old version of hxCodec?
I think this might be related to a similar issue where videos don't work on substates.
The most stable thing to do right now is to use FlxVideoState or FlxCutsceneState (which uses FlxVideoState).
umm why does it have branch conflicts?
Is it possible to make a video restartable with this version? Once a video ends it seems I'm unable to set back the time to 0. Looping does not work as I'm implementing a video component in my program that can pause/restart
Is it possible to make a video restartable with this version? Once a video ends it seems I'm unable to set back the time to 0. Looping does not work as I'm implementing a video component in my program that can pause/restart
So far my only succesfully implementation of this was just running playVideo() again.
Is it possible to make a video restartable with this version? Once a video ends it seems I'm unable to set back the time to 0. Looping does not work as I'm implementing a video component in my program that can pause/restart
which platform are you using?
Is it possible to make a video restartable with this version?
I will look into this later if I have the time. Still working on getting Linux working.
Updates on the status of this repo:
bruh i did test the mac but i did not test the ios
I have an android but dunno how to test it
damn
This was closed due to Git tomfuckery, I might need to make another PR but this is still in active development.
Btw, is there any way to make this work with hmm? As it requires me to have a copy of the repostiory in my global haxelib because of the Build.xml file:
Error: Could not find include file "C:/HaxeToolkit/haxe/lib/hxcodec/git/project/Build.xml
This version is a full rewrite by EliteMasterEric, based on the old codebase, with new features and improvements.
Added
FlxVideoState
which plays videos.FlxVideoSubState
which plays videos.FlxCutsceneState
which plays a specific video (with the option to skip) before switching to the next state.video.playVideo
video.pause
video.resume
video.togglePaused
video.stop
video.time
video.position
video.volume
video.muteAudio
video.playbackRate
video.duration
video.isPlaying
onOpening
,onPlaying
,onPaused
,onStopped
,onEndReached
,onEncounteredError
,onForward
,onBackward
.onEndReached.add(funcToCall)
to add a callback to be executed each time the video ends.onEndReached.addOnce(funcToCall)
to add a callback to be executed only once.onEndReached.remove(funcToCall)
to remove an existing callback.Changed
FlxVideoSprite
for HaxeFlixel can be added to a scene to play a video.VideoSprite
for OpenFL can be added as a sprite to play a video.IVideoPlayer
interface, which ensures all video player classes support the same controls.Known Issues