mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
8f3f32cb2b
* remove duplicate icons from icon example * create initial forward and back button classes * add logic for back/forward buttons on click * change icon used based on option passed into player * move logic from forward and back buttons into one component * add jsdoc comments for clarity * create initial test file * refactor button logic into separate files * update skip button example and add test files * test both the forward and backward buttons * test handleClick fns for both forward and backward btns * update skip buttons example * update jsdocs for skip backward and forward buttons * make control text accessible and use seekableEnd/Start when skipping forward/back * update font version to use updated icons * set control text only if config is valid * add link to sandbox page & use localization * update translations needed
67 lines
4.4 KiB
Plaintext
67 lines
4.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Video.js Icons Sandbox</title>
|
|
|
|
<link href="../dist/video-js.css" rel="stylesheet" type="text/css">
|
|
|
|
<style>
|
|
.icon-list li span { font-size: 150% }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Video.js Icons</h1>
|
|
<p>This is a list of all of the icons available in the Video.js base stylesheet. The appropriate class is to the right of each icon.</p>
|
|
|
|
<ul class="icon-list">
|
|
<li><span class="vjs-icon-play"></span> <code>.vjs-icon-play</code></li>
|
|
<li><span class="vjs-icon-play-circle"></span> <code>.vjs-icon-play-circle</code></li>
|
|
<li><span class="vjs-icon-pause"></span> <code>.vjs-icon-pause</code></li>
|
|
<li><span class="vjs-icon-volume-mute"></span> <code>.vjs-icon-volume-mute</code></li>
|
|
<li><span class="vjs-icon-volume-low"></span> <code>.vjs-icon-volume-low</code></li>
|
|
<li><span class="vjs-icon-volume-mid"></span> <code>.vjs-icon-volume-mid</code></li>
|
|
<li><span class="vjs-icon-volume-high"></span> <code>.vjs-icon-volume-high</code></li>
|
|
<li><span class="vjs-icon-fullscreen-enter"></span> <code>.vjs-icon-fullscreen-enter</code></li>
|
|
<li><span class="vjs-icon-fullscreen-exit"></span> <code>.vjs-icon-fullscreen-exit</code></li>
|
|
<li><span class="vjs-icon-spinner"></span> <code>.vjs-icon-spinner</code></li>
|
|
<li><span class="vjs-icon-subtitles"></span> <code>.vjs-icon-subtitles</code></li>
|
|
<li><span class="vjs-icon-captions"></span> <code>.vjs-icon-captions</code></li>
|
|
<li><span class="vjs-icon-hd"></span> <code>.vjs-icon-hd</code></li>
|
|
<li><span class="vjs-icon-chapters"></span> <code>.vjs-icon-chapters</code></li>
|
|
<li><span class="vjs-icon-downloading"></span> <code>.vjs-icon-downloading</code></li>
|
|
<li><span class="vjs-icon-file-download"></span> <code>.vjs-icon-file-download</code></li>
|
|
<li><span class="vjs-icon-file-download-done"></span> <code>.vjs-icon-file-download-download</code></li>
|
|
<li><span class="vjs-icon-file-download-off"></span> <code>.vjs-icon-file-download-off</code></li>
|
|
<li><span class="vjs-icon-share"></span> <code>.vjs-icon-share</code></li>
|
|
<li><span class="vjs-icon-cog"></span> <code>.vjs-icon-cog</code></li>
|
|
<li><span class="vjs-icon-square"></span> <code>.vjs-icon-square</code></li>
|
|
<li><span class="vjs-icon-circle"></span> <code>.vjs-icon-circle</code></li>
|
|
<li><span class="vjs-icon-circle-outline"></span> <code>.vjs-icon-circle-outline</code></li>
|
|
<li><span class="vjs-icon-circle-inner-circle"></span> <code>.vjs-icon-circle-inner-circle</code></li>
|
|
<li><span class="vjs-icon-cancel"></span> <code>.vjs-icon-cancel</code></li>
|
|
<li><span class="vjs-icon-repeat"></span> <code>.vjs-icon-repeat</code></li>
|
|
<li><span class="vjs-icon-replay"></span> <code>.vjs-icon-replay</code></li>
|
|
<li><span class="vjs-icon-replay-5"></span> <code>.vjs-icon-replay-5</code></li>
|
|
<li><span class="vjs-icon-replay-10"></span> <code>.vjs-icon-replay-10</code></li>
|
|
<li><span class="vjs-icon-replay-30"></span> <code>.vjs-icon-replay-30</code></li>
|
|
<li><span class="vjs-icon-forward-5"></span> <code>.vjs-icon-forward-5</code></li>
|
|
<li><span class="vjs-icon-forward-10"></span> <code>.vjs-icon-forward-10</code></li>
|
|
<li><span class="vjs-icon-forward-30"></span> <code>.vjs-icon-forward-30</code></li>
|
|
<li><span class="vjs-icon-audio"></span> <code>.vjs-icon-audio</code></li>
|
|
<li><span class="vjs-icon-next-item"></span> <code>.vjs-next-item</code></li>
|
|
<li><span class="vjs-icon-previous-item"></span> <code>.vjs-icon-previous-item</code></li>
|
|
<li><span class="vjs-icon-shuffle"></span> <code>.vjs-icon-shuffle</code></li>
|
|
<li><span class="vjs-icon-cast"></span> <code>.vjs-icon-cast</code></li>
|
|
<li><span class="vjs-icon-picture-in-picture-enter"></span> <code>.vjs-icon-picture-in-picture-enter</code></li>
|
|
<li><span class="vjs-icon-picture-in-picture-exit"></span> <code>.vjs-icon-picture-in-picture-exit</code></li>
|
|
<li><span class="vjs-icon-facebook"></span> <code>.vjs-icon-facebook</code></li>
|
|
<li><span class="vjs-icon-linkedin"></span> <code>.vjs-icon-linkedin</code></li>
|
|
<li><span class="vjs-icon-twitter"></span> <code>.vjs-icon-twitter</code></li>
|
|
<li><span class="vjs-icon-tumblr"></span> <code>.vjs-icon-tumblr</code></li>
|
|
<li><span class="vjs-icon-pinterest"></span> <code>.vjs-icon-pinterest</code></li>
|
|
<li><span class="vjs-icon-audio-description"></span> <code>.vjs-icon-audio-description</code></li>
|
|
</ul>
|
|
</body>
|
|
</html>
|