Pairing: While watching YouTube on your TV, pair your phone to your TV to continue controlling videos from your phone. Using a TV code: If your phone and TV are connected to separate Wi-Fi networks, you can link them using a TV code, and cast your video to your TV. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.