File size: 2,436 Bytes
0300ff6
 
 
 
 
 
 
 
 
 
 
7630f5a
 
 
0300ff6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7630f5a
 
 
 
0300ff6
 
 
 
7630f5a
64298b1
 
 
 
 
0300ff6
 
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>IPTV Player</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
    <app-layout>
      <div class="iptv-container">
<div class="player-container">
            <video id="iptv-player" controls>
                <source src="" type="video/mp4">
                Your browser does not support the video tag.
            </video>
            <div class="player-controls">
                <button id="play-btn"><i class="fas fa-play"></i></button>
                <button id="pause-btn"><i class="fas fa-pause"></i></button>
                <input type="range" id="volume-slider" min="0" max="1" step="0.1" value="1">
                <button id="fullscreen-btn"><i class="fas fa-expand"></i></button>
            </div>
        </div>

        <div class="channels-container">
            <div class="channel-search">
                <input type="text" id="channel-search" placeholder="Search channels...">
                <button id="search-btn"><i class="fas fa-search"></i></button>
            </div>
            
            <div class="channel-categories">
                <button class="category-btn active" data-category="all">All</button>
                <button class="category-btn" data-category="sports">Sports</button>
                <button class="category-btn" data-category="movies">Movies</button>
                <button class="category-btn" data-category="news">News</button>
                <button class="category-btn" data-category="kids">Kids</button>
            </div>

            <div class="channels-grid" id="channels-grid">
                <!-- Channels will be loaded here -->
            </div>
        </div>
      </div>
    </app-layout>
    
    <script src="components/layout.js"></script>
    <script src="components/navbar.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script src="iptv.js"></script>
<script>
        // Fallback for HLS.js if not loaded
        if (typeof Hls === 'undefined') {
            console.warn('HLS.js not loaded - using native HLS support');
        }
    </script>
</body>
</html>