Function to add media to queue and clear all queue
-
Hi, may i know whats the propper way to add media to queue.
is it this?
kgvid_cron_new_attachment_handler($media_id);
or this?
kgvid_add_attachment_handler($media_id);
also, my queue is stuck again for some reason and the code bellow doesnt clear all of them. the plugin was working perfectly so i didnt modify or use any functions to add or clear the queue. i didnt mess with it at all.
update_option('kgvid_video_embed_queue', '');
most of the queue has this status even if they are already converted.
Please wait while this video is automatically added to the queue...
kgvid_video_embed_queue does clear the active ones though, files without the “Please wait-” status.i noticed that when you add a new media, it gets added to the inactive-queue then to the active-queue then back to the inactive-queue. or maybe it was never removed from the inactive-queue.
i hope this makes sense to you.. lol
- The topic ‘Function to add media to queue and clear all queue’ is closed to new replies.