Posted by Nehmo on 02/12/07 10:57
> >http://download.sketchup.com/videos/su5videos/Mod_B2-rotate_tool.swf
>
> > But placing that in the Firefox address box gets me nothing.
>
> That url works for me - any browser.
Well, it doesn't work for me. The title is correct in the title bar.
And when I right click anywhere I can see I'm in a Flash file. But I
don't get the movie. I get the same behavior in Firefox 2.0.0.1 and IE
7.
Apparently, the video player on http://download.sketchup.com/videos/videoplayer.swf
gets loaded in the browser and then the swf file gets loaded into
that.
I don't know Javascript, but the procedure for playing the swf file
seems to be in this part of the code:
// render a video in the play area
function dovideo(id)
{
if (!id) id = 0; /* THIS IS NEW */
var elem = document.getElementById("playing");
elem.innerHTML =
'<embed style="width:640px; height:500px;" ' +
'type="application/x-shockwave-flash" bgcolor="#000000" ' +
'src="' + player + '" FlashVars="videoUrl=' + path +
videos[id].link +
'&hl=en&autoplay=true"></embed>';
var elem = document.getElementById("title");
elem.innerHTML = videos[id].title;
}
Anyway, I still don't know how to make a direct link to the video.
--
(||) Nehmo (||)
[Back to original message]
|