mtasa-blue
mtasa-blue copied to clipboard
Update user agent for youtube.com/tv
Youtube has once again changed their platform so it no longer supports video resume for most user agents, however roku user agent seems to still work fine with no problems similar to the old user agent.
Wouldn't it be much more beneficial to set the browser user agent to a custom one via lua in conjunction with setBrowserProperty rather than hardcoding it?
Wouldn't it be much more beneficial to set the browser user agent to a custom one via lua in conjunction with setBrowserProperty rather than hardcoding it?
It's set by MTA to respect the purpose of user agent header. It is used occasionally by ISPs and services to better understand and route traffic. There isn't any reason to use any other custom user agent than what MTA provides. In this case a part is added which is needed to workaround automatic routing on YouTube. There may be other issues that we don't realize by allowing custom user agents. So for now, no, we're not going to change this behavior.
I'll also need to ask people to stop discussing this in this pull request, because it is off-topic. Please talk over in a new issue or discussion.
Current user agent works for me. Please provide more information about this issue.
Youtube has restored their old system, the resume is now back again, however i still think "Roku 3/7.0" is better because it has no login page when you resume or watch videos and even no ads!
Current user agent works for me. Please provide more information about this issue.
Youtube has restored their old system, the resume is now back again, however i still think "Roku 3/7.0" is better because it has no login page when you resume or watch videos and even no ads!
I still see ads with Roku 3/7.0
UA. What do you mean by saying "resuming videos" and "login page"?
If I visit video URL directly, ex. this one:
https://www.youtube.com/tv#/watch?mode=transport&v=jofNR_WkoCE
I'm getting "who's watching?" page on all user agents, which can be hidden by injecting mouse click.
https://www.youtube.com/tv#/watch?mode=transport&v=jofNR_WkoCE
i have tested https://www.youtube.com/tv#/watch?v=jofNR_WkoCE
with user agent as Roku 3/7.0
in chrome and i don't see the who's watching page even with US & UK vpn's, and i mean by resume video this https://www.youtube.com/tv#/watch?v=jofNR_WkoCE&resume&t=120
as an example, it tells you who's watching with other user agents but not with Roku
I'm getting this login page even with Roku 3/7.0, Wireless
UA. Without Wireless
I got redirect to desktop version.
I'm getting this login page even with
Roku 3/7.0, Wireless
UA. WithoutWireless
I got redirect to desktop version.
It seems like you are using the wrong user agent changer, try use user-agent changer and manager which is a chrome extension. i would also like anyone else to confirm this.
I'm getting this login page even with
Roku 3/7.0, Wireless
UA. WithoutWireless
I got redirect to desktop version.It seems like you are using the wrong user agent changer, try use user-agent changer and manager which is a chrome extension. i would also like anyone else to confirm this.
Why are you using a Chrome extension for testing this? How can you be sure the request details are exactly the same as in MTA? If you've already accounted for this can you prove it?
Testing must be done through the MTA client, not external browser.
It's also worth noting that YouTube generally rolls out their updates/changes slowly, so different users may have different experiences while performing the same actions. This could be down to browser, device, location, IP, account, and many other variables.