~didrocks/totem/ubuntu

« back to all changes in this revision

Viewing changes to debian/test.html

  • Committer: Didier Roche
  • Date: 2009-01-06 16:54:42 UTC
  • Revision ID: didrocks@ubuntu.com-20090106165442-6kjg99vrbyiddwrg
init totem package in bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
<title>Test</title>
 
4
</head>
 
5
<body>
 
6
<div align="middle">
 
7
<h1>PIMP</h1>
 
8
<h3>PIMP Internet Media Player</h3>
 
9
<table cellspacing="12" cellpadding="0">
 
10
<tr>
 
11
  <td colspan="3">
 
12
<embed src="file:///home/lool/fnu/apple_promouse.mpeg"
 
13
  width="384" height="300" controller="false" enablejavascript="true"
 
14
  bgcolor=#000000 autoplay="true" name="player"/>
 
15
  </td>
 
16
</tr>
 
17
<tr>
 
18
  <td align="middle">
 
19
    <img src="file:///usr/share/icons/Bluecurve/48x48/stock/media-play.png"
 
20
      onClick="javascript:document.player.Play();"/>
 
21
  </td>
 
22
  <td align="middle">
 
23
    <img src="file:///usr/share/icons/Bluecurve/48x48/stock/media-pause.png"
 
24
      onClick="javascript:document.player.Stop();"/>
 
25
  </td>
 
26
  <td align="middle">
 
27
    <img src="file:///usr/share/icons/Bluecurve/48x48/stock/media-stop.png"
 
28
      onClick="javascript:document.player.Rewind();"/>
 
29
  </td>
 
30
</td>
 
31
</table>
 
32
<script><!--
 
33
  Maybe add in future:
 
34
  - kiosk mode
 
35
 
 
36
  Javascript controls:
 
37
  Play() -> play
 
38
  Rewind() -> stop
 
39
  Stop() -> pause
 
40
  GetTimeScale() -> get units per second (e.g. milliseconds)
 
41
  SetTime(int time) / GetTime() -> query/seek (in timescale)
 
42
  GetVolume() / SetVolume (int vol) -> set/get volume (?)
 
43
  SetIsLooping(boolean loop) / GetIsLooping() -> get/set loop
 
44
  GetMute() / SetMute(boolean mute) -> set/get mute
 
45
  SetTarget(string url) / GetTarget() -> change HREF
 
46
  SetURL(string url) / GetURL() -> change URL
 
47
  GetDuration() -> get movie length (in timescale)
 
48
--></script>
 
49
</div>
 
50
</body>
 
51
</html>