-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deferring youtube initialization (#39)
- Loading branch information
Showing
6 changed files
with
51 additions
and
11 deletions.
There are no files selected for viewing
Empty file.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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,41 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>afterglow development sandbox</title> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.3"> | ||
|
||
<!-- STYLES --> | ||
<link rel="stylesheet" type="text/css" href="../vendor/videojs/video-js.css"> | ||
<link rel="stylesheet/less" type="text/css" href="../src/less/skins/afterglow-default.less"> | ||
<link rel="stylesheet/less" type="text/css" href="../src/less/skins/afterglow-light.less"> | ||
<link rel="stylesheet/less" type="text/css" href="../src/less/skins/afterglow-dark.less"> | ||
<link rel="stylesheet/less" type="text/css" href="../src/less/components/lightbox.less"> | ||
|
||
<!-- SCRIPTS --> | ||
<script src="js/less.min.js" type="text/javascript"></script> | ||
<script type="text/javascript" src="../vendor/videojs/video.js"></script> | ||
<script type="text/javascript" src="../vendor/videojs/plugins/Youtube.js"></script> | ||
<script type="text/javascript" src="../vendor/videojs/plugins/videojs-vimeo.js"></script> | ||
<script type="text/javascript" src="../vendor/videojs/plugins/videojs.hotkeys.js"></script> | ||
<script type="text/javascript" src="../dist/tmp/afterglow-bundle.js"></script> | ||
|
||
<style> | ||
body{ | ||
max-width:1000px; | ||
margin: 0 auto; | ||
padding:0 50px 50px; | ||
} | ||
</style> | ||
|
||
</head> | ||
<body> | ||
<h1>This is just a sandbox for development.</h1> | ||
|
||
<!-- LOCAL TEST --> | ||
<h2>Local video, single source, with poster and bound play event</h2> | ||
<a class="afterglow" href="#video1"> Test 2</a> | ||
<video id="video1" width="1920" height="1080" poster="http://afterglowplayer.com/sandbox/video/Snapshots/afterglow_local.jpg" preload="none" data-youtube-id="HgbHx4CY300"></video> | ||
<video id="video2" class="afterglow" width="1920" height="1080" poster="http://afterglowplayer.com/sandbox/video/Snapshots/afterglow_local.jpg" preload="none" src="http://afterglowplayer.com/sandbox/video/MP4/afterglow_local.mp4"></video> | ||
</body> | ||
</html> |
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