1
0
mirror of https://github.com/videojs/video.js.git synced 2024-11-28 08:58:46 +02:00
video.js/index.html
Usman Omar 8f3f32cb2b
feat: add skip forward/backward buttons (#8147)
* 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
2023-03-06 09:51:59 +00:00

38 lines
1.7 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Video.js Dev Server</title>
</head>
<body>
<h2>Navigation</h2>
<ul>
<li><a href="test/debug.html">Run unit tests in browser.</a></li>
<li><a href="docs/api/">view api docs</a></li>
<li><a href="sandbox/index.html">Simple Demo (also seen below)</a></li>
<li><a href="sandbox/plugin.html">Plugin Demo</a></li>
<li><a href="sandbox/responsive.html">Responsive Demo</a></li>
<li><a href="sandbox/middleware-play.html">Middleware Play Demo</a></li>
<li><a href="sandbox/icons.html">Icons Demo</a></li>
<li><a href="sandbox/focus-visible.html">Focus Visible Demo</a></li>
<li><a href="sandbox/embeds.html">Embeds Demo</a></li>
<li><a href="sandbox/descriptions.html">Descriptions Demo</a></li>
<li><a href="sandbox/combined-tracks.html">Combined Tracks Demo</a></li>
<li><a href="sandbox/live.html">Live Demo</a></li>
<li><a href="sandbox/liveui.html">LiveUI Demo</a></li>
<li><a href="sandbox/vertical-volume.html">Vertical Volume Demo</a></li>
<li><a href="sandbox/language.html">Language Demo</a></li>
<li><a href="sandbox/load-media.html"><code>loadMedia</code> Demo</a></li>
<li><a href="sandbox/hls.html">Hls Demo</a></li>
<li><a href="sandbox/quality-levels.html">QualityLevels Demo</a></li>
<li><a href="sandbox/autoplay-tests.html">Autoplay Tests</a></li>
<li><a href="sandbox/noUITitleAttributes.html">noUITitleAttributes Demo</a></li>
<li><a href="sandbox/skip-buttons.html">Skip Buttons demo</a></li>
<li><a href="sandbox/debug.html">Videojs debug build test page</a></li>
</ul>
<h2>Simple Demo (in an iframe)</h2>
<iframe src="sandbox/index.html" width=700 height=500></iframe>
</body>
</html>