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
<item sdImg="https://devtools.web.roku.com/videoplayer/images/JimFallon.jpg" hdImg="https://devtools.web.roku.com/videoplayer/images/JimFallon.jpg">
<title>Jim Fallon: Exploring the mind of a killer</title>
<contentId>10001</contentId>
<contentType>Movies</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>mp4</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>
http://video.ted.com/talks/podcast/JimF ... 09_480.mp4
</streamUrl>
</media>
<synopsis>
Psychopathic killers are the basis for some must-watch TV, but what really makes them tick? Neuroscientist Jim Fallon talks about brain scans and genetic analysis that may uncover the rotten wiring in the nature (and nurture) of murderers. In a too-strange-for-fiction twist, he shares a fascinating family history that makes his work chillingly personal.
</synopsis>
<genres>Clip</genres>
<runtime>1260</runtime>
</item>
this series<item sdImg="https://devtools.web.roku.com/videoplayer/images/JimFallon.jpg" hdImg="https://devtools.web.roku.com/videoplayer/images/JimFallon.jpg">
<title>Jim Fallon: Exploring the mind of a killer</title>
<contentId>10021</contentId>
<contentType>Series</contentType>
<contentQuality>SD</contentQuality>
<synopsis>
Psychopathic killers are the basis for some must-watch TV, but what really makes them tick? Neuroscientist Jim Fallon talks about brain scans and genetic analysis that may uncover the rotten wiring in the nature (and nurture) of murderers. In a too-strange-for-fiction twist, he shares a fascinating family history that makes his work chillingly personal.
</synopsis>
<genres>Clip</genres>
<runtime>1260</runtime>
</item>
But I want to be able to make it do the same function as it does when selecting a category