First of all I know that there is "request desktop site" in the android browser but it doesn't solve my problem.

I have this site and they have an android app as well, because of that they want users to play videos from their app and not from the android browser. But "for reasons" I want to play it on the browser. Defining user agent as chrome/windows didn't help either.

Do you guys have any idea how to do it?

  • How did you change the use agent in Chrome mobile? – Vitor Canova Feb 8 '17 at 23:22

Alright so a file named chrome-command-line needs to be put in /data/local/chrome-command-line

Here is mine that I just tested and works: https://drive.google.com/file/d/0B48arFbBn-Pda2RkT2F5bUtMYnc/view?usp=sharing

I would download this onto your PC and then use

adb push chrome-command-line /data/local/chrome-command-line

If you get couldn't create file: Permission denied

Run adb root and then adb push chrome-command-line /data/local/chrome-command-line

Proof: http://imgur.com/a/PjK34

Edit: you can use my chrome-command-line or you can make your own

First make a file that contains: chrome --user-agent="<stuff>"

The stuff is here: http://www.whoishostingthis.com/tools/user-agent/

Example: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

| improve this answer | |
  • It still doesn't play videos from the site. It no longer asks you to play from the app. The site opens but doesn't play the video on mobile device. Can it be detecting the screen size and disabling the playback? – MessitÖzil Feb 10 '17 at 12:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.