UKBouldering.com
the site => suggestions, requests, support => Topic started by: Muenchener on May 26, 2016, 11:42:08 am
-
...?
-
Edit: I posted a solution but it didn't work!
-
Use a browser plugin to control this.
The YouTube High Definition browser add-on forFirefox (https://addons.mozilla.org/en-GB/firefox/addon/youtube-high-definition/) has the option to turn AutoPlay to AutoPause.
There are other alternatives for other browsers.
-
Thanks, but what I wanted was to have it not autoplay for *anybody*
-
In part it will depend on how the forum software (SimpleMachines) parses a URL and embeds it but...
Details of how to embed YouTube are described here (https://developers.google.com/youtube/player_parameters), but I've no idea whether SMF uses iFrame or object (I'm sure the SMF site details what the software does though if you wanted to check).
Reading through there is the option (under iFrame) to customise playback with options, and the most relevant will be 'autoplay' (https://developers.google.com/youtube/player_parameters#autoplay) which takes the values of 0 or 1 (binary switches to indicate whether or not to play). You could try adding this as an option when you paste the URL by appending '&autoplay=0' to the URL because the options for video and playback are chained after the opening URL http://www.youtube.com/watch, although it states that '0' is the default so perhaps its the SMF parsing that switches it to '1'.
https://www.youtube.com/watch?v=K7mV75x0hc0&autoplay=0
No idea if this will work though, if the following doesn't start playing automatically when all other videos on the site do then I guess it does...
https://www.youtube.com/watch?v=K7mV75x0hc0&autoplay=0
-
I use Chrome and IE, and it never plays automatically in either?
-
A third option is that its a user setting on their YouTube account if you're logged into Google whilst surfing the net. If you're not logged in then the default may well be not to auto-start. I'd expect a users settings on their YouTube account to over-ride any options used when embedding.
How many others do you know who have videos autostart for them Muencher? Are they logged in to their Google Accounts whilst browsing and if so what are their settings with regards to Autostart of YouTube videos?
-
Thanks guys, but it looks like what I'm trying to achieve may not be possible. My current sig quote comes from a video of Jain Kim on youtube; I want the "Jain Kim" to display as a clickable link without loading & displaying the video in any form, autopalying or otherwise.
(At the risk of outing myself - again - as a middle aged white male heterosexual lecher, I point out that I have nothing against pictures of Jain Kim per se. Quite the opposite.)
-
:slap: I misunderstood what you were trying to achieve* :sorry:
This might be what you've been trying, which I don't think works...
[url=https://www.youtube.com/watch?v=K7mV75x0hc0&autoplay=0]video[/url]
...as the SMF software clocks its a YouTube URL and tries to automatically embed it.
To get round this use a URL shortener, but not YouTube's own one, something like bitly (https://bitly.com/) to shorten the URL of the YouTube page and then use that in the URL you use in your signature...
[url=http://bit.ly/1NmSESO]Jain Kim[/url]
Jain Kim (http://bit.ly/1NmSESO)
...which will (should?) prevent SMF from auto-embedding since it doesn't recognise the URL as YouTube, but when someone clicks on it, they'll be redirected to the YouTube page.
* I read your subject it literally, if it had said 'without automatically embedding' I'd have suggested the above first off.
-
The "too difficult" box is over there.
-
URL shortener worked, thanks slackers.