When I add video media the UI doesn't appear to provide any way to select a video file or specify a video url to display.

When I then save the node the site displays a broken YouTUbe video player - how do i give it a YouTube url / id to embed and play in the Node edit page?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

budda created an issue. See original summary.

scoff’s picture

Yep, same here. There's no actual video field even if you look at Content/Media/Add/Video. I don't understand how it's supposed to work.

[update]

Ok, I made it work

1. Go to Home Administration Structure Media bundles Video Manage form display (/admin/structure/media/manage/video/form-display)
2. Move "Video ID" field from Disabled to, well, not disabled. Save.
3. Go to YouTube, find your video, say, https://www.youtube.com/watch?v=_CEQylP-TP8&spfreload=10
4. Add a new media or edit existing and paste that _CEQylP-TP8 (or whatever it is) in the Video ID field. Save, enjoy.

For more info look inside templates/media/media--video--default.html.twig
Basically all it does so far is this:

<iframe src="https://www.youtube.com/embed/{{ content.field_video_id }}" frameborder="0" allowfullscreen></iframe>

scoff’s picture

The proper way is Video Embed Field I guess, but it's not yet implemented.

chr.fritsch’s picture

Hi,

yes the proper way is Video Embed Field. We plan to fix this bug in the next week and use then Video Embed Field

asrob’s picture

chr.fritsch’s picture

Status: Active » Needs review

Integrated Video Embed Field today in thunder. Which Video Providers do you want to see in thunder?

Blooniverse’s picture

Here my list, Christian (Vimeo & Youtube not listed, since they are integrated by default). The list has a focus on the essential -- not too much, but enough to get started out of the box:

Blooniverse’s picture

TED as well, probably. Since Thunder is supposed to be a CMS for those primarily interested in publishing (including the classical & new publishing industry resp. media economy).

Blooniverse’s picture

Status: Needs review » Reviewed & tested by the community

Why wait any longer? Changing the status now!

chr.fritsch’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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