I successfully installed the module and created a new content type 'video' and was able to create a video page. It works and streams YouTube video.

Then I tried to bulk generate video conntent with Drupal console. (drupal create:nodes).
It gave me option to choose the video content type (besides page, article, etc.). However, when it tried to generate the content, I received the following error message:

Fatal error: Class 'Drupal\video\Plugin\Field\FieldType\Random' not found in /home/remindme/drupal8.ravitaxali.com/dr8/modules/video/src/Plugin/Field/FieldType/VideoItem.php on line 154

I am not sure if this issue relates to the vidoe project or Drupal Console.

Comments

tax15 created an issue. See original summary.

chaitanya17’s picture

Assigned: Unassigned » chaitanya17
chaitanya17’s picture

StatusFileSize
new736 bytes

Hi Tax15,

Please check working patch for VideoItem, while generating content through Devel module.

chaitanya17’s picture

Status: Active » Needs review
chaitanya17’s picture

StatusFileSize
new680 bytes
chaitanya17’s picture

  • chaitanya17 committed a73d716 on 8.x-1.x
    Issue #2728517 by chaitanya17, tax15: Error generating content with...
chaitanya17’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.