-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: run demo https tunneled from localhost
To be able to actually run the demo it needs to be served behind a server with a valid HTTPS certificate. In order to simplify this, and make it easier to verify and develop this library, a npm script is added to setup the demo behind a HTTPS server in a single command.
- Loading branch information
1 parent
6e1238e
commit 79825b9
Showing
6 changed files
with
3,043 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ pids | |
*.seed | ||
|
||
# build directory | ||
dist | ||
/dist | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,15 @@ | |
<title>silvermine-videojs-chromecast Demo</title> | ||
<link href="https://unpkg.com/[email protected]/dist/video-js.css" rel="stylesheet"> | ||
<script src="https://unpkg.com/[email protected]/dist/video.js"></script> | ||
<script src="../../dist/silvermine-videojs-chromecast.min.js"></script> | ||
<link href="../../dist/silvermine-videojs-chromecast.css" rel="stylesheet"> | ||
<script src="/dist/silvermine-videojs-chromecast.min.js"></script> | ||
<link href="/dist/silvermine-videojs-chromecast.css" rel="stylesheet"> | ||
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script> | ||
</head> | ||
<body> | ||
<h1>Demo of <code>silvermine-videojs-chromecast</code></h1> | ||
|
||
<video id="video_1" class="video-js vjs-default-skin" controls preload="auto"> | ||
<source src="http://www.caminandes.com/download/03_caminandes_llamigos_1080p.mp4" type="video/mp4"> | ||
<source src="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4"> | ||
</video> | ||
|
||
<script> | ||
|
Oops, something went wrong.