]> pere.pagekite.me Git - homepage.git/blob - blog/When_web_browser_developers_make_a_video_player___.html
Generated.
[homepage.git] / blog / When_web_browser_developers_make_a_video_player___.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html>
4 <head>
5 <title>Petter Reinholdtsen: When web browser developers make a video player...</title>
6 <link rel="stylesheet" type="text/css" media="screen" href="style.css">
7 </head>
8 <body>
9
10 <div class="title">
11 <h1>
12 <a href="">Petter Reinholdtsen</a>
13
14 </h1>
15
16 </div>
17
18
19 <div class="entry">
20 <div class="title">When web browser developers make a video player...</div>
21 <div class="date">2009-01-17 18:50</div>
22 <div class="body">
23 <p>As part of the work we do in <a href="http://www.nuug.no">NUUG</a>
24 to publish video recordings of our monthly presentations, we provide a
25 page with embedded video for easy access to the recording. Putting a
26 good set of HTML tags together to get working embedded video in all
27 browsers and across all operating systems is not easy. I hope this
28 will become easier when the &lt;video&gt; tag is implemented in all
29 browsers, but I am not sure. We provide the recordings in several
30 formats, MPEG1, Ogg Theora, H.264 and Quicktime, and want the
31 browser/media plugin to pick one it support and use it to play the
32 recording, using whatever embed mechanism the browser understand.
33 There is at least four different tags to use for this, the new HTML5
34 &lt;video&gt; tag, the &lt;object&gt; tag, the &lt;embed&gt; tag and
35 the &lt;applet&gt; tag. All of these take a lot of options, and
36 finding the best options is a major challenge.</p>
37
38 <p>I just tested the experimental Opera browser available from <a
39 href="http://labs.opera.com">labs.opera.com</a>, to see how it handled
40 a &lt;video&gt; tag with a few video sources and no extra attributes.
41 I was not very impressed. The browser start by fetching a picture
42 from the video stream. Not sure if it is the first frame, but it is
43 definitely very early in the recording. So far, so good. Next,
44 instead of streaming the 76 MiB video file, it start to download all
45 of it, but do not start to play the video. This mean I have to wait
46 for several minutes for the downloading to finish. When the download
47 is done, the playing of the video do not start! Waiting for the
48 download, but I do not get to see the video? Some testing later, I
49 discover that I have to add the controls="true" attribute to be able
50 to get a play button to pres to start the video. Adding
51 autoplay="true" did not help. I sure hope this is a misfeature of the
52 test version of Opera, and that future implementations of the
53 &lt;video&gt; tag will stream recordings by default, or at least start
54 playing when the download is done.</p>
55
56 <p>The test page I used (since changed to add more attributes) is
57 <a href="http://www.nuug.no/aktiviteter/20090113-foredrag-om-foredrag/">available
58 from the nuug site</a>. Will have to test it with the new Firefox
59 too.</p>
60
61 <p>In the test process, I discovered a missing feature. I was unable
62 to find a way to get the URL of the playing video out of Opera, so I
63 am not quite sure it picked the Ogg Theora version of the video. I
64 sure hope it was using the announced Ogg Theora support. :)</p>
65 </div>
66
67 <div class="tags">Tags: <a href="tags/english">english</a>, <a href="tags/multimedia">multimedia</a>, <a href="tags/nuug">nuug</a>, <a href="tags/video">video</a>, <a href="tags/web">web</a>.</div>
68
69 </div>
70
71
72
73
74
75
76 <div id="sidebar">
77
78 <h2>Archive</h2>
79 <ul>
80
81 <li>2009
82 <ul>
83
84 <li><a href="archive/2009/01/">January (8)</a></li>
85
86 <li><a href="archive/2009/02/">February (8)</a></li>
87
88 <li><a href="archive/2009/03/">March (12)</a></li>
89
90 <li><a href="archive/2009/04/">April (10)</a></li>
91
92 <li><a href="archive/2009/05/">May (9)</a></li>
93
94 <li><a href="archive/2009/06/">June (3)</a></li>
95
96 <li><a href="archive/2009/07/">July (3)</a></li>
97
98 </ul></li>
99
100 <li>2008
101 <ul>
102
103 <li><a href="archive/2008/11/">November (5)</a></li>
104
105 <li><a href="archive/2008/12/">December (7)</a></li>
106
107 </ul></li>
108
109 </ul>
110
111
112
113 <h2>Tags</h2>
114 <ul>
115
116 <li><a href="tags/3d-printer">3d-printer (11)</a></li>
117
118 <li><a href="tags/amiga">amiga (1)</a></li>
119
120 <li><a href="tags/aros">aros (1)</a></li>
121
122 <li><a href="tags/debian">debian (13)</a></li>
123
124 <li><a href="tags/debian edu">debian edu (7)</a></li>
125
126 <li><a href="tags/english">english (14)</a></li>
127
128 <li><a href="tags/fiksgatami">fiksgatami (1)</a></li>
129
130 <li><a href="tags/fildeling">fildeling (3)</a></li>
131
132 <li><a href="tags/lenker">lenker (1)</a></li>
133
134 <li><a href="tags/ltsp">ltsp (1)</a></li>
135
136 <li><a href="tags/multimedia">multimedia (5)</a></li>
137
138 <li><a href="tags/norsk">norsk (51)</a></li>
139
140 <li><a href="tags/nuug">nuug (50)</a></li>
141
142 <li><a href="tags/opphavsrett">opphavsrett (5)</a></li>
143
144 <li><a href="tags/personvern">personvern (8)</a></li>
145
146 <li><a href="tags/reprap">reprap (10)</a></li>
147
148 <li><a href="tags/rss">rss (1)</a></li>
149
150 <li><a href="tags/sikkerhet">sikkerhet (2)</a></li>
151
152 <li><a href="tags/standard">standard (7)</a></li>
153
154 <li><a href="tags/stavekontroll">stavekontroll (1)</a></li>
155
156 <li><a href="tags/video">video (9)</a></li>
157
158 <li><a href="tags/vitenskap">vitenskap (1)</a></li>
159
160 <li><a href="tags/web">web (4)</a></li>
161
162 </ul>
163
164 </div>
165 </body>
166 </html>