- Whichever side is playing wins.
- If both are playing, or neither is, the one you touched most recently wins.
- If it really can't tell, your phone asks you.
- For Copy paste it's simpler: whichever side you copied on last.
With the version on this site, your phone can't see which video it's playing, but it can tell whether something is. So a Smart tag still goes the sensible way: if your PC's playing and your phone isn't, it comes to your phone, and if your phone's playing a video that came from your PC (or went there and back), it goes to your PC. A video you found on your phone itself needs Share, and the app says so.
A tag can pick what to send, too. With the Smart action (the app starts on it), it's the YouTube video if one's playing. If nothing is, text you copied in the last couple of minutes goes to the other side (with Copy paste switched on), and after that a paused video, then the tab you have open in Chrome. So a Smart tag with nothing playing or copied anywhere brings your PC's tab to your phone.
If you always want one direction, a PC → Phone tag never has to guess. Phone → PC tags for YouTube come with the Play Store version.