You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the code from TextformatterVideoEmbed module, method embedYoutube. Noticed that there is a code for optional query string which should put a query string into matches[3] (like ?autoplay=1).
Expected behavior
The code should put a query string into matches[3] (like ?autoplay=1).
Actual behavior
It turns out that matches[3] receive an array of empty strings instead of array of query strings.
Steps to reproduce the issue
Create a field with Textarea (Multi-Language) type.
Fill it up with two strings of YouTube with query strings, separated by empty strings.
Short description of the issue
I'm using the code from TextformatterVideoEmbed module, method embedYoutube. Noticed that there is a code for optional query string which should put a query string into matches[3] (like ?autoplay=1).
Expected behavior
The code should put a query string into matches[3] (like ?autoplay=1).
Actual behavior
It turns out that matches[3] receive an array of empty strings instead of array of query strings.
Steps to reproduce the issue
Setup/Environment
The text was updated successfully, but these errors were encountered: