DeuxHuitHuit / craft-cloudflare-stream

Upload your videos assets to Cloudflare Stream from Craft CMS assets interface
https://plugins.craftcms.com/cloudflare-stream
Other
1 stars 1 forks source link

Video not uploaded to Cloudflare when asset is uploaded to matrix field #11

Open arifje opened 1 week ago

arifje commented 1 week ago

The video is not uploaded when an asset is added to a matrix field that is not saved yet.

Steps to reproduce:

1) create an entry 2) add a matrix field 3) upload the asset 4) save the entry

Result: no upload to Cloudflare is triggered.

What does work, but isn't a permanent solution:

1) create the entry 2) add a matrix field 3) save the entry 4) upload the asset

This will trigger the upload to Cloudflare.

I tried both settings, no difference:

PS. also the button "upload to cloudflare" when editing the asset doesn't seem to do anything here. Nothing happens after clicking it.

Screenshot 2024-09-06 at 08 57 15

Running Craft Pro 4.12.0