Error: Class "Drupal\video_transcode\Plugin\Field\FieldWidget\Bytes" not found.

Created on 8 June 2023, about 1 year ago

Problem/Motivation

Error: Class "Drupal\video_transcode\Plugin\Field\FieldWidget\Bytes" not found in Drupal\video_transcode\Plugin\Field\FieldWidget\VideoUploadTranscodeWidget::validateMaxFilesize() (line 32 of modules/video/modules/video_transcode/src/Plugin/Field/FieldWidget/VideoUploadTranscodeWidget.php).

Steps to reproduce

Chose Video Upload & Convert instead embed video on Manage Form Display
Add a node (a content), then the following error is encountered:

  • Setup Drupal with Video v3.0.x-dev
  • Enabled Video module
  • Go to Admin > Structure > Content Types > Basic Page > Add Video field and save.
  • Go to Admin > Structure > Content Types > Basic Page > Manage fields > Add Video field and save.
  • Go to Admin>Structure>Content Type>Basic Page>Manage Form Display> Go to Video field and Chose Video Upload & Convert instead embed video then click on gear icon and save value in Maximum upload size Value.
  • Save form

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇮🇳India Nikhil_110

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024