Suggestion

in
Subscribe to Suggestion 2 posts, 2 voices



Yansky Scriptwright
FirefoxWindows

Could you make it compatible with your youtube autobuffer script?

I think you might be able to do it like this:
(pseudocode)
if(settingSetToNotStartAutomatically && playButtonHasBeenClicked){
window.addEventListener("focus", play, false);
}

That way you only set it to "play on focus" once the user has manually started the video. Does that make sense? :P

 
JoeSimmons Script's Author
FirefoxWindows
Yansky wrote:
That way you only set it to "play on focus" once the user has manually started the video. Does that make sense? :P
Yeah. I don't see why you would need it, or how I would even script it since they're both separate scripts.

Can you tell me what the feature would be useful for? If you have an auto-buffered video in another tab, you change to it and it plays. I don't know why you wouldn't want it to start until after you had already manually started it.
Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel