Disabling Youtube autoplay when providing a URL link - url

I need to provide people with a URL link to some of my Youtube videos, but I don't want Youtube to then automatically display some random video that it thinks should be "up next". There's nothing more embarrassing than trying to show people your work and then up pops a ridiculous video that they think must be yours as well.
I've tried tacking on "&autoplay=false" and "&autoplay=0" to the end of the URL, but that doesn't work.
Anyone know what needs to be done?

You can send people an embed link that shows the video only. I think in your case this would be fine, but for anyone that requires comments, it would be an issue. Also adding ?rel=0 will stop the end card from showing related videos from another users channel.
https://www.youtube.com/embed/OefocRFlDss?rel=0
A list of embed params can be found here: https://developers.google.com/youtube/player_parameters

I guess that's not possible, but maybe you could embed that video via API to some server you own, and disable the suggestions.
Check this documentation for disabling, controls and siggestions.
https://developers.google.com/youtube/player_parameters#autoplay
Or this: http://illuminea.com/remove-related-videos-from-end-of-embedded-youtube-video/
Luck!

This feature does not seem to be customizable from the url; it's more of a user setting. You can find here some details about how to turn it off for yourself but you cannot control the way it will behave for others.
Also, I'm not sure if this question qualifies as a programming one. :)

Related

Youtube API search livestream stop to work

