How to Auto-translate embedded videos? - youtube

Quite simple.
If I use this code: https://www.youtube.com/embed/d0yGdNEWdn0?&hl=en&cc_lang_pref=en&cc_load_policy=1
With:
hl=en and cc_lang_pref=en to choose english
AND
cc_load_policy=1 to activate subs
It will work fine and show my subs in english.
The problem is, if I use portuguese: https://www.youtube.com/embed/d0yGdNEWdn0?&hl=pt&cc_lang_pref=pt&cc_load_policy=1
It will not work because there is no portuguese subtitles. However, you can use auto-translate and then have the portuguese subs as I wish.
The question is: how can I create a link that automatically activates the english>>portuguese translation? I have been look for it and didn't find an answer.
Thank you in advance!

recently had the same question, but there is no clear answer for this.
TL;DR: Just upload your PT translated subtitles with the same code in it.
Your code for pt is correct. It's YouTube that not utilize your URL.
According to YT own logic - they give auto-translated subtitles full control only to a user (via clicking). And there are no ways to override it from the developer side (2019-04).
Same time you can add own subtitles on Portuguese. Even if they are translated from original English via Google Translate. And your code will start to work.
The Replies that gave me that info: https://support.google.com/youtube/forum/AAAAiuErobUTdcd8GOxOLE/?hl=en&gpf=%23!msg%2Fyoutube%2FTdcd8GOxOLE%2F9iVrU-qOc5YJ&msgid=9iVrU-qOc5YJ

It seems this problem is not solved.
The community caption feature, which YouTube says was underutilized, has been discontinued in September.
So how to pass/force autotranslate in a youtube youtube.com/embed/ url ?
Community contributions going away soon
Community contributions will be discontinued across all channels after September 28, 2020. Community contributions allowed viewers to add closed captions, subtitles, and title/descriptions to videos. This feature was rarely used and had problems with spam/abuse so we’re removing them to focus on other creator tools. You can still use your own captions, automatic captions, and third-party tools and services. You have until September 28, 2020 to publish your community contributions before they’re removed.
https://support.google.com/youtube/answer/6052538?hl=en

It seems that the owner can enable in Youtube editor, the option to add subtitles in different language.
Explained in this video:
https://www.youtube.com/watch?v=EjCU0gr18g8
Then you can embed a: "?cc_lang=.." in the Link.

Related

Youtube Data API v3: Sort by date not working

The sorting is not working as expected since a few hours.
https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&key=YOUR_API_KEY
Can be tried in the API explorer (Execute without OAuth) as well.
https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.search.list?part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&order=date
date: Resources are sorted in reverse chronological order based on the date they were created.
https://developers.google.com/youtube/v3/docs/search/list
What is going wrong?
In case you are looking to get the latest videos of a channel:
Get the channels upload playlist from Channels
Get the latest videos in the channels upload playlist from PlaylistItems
Alternatively, you can use the channels RSS feed:
https://www.youtube.com/feeds/videos.xml?channel_id={ChannelId}
https://www.youtube.com/feeds/videos.xml?user={User}
This does not replace the full search sorted by date function however.
Thanks YouTube for making me work on a Sunday, all I wanted was to watch the latest videos from my favorite channels. At least I don't have to wait for a fix anymore, good luck to those less lucky!
Reports in Google's forum were commented by a Google employee:
https://support.google.com/youtube/thread/2494861?msgid=2520468
YouTube is aware the search/sorting functions aren't working as expected – this is temporary and part of our efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this. Will update this thread when these features are working normally again, feel free to subscribe for updates.
Bug reports for this include:
https://issuetracker.google.com/issues/128673031
https://issuetracker.google.com/issues/128673552
Both have an official comment from Google:
Thank you all for bringing this up here. These specific filters have been currently disabled on both YouTube.com and through the APIs. We should have updates on this soon. Thanks again.
Not sure how credible that is:
Just confirming that this is only temporary, and related to YouTube's efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this.
https://www.reddit.com/r/youtube/comments/b1plj5/sort_by_upload_date_not_working/eiojtjh/

