/var/www/hkosl.com/course_demo/view/index.php


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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html lang="en">

<head>

    <?php include 'inc/headlinks.php'?>
</head>

<body class="bodyBg">


    <div class="header">
        <div class="title">
            <p class="mainTitle mb-0"><img src="../assets/images/logo.svg" class="logo" alt="logo"> ATIC 網上平台</p>
        </div>
    </div>

    <section class="bodyWrap">

        <div class="w-100">
            <div class="wrap indexWrap">
                <div class="main">
                    <div class="paperWrap">
                        <div class="videoWrap">
                            <video width="100%" class="video" height="100%" playsinline style="pointer-events: none;"
                                poster="../assets/images/video.png?v1232156">
                                <source src="../assets/video/intro-01.mp4" type="video/mp4">
                                <source src="video.webm" type="video/webm">
                                Your browser does not support the video tag.

                            </video>
                            <div class="progress">
                                <span class="timeline"></span>
                            </div>
                        </div>
          
                        <div class="videoControl">
                            <div>
                                <button class="videoBtn btn"><i class="fas fa-play-circle"></i> 播放</button>
                                <button class="replayBtn btn hide"><i class="fas fa-undo"></i> 重播</button>
                            </div>

                            <p class="text-danger small">**請先按播放看完影片**</p>

                            
                        </div>
                    </div>
                    <div class="titleWrap mb-1 flex-column">
                        <p class="mb-2 h3 greenFont bold">課程A(CSK23001)</p>
                        <!--  <p>JavaScript is now used to power backends, create hybrid mobile applications, architect cloud
                            solutions, design neural networks and even control robots. Enter TypeScript: a superset of
                            JavaScript for scalable, secure, performant and feature-rich applications.</p> -->
                            <div class="btnControl question mt-auto">
                             
                                    <button class="fancy-button bg-gradient1 startBtn" onclick="window.location.href='question.php'"><span>開始課程</span></button>
                                </div>
                    </div>
                </div>
            </div>
        </div>
    </section>





    <script src="../assets/js/custom.js"></script>


    <script>
    $(function() {

        $(".startBtn").hide();
        $(video).on('ended', function() {
            isPlaying = false;
            toggleBtn.html(`<i class="fas fa-play-circle"></i> 播放`);
            $(".replayBtn").removeClass("hide");

            $(".startBtn").fadeIn();

            // Call a function or execute code here
        });

    });
    </script>



</body>



</html>