suport to videoplayer-channel

I ask for help to see how I can do to implement a new function to be able to select the contentId of the item to be able to pass it in url to be able to make a system to show the episodes of a series

this movies

this series

But I want to be able to make it do the same function as it does when selecting a category