Giter VIP home page Giter VIP logo

api.video-flutter-uploader's People

Contributors

anthony-dantard avatar arthemium avatar erikkai avatar mardi66 avatar olivierapivideo avatar romainpetit1 avatar thibaultbee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

shreedhar73

api.video-flutter-uploader's Issues

Can't upload in flutter web

Version

1.2.1

Environment that reproduces the issue

Browser: Chrome

Use case description

I'm using file picker (https://pub.dev/packages/file_picker), we can't access the file path in flutter web, all of your upload functions take the the file path as a string parameter

Proposed solution

add additional parameters that will allow us to use the bytes of the file instead of the path

Alternative solutions

No response

[Bug]: Failed to parse AndroidManifest.xml

Version

1.2.2

Environment that reproduces the issue

Macbook M1 2020
OS- Sonoma
Flutter version - 3.16.5

Is it reproducible in the example application?

Yes

Reproduction steps

I'm getting issue after adding this tag in my manifest file

Expected result

It should be running as mentioned in video_uploader: ^1.2.2 package readme. But I'm facing issue in my manifest after adding service tag

Actual result

Screenshot 2024-02-27 at 6 13 14 PM

Additional context

No response

Relevant logs output

No response

[Bug]: Android release mode: response null values

Version

1.2.1

Environment that reproduces the issue

Google pixel6a Android 14
Android studio emulator,
Vivo android 13
Flutter 3.16.7 ~ 3.19.1

Is it reproducible in the example application?

Yes

Reproduction steps

After implement the package, I tried to test it as release mode.
But response's property has null always.

Expected result

In the response,
Current release mode sends all null
"assets": {hls: null, iframe: null, player: null, thumbnail: null, mp4: null}

I want to get the correct value for each parameter of assets.
"assets": {
"hls": "https://vod.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik/hls/manifest.m3u8",
"iframe": "<iframe src="https://embed.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik\" width="100%" height="100%" frameborder="0" scrolling="no" allowfullscreen="true"></iframe>",
"player": "https://embed.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik",
"thumbnail": "https://vod.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik/thumbnail.jpg",
"mp4": "https://vod.api.video/vod/vi7mdtR2wbth2lpgIazD74Ik/mp4/source.mp4"
},

Actual result

Greetings API.video team.

https://pub.dev/packages/video_uploader
It works in debug mode as well.
But in the release mode, it works but response of uploading are null for each paramter.

> I/flutter (14583): [video uploading result=====:, {videoId: vi2zZOODhfOFMaeY97eSkBfg, createdAt: 2024-03-20T20:42:24.000Z, title: REC6169411350185702043.mp4, description: , publishedAt: 2024-03-20T20:42:24Z, updatedAt: 2024-03-20T20:42:24.000Z, tags: [], metadata: [], source: Instance of 'VideoSource', assets: Instance of 'VideoAssets', playerId: null, _public: null, panoramic: false, mp4Support: true}]
> I/flutter (14583): [video uploading result=====:toJson, {hls: null, iframe: null, player: null, thumbnail: null, mp4: null}]
> I/flutter (14583): [video uploading result=====mp4:, null]
> I/flutter (14583): [video uploading result=====thumbnail:, null]

Please help me what I do to receive correct response.
Best regards.
Thank you.

Additional context

Video ID: vi7mdtR2wbth2lpgIazD74Ik

Relevant logs output

There is no error.

[Feat]: Support for Desktop Platform

Version

1.2.1

Use case description

The package is currently only supported on mobile platforms. Are there any plans in place to extend the support to desktop platforms ?

No response

Alternative solutions

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.