videogular2
Version:
Videogular is a video application framework for desktop and mobile powered by Angular
900 lines (384 loc) • 32.9 kB
HTML
<html lang="" >
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Master Media · GitBook</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<link rel="stylesheet" href="../gitbook/style.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-responsive-iframes/plugin.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="using-the-api.html" />
<link rel="prev" href="how-videogular-works.html" />
</head>
<body>
<div class="book">
<div class="book-summary">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search" />
</div>
<nav role="navigation">
<ul class="summary">
<li class="header">Introduction</li>
<li class="chapter " data-level="1.1" data-path="../">
<a href="../">
What's Videogular?
</a>
</li>
<li class="header">Getting Started</li>
<li class="chapter " data-level="2.1" data-path="./">
<a href="./">
Getting Started
</a>
</li>
<li class="chapter " data-level="2.2" data-path="how-videogular-works.html">
<a href="how-videogular-works.html">
How Videogular works
</a>
</li>
<li class="chapter active" data-level="2.3" data-path="master-media.html">
<a href="master-media.html">
Master Media
</a>
</li>
<li class="chapter " data-level="2.4" data-path="using-the-api.html">
<a href="using-the-api.html">
Using the API
</a>
</li>
<li class="header">Modules</li>
<li class="chapter " data-level="3.1" data-path="../modules/core/">
<a href="../modules/core/">
videogular2/core
</a>
<ul class="articles">
<li class="chapter " data-level="3.1.1" data-path="../modules/core/vg-player/">
<a href="../modules/core/vg-player/">
VgPlayer
</a>
</li>
<li class="chapter " data-level="3.1.2" data-path="../modules/core/vg-media/">
<a href="../modules/core/vg-media/">
VgMedia
</a>
</li>
<li class="chapter " data-level="3.1.3" data-path="../modules/core/services/vg-api/">
<a href="../modules/core/services/vg-api/">
VgAPI
</a>
</li>
<li class="chapter " data-level="3.1.4" data-path="../modules/core/services/vg-fullscreen-api/">
<a href="../modules/core/services/vg-fullscreen-api/">
VgFullscreenAPI
</a>
</li>
<li class="chapter " data-level="3.1.5" data-path="../modules/core/services/vg-utils/">
<a href="../modules/core/services/vg-utils/">
VgUtils
</a>
</li>
<li class="chapter " data-level="3.1.6" data-path="../modules/core/services/vg-controls-hidden/">
<a href="../modules/core/services/vg-controls-hidden/">
VgControlsHidden
</a>
</li>
<li class="chapter " data-level="3.1.7" data-path="../modules/core/vg-cue-points/">
<a href="../modules/core/vg-cue-points/">
VgCuePoints
</a>
</li>
<li class="chapter " data-level="3.1.8" data-path="../modules/core/events/">
<a href="../modules/core/events/">
VgEvents
</a>
</li>
<li class="chapter " data-level="3.1.9" data-path="../modules/core/states/">
<a href="../modules/core/states/">
VgStates
</a>
</li>
<li class="chapter " data-level="3.1.10" data-path="../modules/core/bitrate-option/">
<a href="../modules/core/bitrate-option/">
BitrateOption
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.2" data-path="../modules/buffering/">
<a href="../modules/buffering/">
videogular2/buffering
</a>
<ul class="articles">
<li class="chapter " data-level="3.2.1" data-path="../modules/buffering/vg-buffering/">
<a href="../modules/buffering/vg-buffering/">
VgBuffering
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.3" data-path="../modules/controls/">
<a href="../modules/controls/">
videogular2/controls
</a>
<ul class="articles">
<li class="chapter " data-level="3.3.1" data-path="../modules/controls/vg-controls/">
<a href="../modules/controls/vg-controls/">
VgControls
</a>
</li>
<li class="chapter " data-level="3.3.2" data-path="../modules/controls/vg-play-pause/">
<a href="../modules/controls/vg-play-pause/">
VgPlayPause
</a>
</li>
<li class="chapter " data-level="3.3.3" data-path="../modules/controls/vg-playback/">
<a href="../modules/controls/vg-playback/">
VgPlaybackButton
</a>
</li>
<li class="chapter " data-level="3.3.4" data-path="../modules/controls/vg-scrub-bar/">
<a href="../modules/controls/vg-scrub-bar/">
VgScrubBar
</a>
<ul class="articles">
<li class="chapter " data-level="3.3.4.1" data-path="../modules/controls/vg-scrub-bar/vg-scrub-bar-current-time/">
<a href="../modules/controls/vg-scrub-bar/vg-scrub-bar-current-time/">
VgScrubBarCurrentTime
</a>
</li>
<li class="chapter " data-level="3.3.4.2" data-path="../modules/controls/vg-scrub-bar/vg-scrub-bar-buffering-time/">
<a href="../modules/controls/vg-scrub-bar/vg-scrub-bar-buffering-time/">
VgScrubBarBufferingTime
</a>
</li>
<li class="chapter " data-level="3.3.4.3" data-path="../modules/controls/vg-scrub-bar/vg-scrub-bar-cue-points/">
<a href="../modules/controls/vg-scrub-bar/vg-scrub-bar-cue-points/">
VgScrubBarCuePoints
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.3.5" data-path="../modules/controls/vg-time-display/">
<a href="../modules/controls/vg-time-display/">
VgTimeDisplay
</a>
<ul class="articles">
<li class="chapter " data-level="3.3.5.1" data-path="../modules/controls/vg-time-display/vg-utc.html">
<a href="../modules/controls/vg-time-display/vg-utc.html">
VgUtcPipe
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.3.6" data-path="../modules/controls/vg-track-selector/">
<a href="../modules/controls/vg-track-selector/">
VgTrackSelector
</a>
</li>
<li class="chapter " data-level="3.3.7" data-path="../modules/controls/vg-quality-selector/">
<a href="../modules/controls/vg-quality-selector/">
VgQualitySelector
</a>
</li>
<li class="chapter " data-level="3.3.8" data-path="../modules/controls/vg-mute/">
<a href="../modules/controls/vg-mute/">
VgMute
</a>
</li>
<li class="chapter " data-level="3.3.9" data-path="../modules/controls/vg-volume/">
<a href="../modules/controls/vg-volume/">
VgVolume
</a>
</li>
<li class="chapter " data-level="3.3.10" data-path="../modules/controls/vg-fullscreen/">
<a href="../modules/controls/vg-fullscreen/">
VgFullscreen
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.4" data-path="../modules/ima-ads/">
<a href="../modules/ima-ads/">
videogular2/ima-ads
</a>
<ul class="articles">
<li class="chapter " data-level="3.4.1" data-path="../modules/ima-ads/vg-ima-ads/">
<a href="../modules/ima-ads/vg-ima-ads/">
VgImaAds
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.5" data-path="../modules/overlay-play/">
<a href="../modules/overlay-play/">
videogular2/overlay-play
</a>
<ul class="articles">
<li class="chapter " data-level="3.5.1" data-path="../modules/overlay-play/vg-overlay-play/">
<a href="../modules/overlay-play/vg-overlay-play/">
VgOverlayPlay
</a>
</li>
</ul>
</li>
<li class="chapter " data-level="3.6" data-path="../modules/streaming/">
<a href="../modules/streaming/">
videogular2/streaming
</a>
<ul class="articles">
<li class="chapter " data-level="3.6.1" data-path="../modules/streaming/vg-dash/">
<a href="../modules/streaming/vg-dash/">
VgDASH
</a>
</li>
<li class="chapter " data-level="3.6.2" data-path="../modules/streaming/vg-hls/">
<a href="../modules/streaming/vg-hls/">
VgHLS
</a>
</li>
</ul>
</li>
<li class="divider"></li>
<li>
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
Published with GitBook
</a>
</li>
</ul>
</nav>
</div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<!-- Title -->
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href=".." >Master Media</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h2 id="master-media">Master media</h2>
<p>Master media is a new feature introduced in Videogular 2 that allows you to have several <code>vgMedia</code> and decide which one is the main media.</p>
<p>This is very useful on some cases. Let's imagine an scenario where we have two videos playing simultaneously, quickly some questions will come.</p>
<ul>
<li>What should the control bar duration display if videos have different length?</li>
<li>And the current time? And the volume?</li>
<li>What's the state of the video player if one video is playing and the other is paused?</li>
</ul>
<p>To solve all this questions we can use a Master media.</p>
<p>In this example we have two videos and <code>masterVideo</code> is the master video because we added <code>[vgMaster]="true"</code>. When a <code>vgMedia</code> is defined as master all other events and properties are ignored by <code>VgAPI</code> so all components will only be notified when a change on the master media have been happened.</p>
<pre><code class="lang-html"><span class="hljs-tag"><<span class="hljs-name">vg-player</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-controls</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-play-pause</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-play-pause</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar-current-time</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar-current-time</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar-buffering-time</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar-buffering-time</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-time-display</span> <span class="hljs-attr">vgProperty</span>=<span class="hljs-string">"left"</span> <span class="hljs-attr">vgFormat</span>=<span class="hljs-string">"mm:ss"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-time-display</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-mute</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-mute</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-fullscreen</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-fullscreen</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-controls</span>></span>
<span class="hljs-tag"><<span class="hljs-name">video</span> [<span class="hljs-attr">vgMedia</span>]=<span class="hljs-string">"master"</span> #<span class="hljs-attr">master</span> [<span class="hljs-attr">vgMaster</span>]=<span class="hljs-string">"true"</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"masterVideo"</span> <span class="hljs-attr">preload</span>=<span class="hljs-string">"auto"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"http://static.videogular.com/assets/videos/videogular.mp4"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"video/mp4"</span>></span>
<span class="hljs-tag"></<span class="hljs-name">video</span>></span>
<span class="hljs-tag"><<span class="hljs-name">video</span> [<span class="hljs-attr">vgMedia</span>]=<span class="hljs-string">"slave"</span> #<span class="hljs-attr">slave</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"slaveVideo"</span> <span class="hljs-attr">preload</span>=<span class="hljs-string">"auto"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"http://static.videogular.com/assets/videos/vr-demo.mp4"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"video/mp4"</span>></span>
<span class="hljs-tag"></<span class="hljs-name">video</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-player</span>></span>
</code></pre>
<p>So in this case all components will response to <code>masterVideo</code> and will show the values only of that video.</p>
<p>Now, what happens with the user interactions? A click on play will trigger a play on both medias? The answer is yes and we have also a way to control user interactions against each media object.</p>
<h2 id="targets">Targets</h2>
<p>Targets is another awesome and shiny feature introduced in Videogular2. With targets you can lead user interactions to a selected media.</p>
<p>For example, you can have a split screen with two videos and each one with its own control bar.</p>
<p>Now you can add <code>vgFor="video-id"</code> to decide which <code>vgMedia</code> target when a user interacts with that component.</p>
<pre><code class="lang-html"><span class="hljs-tag"><<span class="hljs-name">vg-player</span>></span>
<span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"left"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-controls</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-play-pause</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"leftVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-play-pause</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"leftVideo"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar-current-time</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"leftVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar-current-time</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar-buffering-time</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"leftVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar-buffering-time</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-time-display</span> <span class="hljs-attr">vgvgProperty</span>=<span class="hljs-string">"left"</span> <span class="hljs-attr">vgvgFormat</span>=<span class="hljs-string">"mm:ss"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-time-display</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-mute</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"leftVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-mute</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-fullscreen</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"leftVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-fullscreen</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-controls</span>></span>
<span class="hljs-tag"><<span class="hljs-name">video</span> [<span class="hljs-attr">vgMedia</span>]=<span class="hljs-string">"left"</span> #<span class="hljs-attr">left</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"leftVideo"</span> <span class="hljs-attr">preload</span>=<span class="hljs-string">"auto"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"http://static.videogular.com/assets/videos/videogular.mp4"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"video/mp4"</span>></span>
<span class="hljs-tag"></<span class="hljs-name">video</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
<span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"right"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-controls</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-play-pause</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"rightVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-play-pause</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"rightVideo"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar-current-time</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"rightVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar-current-time</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-scrub-bar-buffering-time</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"rightVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar-buffering-time</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-scrub-bar</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-time-display</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"rightVideo"</span> <span class="hljs-attr">vgvgProperty</span>=<span class="hljs-string">"left"</span> <span class="hljs-attr">vgvgFormat</span>=<span class="hljs-string">"mm:ss"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-time-display</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-mute</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"rightVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-mute</span>></span>
<span class="hljs-tag"><<span class="hljs-name">vg-fullscreen</span> <span class="hljs-attr">vgFor</span>=<span class="hljs-string">"rightVideo"</span>></span><span class="hljs-tag"></<span class="hljs-name">vg-fullscreen</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-controls</span>></span>
<span class="hljs-tag"><<span class="hljs-name">video</span> [<span class="hljs-attr">vgMedia</span>]=<span class="hljs-string">"right"</span> #<span class="hljs-attr">right</span> <span class="hljs-attr">id</span>=<span class="hljs-string">"rightVideo"</span> <span class="hljs-attr">preload</span>=<span class="hljs-string">"auto"</span>></span>
<span class="hljs-tag"><<span class="hljs-name">source</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"http://static.videogular.com/assets/videos/vr-demo.mp4"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"video/mp4"</span>></span>
<span class="hljs-tag"></<span class="hljs-name">video</span>></span>
<span class="hljs-tag"></<span class="hljs-name">div</span>></span>
<span class="hljs-tag"></<span class="hljs-name">vg-player</span>></span>
</code></pre>
<p>Of course, you can combine both <code>vgMaster</code> and <code>vgFor</code> to display data from master but interact with one component, or even you can have a play button for each media but a whole control bar that can control all medias!</p>
<p>The possibilities are endless!</p>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="how-videogular-works.html" class="navigation navigation-prev " aria-label="Previous page: How Videogular works">
<i class="fa fa-angle-left"></i>
</a>
<a href="using-the-api.html" class="navigation navigation-next " aria-label="Next page: Using the API">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
var gitbook = gitbook || [];
gitbook.push(function() {
gitbook.page.hasChanged({"page":{"title":"Master Media","level":"2.3","depth":1,"next":{"title":"Using the API","level":"2.4","depth":1,"path":"getting-started/using-the-api.md","ref":"getting-started/using-the-api.md","articles":[]},"previous":{"title":"How Videogular works","level":"2.2","depth":1,"path":"getting-started/how-videogular-works.md","ref":"getting-started/how-videogular-works.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["ga","responsive-iframes"],"pluginsConfig":{"ga":{"configuration":"auto","token":"UA-45418240-1"},"responsive-iframes":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"getting-started/master-media.md","mtime":"2020-05-13T16:01:08.341Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-05-13T16:04:53.831Z"},"basePath":"..","book":{"language":""}});
});
</script>
</div>
<script src="../gitbook/gitbook.js"></script>
<script src="../gitbook/theme.js"></script>
<script src="../gitbook/gitbook-plugin-ga/plugin.js"></script>
<script src="../gitbook/gitbook-plugin-responsive-iframes/plugin.js"></script>
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
</body>
</html>