I'm using the latest Media and File Entity 2.x-devs.

I added a "Poster" image field to the Video File Type and then configured the Videojs on the File Display to use the new poster image field. My poster image style is set to None (original image).

When I insert a mp4 video into the WYSIWYG editor using the media browser it allows you to select a view mode and then displays a preview. For some reason I can't get it to display the video correctly in the preview. In the preview it shows a broken image with an incorrect url and no player

I'm also seeing Page Not Found errors in my logs:
LOCATION: http://mysite:8082/media/917/h
REFERRER: http://mysite:8082/media/917/format-form?render=media-popup&fields=undef...

Note: After hitting submit, the video is still inserted into the wysiwyg editor with a broken image. After saving and viewing the node, the video shows and plays fine.

Let me know if I can provide any more information.

CommentFileSizeAuthor
#1 fix-media-preview-2159325.patch559 bytesgmclelland
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gmclelland’s picture

Status: Active » Needs review
FileSize
559 bytes

This seemed to fix it for me.