I just set up a video field using this module, for upload. I do not get an option to either upload or create a thumbnail from the video.

The video will display and play, but in watchdog I get the following warnings:

Warning: array_flip(): Can only flip STRING and INTEGER values! in Drupal\Core\Entity\EntityStorageBase->loadMultiple() (line 232 of/var/www/[sitename]/core/lib/Drupal/Core/Entity/EntityStorageBase.php).

I'm not sure what is going on but it seems to be related to a similar issue in the 7.x version of the module (see this item)

Configuration (under manage form display): Widget -> Video Upload
Progress indicator: throbber
Extensions : mp4 ogv webm
File directory : public://video-thumbnails/[date:custom:Y]-[date:custom:m]

Basically I accepted the defaults.

Does anyone know what is going on or how to fix it?

I am also finding that the video field will not offer me any config options when I try to add it as a field in Views. When I initially try to add it, nothing happens. But then, if I cancel the add field modal, and then click Save, the field appears. But when I click on it to configure, nothing happens. I get no display of field config options.

Also, how do I get the thumbnail feature back? Is there a companion module that will provide that function?

Thanks in advance.

Comments

RKopacz created an issue. See original summary.

RKopacz’s picture

Issue summary: View changes
heshanlk’s picture

Status: Active » Closed (cannot reproduce)

Please follow the task here to get an updated status of the D8 version of the module #2637338: Roadmap for video module 8.x. The transcoding feature is not yet available for D8.

Unfortunately I can't reproduce this issue, I installed a fresh installation and it worked great without any errors on the error log.

RKopacz’s picture

Thank you heshanlk, I am now following that page. Upon closer inspection, it appears that the PHP warning I reported was coming from another module, but the problem with the field in Views persists. When I attempt to add the field, I do not get a config modal popup for the field. I close out the list of fields modal, and then Save the view, and the field appears in the list of fields, but when I click on it, there is no field config option.