[Ma-linux] [Dclug] How to put a video into a web page?
Mike Shade
mshade at mshade.org
Sun Jun 28 16:37:10 EDT 2009
Hi Alan.
You've got a pretty simple typo in your final javascript snippet:
<script> language="JavaScript">
flowplayer("player", "flowplayer-3.1.1.swf");
</script>
The first <script> should not have a trailing bracket.
<script language="JavaScript">
flowplayer("player", "flowplayer-3.1.1.swf");
</script>
That should work.
-- Mike
On Sun, Jun 28, 2009 at 4:08 PM, Alan McConnell <alan at patriot.net> wrote:
> On Sun, Jun 28, 2009 at 01:56:54PM -0400, Maxwell Spangler wrote:
> >
> > 1) You might have put your video into a format such as xvid or dvix
> > which can work with Windows but generally requires additional software
> > to be installed, hence it works on Linux but not Windows. Note: ".avi"
> > is a "container" for video and within an avi you can have windows, xvid,
> > dvix, and many other formats. So one cannot assume that any avi will
> > work on Windows (or Linux).
> I use this opportunity for an interim report. I have spent
> some time on learning about flowplayer , which has been
> recommended by several people. After some struggles, and
> some self-induced pain(*), I have "mastered" flowplayer up
> to what may be a step from the end. (flowplayer is GPLed
> and easily available, hence it is not "cheating")
>
> I comment on the rest of Uncle Max's post, and then describe
> this hopefully last remaining problem.
>
> > 2) Getting the scroll bar to work may require streaming the video from a
> > server as opposed to simply playing the file from start to finish which
> > is what you're doing by simply pointing a browser to a file on a web
> > page.
> I grok not the difference between "streaming the video" and
> "playing the file". But Max certainly has a point, in that
> flowplayer, which seems to be a Javascript script, does give
> instructions that most visual browsers seem to understand.
> For the first time, my brother in CA, running IE, gets the
> same results as do I with my Iceweasel.
>
>
> > 3) Youtube works really well and thats why so many of us enjoy using it.
> Yup. Nothing against youtube! If I want to see some great
> Kobe Bryant moves, or watch Gilles Apap's violin wizardry,
> or watch Obama play with Bo, I go to youtube.
>
> BUT: are we Linuxers wimps? must we depend on cloud computing?
> I sincerely hope not. Besides, youtube doesn't allow uploads
> of more than 10 minutes; my video is just short of 20 minutes.
> And, as I've said before, my video was on googlevideos for
> a year and a half, and then got taken down. So a) I'm grateful
> for the time it was allowed; b) I've got the message that I now
> have to fend for myself.
>
> My video is at www.waifllc.org/kensington . Point your
> browser(not lynx!) there, and you'll get the error message:
> TypeError Error #1009 . I've googled, and it seems that
> in html, Error 1009 means: the reference can't be found.
>
> For flowplayer mavens; Here is the relevant snippet of my
> code:
> <center>
> <a href="http://www.waifllc.org/kensingon-1.flv"
> style="display:block;width:480px;height:350px;"
> id="player"> </a>
> </center>
> I believe that the href points at the wrong thing. It doesn't
> look right, does it? yet that is what my reading of the
> documention says. Of course I've tried changing that one
> line, but haven't hit the button yet.
>
> At such time as I achieve success, I'll do a Summary for the
> Assembled Multitude, with the hope of saving others anguish,
> and enhancing every Linuxer's powers.
>
> Best wishes to all,
>
> Alan,
>
>
>
> (*) One can waste tens of minutes if one inadvertently types
> <script> (stuff) <script>
> instead of the correct
> <script> (stuff) </script>
> Grrrrr!
>
>
> --
> Alan McConnell : http://patriot.net/users/alan
> They finally got King Midas, I hear. Gild by association.
> What a giftless bastard! (Tchaikovsky, about Brahms)
> _______________________________________________
> Ma-linux mailing list
> Ma-linux at calypso.tux.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/ma-linux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/ma-linux/attachments/20090628/40dc3f8f/attachment-0001.html
More information about the Ma-linux
mailing list