Check out example codes for "button onclick open video in new window". It will help you in understanding the concepts better.

Code Example 1

<button onclick="window.open('http://www.something.com');">new window</button>

Learn ReactJs, React Native from akashmittal.com