backdrop-contrib / video_embed_field

Video Embed field creates a simple field type called Video Embed that allows you to embed videos from YouTube and Vimeo or show their thumbnail previews simply by entering the video's url.
GNU General Public License v2.0
1 stars 5 forks source link

Warning: Undefined array key "title" in video_embed_field_handle_vimeo() #26

Closed laryn closed 8 months ago

laryn commented 9 months ago

Seeing this in the log on a site, I believe because a video was set to private on Vimeo:

Warning: Undefined array key "title" in video_embed_field_handle_vimeo() (line 539 of /app/modules/contrib/video_embed_field/video_embed_field.handlers.inc).

herbdool commented 8 months ago

@laryn simple change in PR, just checks for that particular array element.

laryn commented 8 months ago

Thanks @herbdool!