I have a copy of Microsoft Dynamics POS 2009. How do I extend it or make add-ins?

I have a copy of Microsoft Dynamics POS 2009. How do I extend it or make add-ins?
I've been trying to search the net for the answer to this question, but I'm not turning up with anything.
Is there a project type I can install into Visual Studio or something like that?
I was surprised at how hard it was to find the SDK for this product. It's only available to Microsoft Dynamics Registered Partners.
John Saunders' third comment includes one of the only places I found with links to the SDK. The page at the following link also includes a link to the SDK update for POS 2009 SP1: http://www.microsoftdynamicsforums.com/forums/forum_posts.asp?TID=4067&title=pos-2009-sdk-where-is-it
There isn't a link to the SDK available through the Microsoft.com search field, but they do have a link to the data model, which may be helpful:
https://support.microsoft.com/en-us/kb/975368
I assume that someone down-voted the question because "Justin should have Googled it," but the fact is... Google didn't help. The search that John Saunders posted in the first comment does not lead to the SDK within the first ten pages of results. (This Stackoverflow question showed up on the third page of results!) Those ten pages had around twenty links to cracks and keygens. There were references in ancient news releases about the product that trumpeted the SDK -- but even searching for [dynamics 2009 sdk] the closest I could find were links where someone took pity on a searcher, as John Saunders did. Well, I did find a post from 2011 where someone offered to pay $100 for a copy of the SDK. The links that Lynn Crumbling found by restricting the search to Microsoft.com are misleading on the surface. On the first four pages, all but one are links to other Dynamics products, and even that one is an owner of POS 2009 asking for the SDK. The response referred the owner to the same forum that John Saunder's linked to, but not to any specific post.

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.

Search API on Youtube TV

I need to build a system that uses an API that searches for Youtube content, with functionality exactly as described by https://developers.google.com/youtube/2.0/developers_guide_protocol_api_query_parameters, but where the results are shown in youtube/tv (i.e. accessible and browsable just using cursor keys, select and back, as used in https://www.youtube.com/tv#/browse)
Having searched extensively, I cannot find a solution. Does one exist?
Thanks,
Andrew
If I were to interpret your question broadly, it would be "is there an open source version of youtube.com/tv that I could repurpose". The answer to that is no. You're going to have to do some heavy lifting yourself.
If you want a starting off point, you could take a look at the JavaScript source for http://stb-web-app.appspot.com/static/index.html, either just directly from within a browser's development tools or from the SVN repo. That example doesn't give you exactly what you're looking for, but it does illustrate how to detect specific key presses and display YouTube feeds in a "set top box" environment.

Questions (beta)

I'm a professor and want to start making several short micro-lessons with embedded questions for my students to test their knowledge along the way. I've been researching some new Youtube beta features "Questions" and "Linking my Youtube Channel with my website (google site, google+, etc)
I had access to the beta "Questions" option a few days ago and it's gone now. I can edit existing annotation which includes a true/false question I added, but I can no longer see the option to add new question. Can you help me?
Can set up questions within the video that have a definite correct answer vs incorrect, and then sort through analytics to see how viewers did?
Is there a way to have different outcomes for viewers depending on whether they answered correctly (congratulations screen) vs incorrectly(rewind and replay a section of the video, then repeat question)?
Is there a way for viewers who complete the video and answer correctly to forward a "Congratulations screen" to their instructors for possible credit on assignments?
Lastly, Is there a way to integrate Google presentation with YouTube video (e.g.create slideshow in "presentation" for easier conversion to video w/ voice)? Right now I use a three step process: 1) create presentation in PPT, 2) voiceover the slides and make a video in "Captivate", then 3) upload to Youtube.
Thank you so much
I don't think that your question, as asked, has to do with the YouTube API.
That being said, we do have this blog post and tutorial video up for an open source project that integrates YouTube video content with quiz content: http://apiblog.youtube.com/2012/06/google-io-tutorials-using-ruby-on-rails.html

Resources