Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't play mp4 online #120

Open
ZTMIDGO opened this issue Sep 30, 2024 · 2 comments
Open

Can't play mp4 online #120

ZTMIDGO opened this issue Sep 30, 2024 · 2 comments

Comments

@ZTMIDGO
Copy link

ZTMIDGO commented Sep 30, 2024

let video = PhotosPickerItem.loadTransferable(type: Data.self) to get the video data and pass it to server.appendRoute return HTTPResponse(statusCode:.ok, body: video!),Can't play mp4 online

@swhitty
Copy link
Owner

swhitty commented Oct 11, 2024

Hi, does the file download correctly using a downloader like wget or curl ?

Very large files should download correctly and most browsers will simply download the mp4 and play it.

@ZTMIDGO
Copy link
Author

ZTMIDGO commented Oct 12, 2024

Yes, server.appendRoute downloads files correctly, can FlayFox do static resource management similar to Jetty, I can use Jetty for online playback, I don't know if FlayFox needs to add headers to HTTPResponse for online playback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants