Grabing Multiple Video Ids From Playlist Id
-
Hello,
Need a help here !I am trying to use easy youtube gallery plugin with my specific playlist id instead of multiple specific video ids.
As, in the plugin shortcode
id=YT_VIDEO_ID, YT_VIDEO_ID
So I have created a function in the the plugin file > easy-youtube-gallery.php
to get the video ids seperated with commas from a specific playlist id using youtube api with json output decoding.So my function just echos the multiple video ids separated with commas, Now as the plugin’s shortcode array
$atts['id']
should be given by the shortcodeid = ... , .... , ...
How can I call my function in that php to get the video ids, as an example :
$atts['id'] = myfunc();
But this is not working !It will be so helpful for me if you can direct me to the right direction. Thanks for the plugin and Thanks in Advance !
- The topic ‘Grabing Multiple Video Ids From Playlist Id’ is closed to new replies.