Support for Chrome and Chromium?
![]() ![]() |
Is support for Google Chrome or the open-source Chromium envisioned? This is a terrific script, and the addition of support for Epiphany is most welcome. Does this work both versions (WebKit- and Gecko-based) of Epiphany? |
![]() ![]() |
I already looked into making the script work with Chrome / Chromium, but I couldn't get Chromium to work with user scripts on my computer at all, so I gave up. I might give it another try some time. I haven't tried the script with the WebKit-based version of Epiphany, but it does work with the Gecko-based version for me. |
![]() ![]() |
Here are some workarounds to make this script work in chrome.
-chrome doesn't support unsafeWindow // ==/UserScript== function runScript() { ...existing script... } if(/Chrome/.test(navigator.userAgent)) {
-add check for chrome
-in addGlobalStyle(css), replace
|
![]() ![]() |
I haven't been able to get this to work properly with Chrome. Installing the unmodified script in Chrome's dev/beta version allows me to use totem on Youtube but the playback stops after a couple of seconds. I was also trying to implement this script in order to work with a standalone Chrome shortcut, Youtube-specific. My shortcut is as follows: /opt/google/chrome/google-chrome --app="http://www.youtube.com/" --enable-user-scripts --user-data-dir=/home/username/Dropbox/Apps/Chrome-YouTube I placed an unmodified version of the script in /Default/User Scripts but to no avail. I then tried the instructions found above but it didn't work as well. What should I do now? Is this a known bug? Any help would be appreciated. Cheers. |
![]() ![]() |
If totem is replacing the player and playing the video then the script is doing what it does, the problem is probably that totem isn't the best at streaming so you should watch at a lower quality. Ok, I just got it working, it turns out chrome doesnt like vlc, and user scripts are a lot easier to install than they used to be, just click install and it installs it like a plugin. I think I will start a compatibility chart on the main script page. |
![]() ![]() |
I'm not so sure that the problem is with the totem plugin, since it works flawlessly under Firefox. Additionally, after the playback stops under Chrome, if I click on the player it dislays a dialog box stating that there was an "Internal data flow error". |
![]() ![]() |
Starting Chrome from the terminal, I was able to get access to this strange error message: ** Message: Is unsupported mime-type 'video/x-flv'
|
![]() ![]() |
do you have flv support installed? in ubuntu you can do a: sudo apt-get install ubuntu-restricted-extras to install everything |
![]() ![]() |
Still not working, the error message remains the same. edit: OK, actually the error message is now slightly different: ** Message: Is unsupported mime-type 'video/x-flv'
324 instead of the previous 315. What does that mean? |
![]() ![]() |
I think the number changed because the video did (or was it the same video?) I have 2 things:
2. download a youtube video using the other links on the left of the script area and see if totem will play it |
![]() ![]() |
You meant about:plugins, right? 1 - I have a video/x-flv entry under two plugins, VLC and Xine. 2 - The video played perfectly once downloaded and played with totem. And no, the number doesn't seem to be related to the video being played. The latest video I tried also gave me 315 on the error message. |
![]() ![]() |
yes, about:plugins
chrome doesnt like vlc right now, this should switch to totem |
![]() ![]() |
Still not working, I already had totem-mozilla installed. A bit of a puzzler, heh? |
![]() ![]() |
ok, now what is about:plugins it should just be totem, no vlc or xine |
![]() ![]() |
VLC is still there, as well as gxine(?). edit: Now there is no entry for video/x-flv at all. The error message didn't change, though. |
![]() ![]() |
ok, just open up synaptic package manager and search for vlc and remove everything that is related to plugin or mozilla
|
![]() ![]() |
Ugh, I basically removed everything VLC and xine and still no dice. Could it be that the VLC plugin that Chrome says that uses is a part of Totem? Should I just go ahead and remove Totem to see if Chrome uses the mplayer plugin? |
![]() ![]() |
Nop, not working with mplayer as well. I think I'm going to give up, it's definitely something Chrome-related. |
![]() ![]() |
Hi, I only want to let you know, that this script somehow worked out of the box with chromium-browser 5.0.353.0 and mozilla-mplayer 3.55-2ubuntu1 |



