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
Related
I'm creating a website for users to post their videos on a particular topic. The videos will be processed with an intermediate server and then uploaded to each user's YouTube channel. However, I would like to know if the YouTube API, lets you know the number of likes you get each of these videos on YouTube.
Thank you for helping me
https://developers.google.com/youtube/v3/docs/videos/list
This is where to look. Please invest some effort of your own before asking on SO. Your question is easily solvable by using a search engine.
If you don't yet know how the YouTube API works, inform yourself first. Once you do know and were able to try something out, but are stuck, I encourage you to ask another question with your particular problem (after researching, of course).
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. :)
How could I access a website and turn components of the website into strings. For example taking information from Facebook posts. I have done a little searching but can't find any good tutorials or anything useful.
Try looking at this tutorial. It should get you more familiar on the subject and start you off on the right track.
As it states at the beginning of the tutorial...
How to Parse HTML on iOS
Let’s say you want to find some information inside a web page and
display it in a custom way in your app. This technique is called
“scraping.” Let’s also assume you’ve thought through alternatives to
scraping web pages from inside your app, and are pretty sure that’s
what you want to do. Well then you get to the question – how can you
programmatically dig through the HTML and find the part you’re looking
for, in the most robust way possible? Believe it or not, regular
expressions won’t cut it! Well, in this tutorial you’ll find out how!
You’ll get hands-on experience with parsing HTML into an Objective-C
data model that your apps can use.
http://www.raywenderlich.com/14172/how-to-parse-html-on-ios
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.
I know this question has been asked before however the answers I found where a little old and I know that twitter has now made the t.co/xyz service manditory on all posts recently. I'm just wondering if when using the oAuth API service it will automatically shorten any url? Anyone know what the current process in play is? Do I still need to shorten the url pre posting?
Thanks very much
Yes. Even when using OAuth, all links will be wrapped in t.co short URLs. Even if the link is shorter than 20 characters!
See the post in the discussion groups.
There is also some documentation about recent and upcoming changes to t.co shortening (2012-04-12).
You can shorten the URL yourself if you want, but it will still get wrapped.