awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

amplify video add (video on demand) no longer working with away amplify updated cli. #357

Open sirmaestro512 opened 1 year ago

sirmaestro512 commented 1 year ago

I had simply upgraded the amplify cli from the last version to the current version and next thing you know 'amplify add video' - (video on demand) is no longer working. I don't know what to do. You can still add api, auth, (vod auth will had during time that plugin is stuck when you think its updating to cloud), and if you try to save or push thinking its fine it gets stuck please help what do we do?

is there a diff plugin to use for vod and amplify? is there a fix for this? do we just go to aws vod foundation in console ? and if so will it connect to our amplify app? until this is fixed I am literally stuck...I even got my app sync and graphql to set (individually) but now I need this to wok with the update cli or I need to know the steps to downgrade (including link to download older cli) whichever is better and quicker.

Expected behavior

I expect when I go through the amplify add video steps as I have before for it to process successfully like it did before I upgraded to amplify 10.2.1 (now 10.2.2.), but issue happened when I initially upgraded to 10.2.1. and boom plugin no longer working and if you try to push to cloud and have working plugin with new cli it won't work anymore.

upex commented 1 year ago

Hey @sirmaestro512 , did you find any solution for this? Started facing the same issue after upgrading the cli! Literally not going anywhere.

sirmaestro512 commented 1 year ago

Yea I figured it out. Until further notice do not upgrade amplify cli. You need to revert back to v 10.0.0 for now. And it doesn’t seem like on the plug-in side that they are servicing the plug-in so hopefully amplify fixes the issue from their end.

On Sun, Oct 23, 2022 at 12:23 PM Upen Panging @.***> wrote:

Hey @sirmaestro512 https://github.com/sirmaestro512 , did you find any solution for this? Started facing the same issue after upgrading the cli! Literally not going anywhere.

— Reply to this email directly, view it on GitHub https://github.com/awslabs/amplify-video/issues/357#issuecomment-1288181067, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBKS74ETKJBQBEBBOJM44LWEWGE7ANCNFSM6AAAAAAQ6GMAGI . You are receiving this because you were mentioned.Message ID: @.***>

kylekirkby commented 1 year ago

@wizage @josefaidt has said this needs to be updated "plugin-side" to support the latest changes to Amplify CLI.

Any idea as to what needs to be changed?

sirmaestro512 commented 1 year ago

@wizage @josefaidt has said this needs to be updated "plugin-side" to support the latest changes to Amplify CLI.

Any idea as to what needs to be changed?

not exactly sure personally... I know that if you update the aws-cli to the new version and try to push your project it will error out with a error saying that its undefined.

pr1ze commented 1 year ago

Having the same issue. Stuck on v. 10 now

sirmaestro512 commented 1 year ago

Smh. I aswell am stuck using version 10 k hope they update soon as next is steadily updating but seems aws stuck

On Fri, Jan 13, 2023 at 12:17 AM Nichlas Lendal @.***> wrote:

Having the same issue. Stuck on v. 10 now

— Reply to this email directly, view it on GitHub https://github.com/awslabs/amplify-video/issues/357#issuecomment-1381463192, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBKS7ZMNUT723P6PP7UC43WSEFRZANCNFSM6AAAAAAQ6GMAGI . You are receiving this because you were mentioned.Message ID: @.***>

MorCohenAres commented 1 year ago

Here is an updated, more maintained fork of this plugin that fixes this and other stuff: https://www.npmjs.com/package/amplify-plugin-video

Repo: https://github.com/MorCohenAres/amplify-video

Enjoy.

sirmaestro512 commented 1 year ago

Thanks, I'll check it out. So to confirm before I do this this fork will work with the current updated version of amplify ? And also does it work with next 12 and next 13 ? For clarity. Thanks for this been waiting for months stuck at version 10.

On Sun, Jan 15, 2023 at 2:52 PM MorCohenAres @.***> wrote:

Here is an updated, more maintained fork of this plugin that fixes this and other stuff: https://www.npmjs.com/package/amplify-plugin-video

Repo: https://github.com/MorCohenAres/amplify-video

— Reply to this email directly, view it on GitHub https://github.com/awslabs/amplify-video/issues/357#issuecomment-1383274639, or unsubscribe https://github.com/notifications/unsubscribe-auth/APBKS7ZJ3KKL4TTMI2C4AALWSR5SVANCNFSM6AAAAAAQ6GMAGI . You are receiving this because you were mentioned.Message ID: @.***>

ConstantSun commented 1 year ago

Thanks the Amplify dev team, with the current newest CLI version (amplify 10.8.1), "amplify video add" works well and "amplify push" is okay now !!!

sirmaestro512 commented 1 year ago

@MorCohenAres hey have you confirmed that the last post is accurate by @ConstantSun that indeed amplify v10.8.1 finally works with amplify add video? want to confirm before upgrading for nothing. Also, as of now I know your version of the plugin is indeed more stable and compatible with the current version of nextjs.

MorCohenAres commented 1 year ago

@sirmaestro512 We use amplify-plugin-video (our fork) and it works.