Closed
Bug 597048
Opened 14 years ago
Closed 10 years ago
Add Universal Subtitles tool to videos on Mozilla.com
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: chelsea, Assigned: jslater)
References
Details
Universal Subtitles is about to release a major upgrade to their tool. We'd like to encourage people to add the subtitling tool to as many videos as they can so that people can easily subtitle and translate video. Seems like a good idea to start with our own videos. According to the Universal Subtitles guys we need to substitute for the right ogv URL and add the following code. This is the code for the switch video: <script type="text/javascript" src="http://s3.www.universalsubtitles.org/embed.js"> ( {"video_url": "http://videos.mozilla.org/firefox/3.5/switch/switch.ogv"} ) </script> Or you can generate your own embed code here: http://universalsubtitles.org/videos/create/ If you have more questions, let me know and I can put you in touch with the Universal Subtitles team directly. Thanks! More info on the update is here: http://blog.universalsubtitles.org/2010/09/09/this-next-release-is-going-to-be-so-good/
Assignee | ||
Comment 1•14 years ago
|
||
Thanks Chelsea. Do you have a specific deadline or priority level for this? There's a lot going on right now, so that'd be helpful so we could know how to slot it in. It seems like a pretty quick & easy one, though - Alex and/or Steven, what do you think?
Reporter | ||
Comment 2•14 years ago
|
||
It would be great if it could be up and running in the next two weeks, if that's a reasonable time frame. They're starting a big promotional push the first weekend in October. But if that's too soon, then let me know what a good time frame would be.
Assignee | ||
Comment 3•14 years ago
|
||
Alex or Steven - what do you think?
Comment 4•14 years ago
|
||
Is this still relevant?
Reporter | ||
Comment 5•14 years ago
|
||
This is a nice-to-have as they're planning another update for Feb. Can it be done?
Comment 6•14 years ago
|
||
It appears that this requires 200+Kb of Javascript. Is it possible to have minimal set that loads the bulk of the assets only after the "Subtitle Me" button has been clicked?
Reporter | ||
Comment 7•14 years ago
|
||
I'll ask the USubs team and report asap or have them comment in this bug.
Comment 8•14 years ago
|
||
Steven– Can you get in touch with me about this so we can discuss exactly what your needs are? We can only address this issue in the way you describe, but I wanted to check in with you first. (This is Holmes Wilson from the Universal Subtitles project --hwilson AT g mail for email and jabber)
Comment 9•14 years ago
|
||
Chatted with Holmes and they're going to work on a way for the feature to have less of a performance impact for us. Will revisit when those changes are ready.
Comment 10•13 years ago
|
||
For the other folks following this ticket, the latest on this is that Steven is going to test the impact on page load time of loading the widget asynchronously. We think there's a good change the impact on page load time won't be a problem, and if it isn't, that's definitely the best solution.
Comment 11•13 years ago
|
||
(Continuing from bug 573076) Are we sure we want to use universal subtitles directly on mozilla pages? We (localizers) will not have any control, and the subtitles could be easily vandalized.
Comment 12•13 years ago
|
||
(In reply to comment #11) These are my concerns too.
Comment 13•13 years ago
|
||
Also, can we have a <noscript> block added to their default embed code, so that the video still works (but without subtitles) if people have JS turned off? Thanks :-) Gerv
Comment 14•13 years ago
|
||
(In reply to comment #13) > Also, can we have a <noscript> block added to their default embed code, so that > the video still works (but without subtitles) if people have JS turned off? > > Thanks :-) > > Gerv I just created a ticket for this: https://www.pivotaltracker.com/story/show/11617289
Comment 15•13 years ago
|
||
I just got off the phone with Dean from the Universal Subtitles project: * They are going to resolve the open technical issues with Universal Subtitles mentioned here that are blocking us from rolling this out. * Once we can deploy this, we'll add it to one page (probably mozilla.org/about) as a way to test how this will work on a Mozilla site. * Before rolling it out to any other videos on Mozilla sites, we will create a task force proposal and work with the web l10n community to shape and finalize those plans. * When that is done we'll look at getting this on other key sites and packaging it for other Mozillians to pick up for their projects.
Comment 16•13 years ago
|
||
(In reply to comment #15) > I just got off the phone with Dean from the Universal Subtitles project: David, thanks for sorting this out. To be clear, we'll be waiting until the first step ("They are going to resolve the open technical issues...") is addressed before any more action is taken on this bug.
Comment 17•13 years ago
|
||
Hi everyone-- just trying to list and coral the concerns that were raised. I think all of them have been resolved and we're waiting on Steven's performance test (see below). (In reply to comment #13) > Also, can we have a <noscript> block added to their default embed code, so that > the video still works (but without subtitles) if people have JS turned off? First, if you use the widgetizer method of embedding videos here and put the script code (here: http://universalsubtitles.org/) in the page header, videos will be unaffected when somebody arrives at the page with JS turned off. Second, we just fixed an issue requested by James Socol in support.mozilla, to remove all document.writes from the code due to security concerns (I believe). (In reply to comment #16) > (In reply to comment #15) > > I just got off the phone with Dean from the Universal Subtitles project: > > David, thanks for sorting this out. To be clear, we'll be waiting until the > first step ("They are going to resolve the open technical issues...") is > addressed before any more action is taken on this bug. Lastly, we agreed with Steven Garrity a few weeks back that he would test the impact on page load time of loading the Universal Subtitles widget asynchronously on the mozilla.com development stage site, and we clarified that it's possible to test this immediately. Splitting the JS as discussed above isn't practical for a few reasons (mainly: without undermining the user experience we want to create, there's no straightforward way to reduce the size of the code to, say, less than 80k-100k). Steven-- what were the results of that test?
Comment 18•13 years ago
|
||
> (In reply to comment #13)
> > Also, can we have a <noscript> block added to their default embed code, so that
> > the video still works (but without subtitles) if people have JS turned off?
>
> First, if you use the widgetizer method of embedding videos here and put the
> script code (here: http://universalsubtitles.org/) in the page header, videos
> will be unaffected when somebody arrives at the page with JS turned off.
Oops, Adam reminds me:
They don't want bulky js in the page header because it slows down page loading time. They want it at the end of the body element or somewhere close to the end of the document. They can also just add the script asynchronously -- it's a well-known trick.
Comment 19•13 years ago
|
||
I created two new bugs that block this bug, for the outstanding issues in this thread. 669907 and 669911 Are there any other reasons why we wouldn't be ready to deploy Universal Subtitles on a few test videos on moz.org/moz.com? We'd really like to begin soliciting feedback from the community!
Comment 20•13 years ago
|
||
Both blockers have been addressed. Widgetizer.js is 75% lighter and the document.write methods are gone. Please have a look so we can progress to a test integration on some part of mozilla.org. I'll connect with David about where the best place would be. Cheers, Ben
Updated•12 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Comment 21•10 years ago
|
||
Currently videos are uploaded to YouTube and subtitles are also synced from Amara (formerly known as Universal Subtitles) to YouTube. I think this can be WONTFIXed.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•