jackun / VLCTube

The Unlicense
15 stars 4 forks source link

YouTube commenting doesn't work for me #82

Closed ghost closed 8 years ago

ghost commented 8 years ago

i no longer can comment on YouTube videos. I have an old YouTube account, non Google+, so that may matter. But, if I disabled VLCTube and let the HTML5 video start playing, I can comment again.

It appears that the video tag has a listener on 'play' and does some cryptic authorization stuff, changing a security key that is sent with the posting of a comment. If I disable VLCTube and autoplay through about:config by media.autoplay = false, then I still can't comment until I play the video.

Is there some way to have VLCTube listen for play and takeover as soon as the HTML5 Video starts playing? I tested putting the whole script in a setTimeout, but that didn't work, so I don't really know enough about which parts of the script can wait, or how to let the HTML5 video trigger the play event before exterminating it.

ghost commented 8 years ago

This stopped occurring, now commenting simply works again, it probably had to do with my youtube account not being tied to my google account, whatever happened, I suppose YouTube fixed it or reverted the changes they made.