Closed
Bug 439358
Opened 18 years ago
Closed 18 years ago
Video code on Firefox page can't accept other videos than the english one
Categories
(www.mozilla.org :: General, defect)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
3.0
People
(Reporter: pascalc, Unassigned)
References
Details
The js code to call a video on the firefox code lacks documentation on how to call the video:
http://viewvc.svn.mozilla.org/vc/projects/mozilla.com/trunk/js/firefox-video-launch.js?revision=15399&view=markup
We have 19 subtitled videos in both flv and ogg versions that will be hosted on videos.mozilla.org, I need to know how to have our pages on mozilla-europe call the subtitled videos. Currently, the only thing that it can display is the youtube video with Asa and crop circle.
Flags: blocking-firefox3?
Updated•18 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Comment 1•18 years ago
|
||
I've got a request into the flash develop to help us get it set up such that we can pass in the URL of the video into the SWF file.
| Reporter | ||
Comment 2•18 years ago
|
||
any news on this? This is blocking the release of the new site for Europe.
Comment 3•18 years ago
|
||
I notified the people at the Royal Order (agency that we worked with to create the new site and the video) and they have a Flash guy working on it right now. I conveyed the urgency of the issue, so I'm expecting this to be resolved today.
Will keep you posted.
Updated•18 years ago
|
Target Milestone: --- → 3.0
| Reporter | ||
Updated•18 years ago
|
Severity: normal → blocker
Comment 4•18 years ago
|
||
We've got an updated version of the player that lets us pass in another video. Pascal, you can update the video in en-US/firefox.html on this line:
var player = new FirefoxVideoLaunch('launch-video', 'video/playerWithControls.swf?flv=videos/FF3_Screencast_Draft4.flv');
replacing "videos/FF3_Screencast_Draft4.flv" with the URL of your video.
You can also add the following lines to the html file right before the "var player" line to localize the text:
var PLAYER_CLOSE_TEXT = '';
var PLAYER_NOFLASH_TEXT = '';
var PLAYER_ALT_TEXT = '';
See the defaults for each at the top of js/firefox-video-launch.js
The problem we have now is that the sub-titled videos are a different height/width, and it appears that the player expects a single standard size. I'll ask them about this.
| Reporter | ||
Comment 5•18 years ago
|
||
ok, I am going to try in an hour or so. Note that I have only added subtitles to the video, they have the same height and width as the original one I was given for subtitling.
Comment 6•18 years ago
|
||
Comment 7•18 years ago
|
||
now with r15798, you can re-set the height/width of the flash player per-page.
Comment 8•18 years ago
|
||
Filed bug 439560 for security hole with new video player
| Reporter | ||
Comment 9•18 years ago
|
||
I have integrated all the latest changes and it works, it now picks up the subtitled videos, but the width/height does not really work, if I increase height to the size we use, I loose the download link to the ogg version and the change in size does not change the real width/height ratio of the video so the text and image are a bit distorted.
Comment 10•18 years ago
|
||
Pascal, you should be using playerWithControlsCaps.swf, not playerWithControls.swf. That version is setup for the video sizes with captions. It's in includes/flash/
Comment 11•18 years ago
|
||
Pascal tells me this depends on bug 439351, so marking appropriately.
Depends on: 439351
Comment 12•18 years ago
|
||
[12:19] <beltzner> ok, now that the files are copied, anything else to do on 439358?
[12:19] <pascalchevrel> no
Marking FIXED.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•14 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
| Assignee | ||
Updated•14 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•