How do I make the game playable on both mobile and console at the same time?

Hi, I am new to deploying games on Facebook and I would like to request some assistance. I can deploy my game privately on Facebook to be used on the Console. This is done via editing my index.html window.onload function. However, I am not sure what is the code necessary to deploy on Mobile. Could someone assist me?

Asked about 2 months ago