Add user agent to player

This commit is contained in:
Brahim Hadriche committed 2024-03-06 08:26:33 -05:00
1 parent 405e1aa703
commit 9c7de8f41f
1 file changed
+3
@@ -44,6 +44,9 @@ function Init()
if m.top.hasField("asyncStopSemantics")
m.top.asyncStopSemantics = true
end if
httpAgent = m.top.getHttpAgent()
httpAgent.AddHeader("User-Agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0")
end function
function OnNodeReady()