muxinc / mux-php

Official Mux API wrapper for PHP projects, supporting both Mux Data and Mux Video.
MIT License
40 stars 30 forks source link

File type not detected when url is indirect (no file type in Url) #17

Closed azpery closed 4 years ago

azpery commented 4 years ago

Hi,

First thank you for your work.

I'd like to know if there a way to pass the file type in the payload rather than in the url.

I explain: When I had a media with url : http://filemanager.robin-delaporte.fr/file_example_MP4_1920_18MG.**mp4 , the API detects that the file is a MP4**. But when I send this url : http://filemanager.robin-delaporte.fr/?r=/download&path=L3Rlc3R0ZW5rL2ZpbGVfZXhhbXBsZV9NUDRfMTkyMF8xOE1HLm1wNA%3D%3D the API returns "The input file was not a valid video or audio file."

azpery commented 4 years ago

Hello @GeneticGenesis ,

Thanks for your answer. Actually we absolutely need to upload the media through the url feature.

philcluff commented 4 years ago

Sorry @azpery, I misunderstood the question here.

Since this isn't related to the PHP SDK, please can you drop us a message on help AT mux.com and we'll take a look.

Thanks.

azpery commented 4 years ago

No problem, I send you a message at mux.com :)

Thanks