Hello, I have the similar issue with fontawesome and CKE5. I am using CDN 6.5.2 version. Drupal 10.1.8. This is blocking one of our important release, unfortunately. Tried to use local fontawesome library, but failed.
When an icon is added CKE5 (eg: ). to shows up, but not able edit the page as it locks up!
I applied patch #44 above (CKE5 compatibility). Still edit page locking issue is not going away.Fontawesome 5.13.1 version (CDN) is working fine with CKE5, but we need to upgrade it to latest version to get the latest icons.
- ๐บ๐ธUnited States FatherShawn New York
The field setting in my local site reverted the storage URI to public files. I'm not sure why, but perhaps from testing some other things with this branch no longer present?
In this branch, I change the default URI scheme for the field to our streamwrapper. I think we should go further and unset any other stream wrappers so that there is only our streamwrapper as a storage option.
I also need a way to compute the external url for the video. Can we add an explicit customer subdomain input back into the settings?
- ๐บ๐ธUnited States FatherShawn New York
More follow-up on #17 - I just reproduced your error on a test upload and #18 makes me wonder what else may have shifted so I'll dig in via xdebug and report back
- ๐บ๐ธUnited States FatherShawn New York
Also I see that Zone was removed [##3446508]
I thought this was the customer subdomain but maybe something else?
/** * {@inheritdoc} */ public function getExternalUrl() { $id = $this->getIdFromUri(); $subdomain = $this->cloudflareStream->getZoneId(); if (empty($subdomain) || empty($id)) { return ''; } return "https://$subdomain.cloudflarestream.com/$id"; }
Was this something else?
- ๐บ๐ธUnited States FatherShawn New York
Here's the code block
if ($file instanceof File) { $videoId = $this->tempStore->get($file->getFileUri()); $details = $this->cloudflareStreamApi->getDetails($videoId); ... }
So this means that a videoId is not stored in tempStore in
CloudflareStreamWrapper::stream_close
. I'm not sure why - I'll ping you in Slack to see about debugging together. - ๐ง๐ชBelgium tim-diels Belgium ๐ง๐ช
Finally had the time to check this out.
I've added a media type and with trying to upload a video, I get the next error
TypeError: Drupal\cloudflare_stream\Service\CloudflareStreamApi::getDetails(): Argument #1 ($identifier) must be of type string, null given, called in /var/www/html/web/modules/contrib/cloudflare_stream/src/Plugin/Field/FieldType/CloudflareVideoItem.php on line 165 in Drupal\cloudflare_stream\Service\CloudflareStreamApi->getDetails() (line 195 of modules/contrib/cloudflare_stream/src/Service/CloudflareStreamApi.php).
I don't have an idea yet why that happens but this is blocking the testing.