Developers! Complex piece of coding?

I am currently developing an app having no prior experience of doing so. I am developing a reading app (think Kindle etc). I would like to develop a "related videos" sidebar which comes up based on the text on screen - on the page being viewed.

Anyone know how? It doesn't have to automatically link to the videos - I can add the videos to the list manually. What I want to get is the connection between the page on the screen and the list that comes up.