File size: 1,939 Bytes
cce7a40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>LBW Hover Analysis</title>
  <style>
    body { font-family: Arial, sans-serif; background: #222; color: white; margin: 0; padding: 0; }
    .video-container {
      position: relative;
      width: 100%;
      max-width: 960px;
      margin: 40px auto;
    }
    video {
      width: 100%;
      height: auto;
      display: block;
      border: 4px solid #fff;
    }
    .overlay {
      position: absolute;
      border: 2px dashed #ff0;
      background-color: rgba(255, 255, 0, 0.2);
      color: #000;
      font-weight: bold;
      padding: 4px;
      border-radius: 6px;
      pointer-events: all;
      cursor: help;
    }
    .tooltip {
      visibility: hidden;
      width: 180px;
      background-color: black;
      color: #fff;
      text-align: center;
      border-radius: 6px;
      padding: 5px 8px;
      position: absolute;
      z-index: 2;
      bottom: 125%;
      left: 50%;
      margin-left: -90px;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .overlay:hover .tooltip {
      visibility: visible;
      opacity: 1;
    }
  </style>
</head>
<body>
  <div class="video-container">
    <video controls>
      <source src="replay_lbw_analysis_f175cd6fa04f4ec8882b647d4763e7d5.mp4" type="video/mp4">
      Your browser does not support the video tag.
    </video>

    <!-- Hoverable Zones -->
    <div class="overlay" style="top: 70%; left: 30%; width: 80px; height: 40px;">
      <div class="tooltip">Pitching: Outside Off</div>
    </div>

    <div class="overlay" style="top: 48%; left: 45%; width: 90px; height: 40px;">
      <div class="tooltip">Impact: In-line</div>
    </div>

    <div class="overlay" style="top: 25%; left: 50%; width: 100px; height: 40px;">
      <div class="tooltip">Wickets: Hitting</div>
    </div>
  </div>
</body>
</html>