Cast YouTube in Browser üçün rəylər
Cast YouTube in Browser by Mark Kray
14 reviews
- 5 üstündən 5 balby GetBroccli, 2 ay əvvəlWorks. Probably shouldn't need to be an add-on, but hey, some people like it I guess. Please list your user-agent.
Tərtibatçı cavabı
posted 2 ay əvvəlThanks for the review. I made the extension, because I needed this functionality and wanted to have it wrapped up in a convenient package. The user-agent is for the Xbox Series X. Specifically:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; Xbox; Xbox Series X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 Edge/20.02 - 5 üstündən 3 balby Cryen, 2 ay əvvəlUnfortunetelly every time I try to use it I get:
"You are being directed to youtube.com"
"For a better experience, check your device’s app store for the official YouTube app."
And I get forcefully redirected to a normal site after a couple of seconds. There's no other button / wheel cog to change anything.
Any ideas?Tərtibatçı cavabı
posted 2 ay əvvəlSorry to hear it's not working. The message you're getting is the default response you get when the extension is not installed. This could be because another extension is overriding your user-agent. Can you try on a clean install of Firefox?
Extension reviews don't allow you to add further replies to this. You can edit your original review and I will be checking back to see your response. - 5 üstündən 4 balby kadzooks, 5 ay əvvəlI thought this was just a web shortcut to the Youtube TV link, but it's also doing something to make Youtube think this is a TV so it actually works
- 5 üstündən 5 balby iogangi, 5 ay əvvəl
- 5 üstündən 1 balby Firefox user 18248813, 5 ay əvvəlCompletely garbage. Does NOT work at all. Waste of time. Removed after 10 min of trying to get it to run,.
Tərtibatçı cavabı
posted 5 ay əvvəlThank you for leaving feedback. It's unfortunate to hear that it didn't work for you. When you click on the extension icon in the browser, there are a couple of steps to follow, in order to start casting. Can you let me know which step was causing problems? I'd like find the root of the problem, so I can fix the extension. - 5 üstündən 5 balby akasico1, 6 ay əvvəl
- 5 üstündən 5 balby Alejo, 7 ay əvvəl
- 5 üstündən 5 balby Matthias Simon, 8 ay əvvəl
- 5 üstündən 4 balby Hippo, bir il əvvəlcan cast to 4k no problem but noticed that any video that runs 60 fps defaults to 720p. makes some videos unwatchable because of this issue
- 5 üstündən 1 balby armac911, bir il əvvəl
- 5 üstündən 5 balby Firefox user 16771153, bir il əvvəl
- 5 üstündən 5 balby 7kt swe, bir il əvvəlthis addon becomes almost pointless when only having video quality support up to 720p..
I wrote and tested this fix in about:debugging#, this will make all video qualities available
Update background_script.js with this:
"use strict";
if (typeof browser === "undefined") {
var browser = chrome;
}
const targetPage = "https://*.youtube.com/*";
const uaKey = "user-agent";
const refKey = "referer"
const tvUa = "Mozilla/5.0 (PS4; Leanback Shell) Gecko/20100101 Firefox/65.0 LeanbackShell/01.00.01.75 Sony PS4/ (PS4, , no, CH)";
const tvPath = "/tv";
function rewriteUserAgentHeader(e) {
const targetPath = new URL(e.url).pathname;
const originPath = e.originUrl ? new URL(e.originUrl).pathname : undefined;
if (targetPath !== tvPath && originPath !== tvPath) {
return;
}
let uaHeader;
for (let header of e.requestHeaders) {
if (header.name.toLowerCase() === uaKey) {
uaHeader = header;
break;
}
}
if (uaHeader) {
uaHeader.value = tvUa;
}
return { requestHeaders: e.requestHeaders };
}
browser.webRequest.onBeforeSendHeaders.addListener(rewriteUserAgentHeader,
{ urls: [targetPage] },
["blocking", "requestHeaders"]);
**edit**
Well 2k is certainly better than 720p.
You're welcome.Tərtibatçı cavabı
posted bir il əvvəlThe quality issues has been fixed and now supports up to 1440p. 4k isn't available, because that is a premium feature and isn't accessible freely on any device. Please update the review to reflect this new version. - 5 üstündən 5 balby fever2k2, bir il əvvəl