A few days that the youtube api stop to show a livestream videos, is this error only on my api key? if does, is there any other way to find a livestream videos?
I googled if there any message from youtube about this, and i didn't find.
https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=UC4R8DWoMoI7CAwX8_LjQHig&eventType=live&type=video&key={MY_API_KEY}
You are not alone.
It's broken for everybody, unfortunately, and it's been this way for over ten days now. As with all Google services, human support and feedback is non-existent, not even an acknowledgement of the issue.
Ref.: https://support.google.com/youtube/thread/14611425
As a workaround, I had to change the logic to use the q parameter along with eventType=live. This actually works, and, depending on keywords, can also return a whole lot of unrelated live material, which, I think, can be further filtered on the client. This also seems to incur higher quota usage.
Well, I guess the issue is you try to use a meta-channel. UC4R8DWoMoI7CAwX8_LjQHig refers to what you get when you click on live in the menu, but this only "sums up" what's live, it isn't a real channel itself. Just strip the channelId parameter you should get all active live streams (only tested at reference page https://developers.google.com/youtube/v3/docs/search/list but got me 14.5k at time of try).
Matt

Making real URLs smaller

This started off as a way to troll my friend but I've kind of gotten interested in this. I wanted to link my friend to a site called stupidtester.com but make it seem like a YouTube video so I researched online how to obfuscate a URL.
After some reasearch I made this:
https://www.youtube.crmwatchv=i4wiZ4fZIDo#%73%74%75%70%69%64%74%65%73%74%65%72.com
I learned I had to take the o out of com and I couldn't use ? after watch?. My first question is why that is.
Secondly, I was wondering if there is a way to make the link even shorter somehow. Forgive me if this sounds stupid, but something like hashing or encrypting the URL so the browser understands the link but to the person clicking it it will look like a normal YouTube video. I ask because my friend said it looked too unrealistic to be a YouTube video.
Have you tried this one
This is googles URL Shortner

Embed YouTube on site, to open in a NEW PAGE (NOT within the same page)

OK, I have thoroughly searched for an answer, and have not found one that WORKS correctly. I have a page full of videos - listing training videos, each will have a link to a youtube video (all videos have been uploaded to youtube), but will open up in a NEW PAGE on my site. I am a novice website designer, and the problem seems to be that people are anxious to give me half of the code, rather than being explicit with it. Can you help, please?
You need to get the embedding url.
For instance, instead of: https://www.youtube.com/watch?v=JPx3A6XEUF0
use this: https://www.youtube.com/embed/JPx3A6XEUF0

Why the link get from youtube get_video_info doesn't work for download?

I test with browser with the link I get from "http://www.youtube.com/get_video_info?&video_id=xx" to see if it is be able to download.
After remove some parameters from original link, some works but some still don't.
I read some post here but most of are pretty old. A lot of change since then.
I wonder if there are somebody working on this recently.
The purpose I need this is because my youtube view program need a better quality video to display.
This is link doesn't work:
http://r17---sn-tt17rn7e.c.youtube.com/videoplayback?fexp=902529%2C932000%2C906383%2C902000%2C919512%2C929903%2C931202%2C900821%2C900823%2C931203%2C931401%2C908529%2C919373%2C930803%2C906836%2C920201%2C929602%2C930101%2C930603%2C900824%2C910223&ipbits=8&expire=1364854787&sver=3&mt=1364829200&newshard=yes&id=26c94a41dba396f5&key=yt1&upn=GrcnDUPfreQ&cp=U0hVSVhQUl9NUUNONV9QSlZIOm9BbnVkMTJzOXE5&sparams=algorithm%2Cburst%2Ccp%2Cfactor%2Cid%2Cip%2Cipbits%2Citag%2Csource%2Cupn%2Cexpire&ip=173.248.214.165&itag=34&ms=au&source=youtube&mv=m&signature=9593596F58B377FAA4C8F5A4516C7F53CE473340.507CA2EA250CEED2E2B2377FD70EE1A0478EE322&type=video/mp4; codecs="avc1.42001E, mp4a.40.2"&itag=18&
What wrong with it? I removed fallback_path and replace sig with signature.
The working link is for webm. This is for h264. Both have the same kind of parameters.
And this is working now.
http://r17---sn-tt17rn7e.c.youtube.com/videoplayback?fexp=909708%2C912514%2C930802%2C932400%2C916624%2C931009%2C932000%2C906383%2C902000%2C919512%2C929903%2C931202%2C900821%2C900823%2C931203%2C931401%2C908529%2C930807%2C919373%2C906836%2C920201%2C929602%2C930101%2C930603%2C900824%2C910223&ms=au&itag=44&mt=1364825784&ipbits=8&cp=U0hVSVhQT19NUUNONV9QSlNCOlp5ZGoyMXJ3emlq&ip=173.248.214.165&upn=ohH0s8EjPyo&newshard=yes&source=youtube&ratebypass=yes&mv=m&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&id=26c94a41dba396f5&expire=1364851187&key=yt1&sver=3&signature=798EED35782B846D2B0EA190A17E837A0DBA18EA.AD56BCF6365AAD974C18F09F352F9422084C50AC&type=video/webm; codecs="vp8.0, vorbis"&quality=large,itag=35&
That's not a supported method of interacting with YouTube. You need to use one of the official YouTube Player mechanisms to display YouTube videos.
Please familiarize yourself with the YouTube API Terms of Service if you have any more questions.

How accessible is YouTube embed in 2013?

I've got a site I built about 5 years ago which includes video. At the time, we decided that YouTube wasn't accesible enough so went with JW Player. All of their content is now Flash video, and we're looking to make it work on iOS etc.
An easy solution would be to move everything to YouTube (and that would have the advantage of more visibility online), so I'm wondering: how accessible is an embedded YouTube video these days? Is the new HTML5 iframe embed more or less accessible? I can find lots of posts from a few years back saying how unaccessible it is, but not much from the last few years. On this site there won't be any CC - there's a separate transcript available - so it really just needs to be controllable on a basic level via keyboard/screen reader.
Thanks for any help!
iframe is fairly accessible, although youtube docs aren't very informative. if you want to go down the rabbit hole, you can read these emails: http://lists.w3.org/Archives/Public/w3c-wai-ig/2012JanMar/0234.html
iframe embed spec details here: http://static.googleusercontent.com/external_content/untrusted_dlcp/www.google.com/en/us/events/io/2011/static/presofiles/youtube_iframe_player_the_future_of_embedding.pdf
more details: http://polylearnsupport.calpoly.edu/About/YouTubeAccessibility.html
there is still the keyboard problem with flash, although if the users is in a browser that supports html5, that's not a problem anymore. actually, i think the user has to opt-in for html5. or you can roll your own: http://icant.co.uk/easy-youtube/docs/index.html
seems like its fairly good, and is a viable option. of course, you could always upload a video and test it yourself.
Probably not very good, but here's an older review from 2011 - http://terrillthompson.com/blog/44 - not sure how much has changed.
The iframe is just one piece of the challenge.

Resources