Serve videojs files locally #2

Open
opened 3 years ago by decentral1se · 3 comments
Owner
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Live Streaming</title>
    <link href="https://vjs.zencdn.net/7.10.2/video-js.css" rel="stylesheet" />
    <script src="https://vjs.zencdn.net/7.10.2/video.min.js"></script>
  </head>
  <body>
    <video
      id="player"
      class="video-js vjs-default-skin"
      height="360"
      width="640"
      controls
      preload="none"
    >
      <source
        src="https://video.vvvvvvaria.org/test.m3u8"
        type="application/x-mpegURL"
      />
    </video>
    <script>
      var player = videojs("#player");
    </script>
  </body>
</html>
```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Live Streaming</title> <link href="https://vjs.zencdn.net/7.10.2/video-js.css" rel="stylesheet" /> <script src="https://vjs.zencdn.net/7.10.2/video.min.js"></script> </head> <body> <video id="player" class="video-js vjs-default-skin" height="360" width="640" controls preload="none" > <source src="https://video.vvvvvvaria.org/test.m3u8" type="application/x-mpegURL" /> </video> <script> var player = videojs("#player"); </script> </body> </html> ```
Poster
Owner

Done!

Done!
decentral1se closed this issue 3 years ago
rra commented 3 years ago

Can we serve this JS library locally?

Can we serve this JS library locally?
rra reopened this issue 3 years ago
Poster
Owner

I personally don't mind, go ahead if you want to do it.

I personally don't mind, go ahead if you want to do it.
decentral1se changed title from Embedding varia RTMP / HLS stream into HTML (!) to Serve videojs files locally 3 years ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.