+3
Breaks Youtube Autoplay
I've noticed a new behavior on Youtube, autoplay playlist stopped working lately. At first I submitted a request to Youtube support, but then I thought maybe one of my extensions are responsible. So I disabled all my extensions and autoplay works again. I turned them on one by one and found that having Sidewise enabled stops autoplay from working.
Служба підтримки клієнтів працює на UserEcho
As a workaround I disabled the code for youtube integration in sidewise. This works.
Of course you will miss some features (Show current playback time on video pages), but this is ok for me.
You can do the same:
1. Navigate in your file explorer to your chrome extensions folder: See http://stackoverflow.com/a/14544700/798588
2. Then you have to find the folder for the sidewise extension:
Inside this folder are is a file named "manifest.json".You can verify that this is the sidewise extensions folder by looking in this file. You should see "sidewise" printed there pretty often.
If you don't find the correct folder you can also search for a file named "sidebar.html".
Also make sure you are in the correct profile folder (see 1.)
3. Disable youtube integration
Open the file "content_script.js".
You can just replace everything with the contents of this:
http://pastebin.com/VsKxVhEZ
With an online diff checker (e.g. https://www.diffchecker.com/) you can verify that the changes are what I explain next.
If the explanation doesn't interest you, you are done. Save the file and test it on a youtube playlist.
Explanation:
One of the youtubePlayer related functions causes an error when autoplay should happen. You can see this if you open the console in the developer tools while on a youtube page and what what happens at the time the autoplay should happen. When you expand the error message you see "sidewise" and "youtubePlayer" there.
One could investigate this error further, but as this may take a long time I decided to just disable the youtube player integration completely.
Therefore I out-commented the youtubePlayer functions (lines 12-19). In line 11 one of the out-commented functions ("injectYouTubeMonitoring") is called, so I out-commented that call as well.
After this change the autoplay worked for me. But the "Show current playback time on video pages" feature stopped working, but thats ok for me. As I said above, if you properly investigate and fix the error instead of disabling everything, you could keep that feature plus working autoplay, but thats too much for now.^^
Hope I could help, Best regards!