Having issue with integrating search functionality with webplayback SDK

I have an issue with the integration of spotify search by genre functionality with webplayback SDK , I have integrated the webplayback but now want to add search functionality , the search functionality providing me tracks by genre but I am confused that how to use these tracks with SDK, Iam using JS. Please help

Child Item
Child Item
Child Item

Accepted answers

All comments

Have you tried /v1/me/player/queue for queuing the item you get from search?

hey thanks for replying ...no i have not tried it , does it necessary , isn't there any way to directly play the gotten tracks by  track uri in webplayback functionality ? is it necessary to load in the queue??

Child Item
Child Item