Allow media/youtube enable
functions to also accept an array of id
s
#1128
Labels
type:enhancement
New features or improvements to existing features.
Currently
id
is required to be a string, meaning the function (eitherenableYouTubeTracking
orenableMediaTracking
has to be called multiple times for as many videos. Allowingid
to accept either a string or an array of strings would be a convenient way to track multiple videos.From a cursory glance at the code it seems like it would be fairly straightforward to add in a non-breaking way.
The text was updated successfully, but these errors were encountered: