Media from CDN, added full browser mode
This commit is contained in:
parent
a36a30f1b0
commit
3acd033bea
@ -68,17 +68,19 @@ header {
|
||||
}
|
||||
}
|
||||
|
||||
.example-audio .player,
|
||||
.example-video .player {
|
||||
margin: 0 auto 40px;
|
||||
|
||||
&:fullscreen {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
||||
// Players
|
||||
.example-audio .player {
|
||||
max-width: 480px;
|
||||
}
|
||||
.example-video .player {
|
||||
max-width: 1200px;
|
||||
}
|
||||
.example-audio .player,
|
||||
.example-video .player {
|
||||
margin: 0 auto 40px;
|
||||
|
||||
&:fullscreen,
|
||||
&-fullscreen {
|
||||
max-width: none;
|
||||
}
|
||||
}
|
@ -339,6 +339,7 @@
|
||||
}
|
||||
|
||||
// Full screen mode
|
||||
&-fullscreen,
|
||||
&:fullscreen {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -347,6 +348,7 @@
|
||||
bottom: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 999999;
|
||||
|
||||
.player-video {
|
||||
height: 100%;
|
||||
@ -385,6 +387,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Full browser view hides toggle
|
||||
&-fullscreen [data-player='fullscreen'],
|
||||
&-fullscreen [data-player='fullscreen'] + label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Some options are hidden by default
|
||||
[data-player='captions'],
|
||||
[data-player='captions'] + label,
|
||||
|
2
dist/css/docs.css
vendored
2
dist/css/docs.css
vendored
@ -1 +1 @@
|
||||
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:0 0}a:focus{outline:dotted thin}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Avenir;src:url(../../assets/fonts/AvenirLTStd-Medium.woff2) format("woff2"),url(../../assets/fonts/AvenirLTStd-Medium.woff) format("woff"),url(../../assets/fonts/AvenirLTStd-Medium.ttf) format("truetype");font-style:normal;font-weight:400}@font-face{font-family:Avenir;src:url(../../assets/fonts/AvenirLTStd-Heavy.woff2) format("woff2"),url(../../assets/fonts/AvenirLTStd-Heavy.woff) format("woff"),url(../../assets/fonts/AvenirLTStd-Heavy.ttf) format("truetype");font-style:normal;font-weight:600}*,::after,::before{box-sizing:border-box}html{font-size:62.5%}body{font-family:Avenir,"Helvetica Neue",Helvetica,Arial,sans-serif;background:#fff;font-size:16px;font-size:1.6rem;line-height:1.5;text-align:center;color:#6D797F}h1,h2{letter-spacing:-.025em;color:#2E3C44;margin:0 0 10px;line-height:1.2;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1{font-size:48px;font-size:4.8rem}h2{font-size:32px;font-size:3.2rem;margin:0 0 20px}p{margin:0 0 20px}header{margin:40px 0}header p{font-size:18px;font-size:1.8rem}.example-audio .player,.example-video .player{margin:0 auto 40px}.example-audio .player:-webkit-full-screen,.example-video .player:-webkit-full-screen{max-width:none}.example-audio .player:-moz-full-screen,.example-video .player:-moz-full-screen{max-width:none}.example-audio .player:-ms-fullscreen,.example-video .player:-ms-fullscreen{max-width:none}.example-audio .player:fullscreen,.example-video .player:fullscreen{max-width:none}.example-audio .player{max-width:480px}.example-video .player{max-width:1200px}
|
||||
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a{background:0 0}a:focus{outline:dotted thin}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Avenir;src:url(../../assets/fonts/AvenirLTStd-Medium.woff2) format("woff2"),url(../../assets/fonts/AvenirLTStd-Medium.woff) format("woff"),url(../../assets/fonts/AvenirLTStd-Medium.ttf) format("truetype");font-style:normal;font-weight:400}@font-face{font-family:Avenir;src:url(../../assets/fonts/AvenirLTStd-Heavy.woff2) format("woff2"),url(../../assets/fonts/AvenirLTStd-Heavy.woff) format("woff"),url(../../assets/fonts/AvenirLTStd-Heavy.ttf) format("truetype");font-style:normal;font-weight:600}*,::after,::before{box-sizing:border-box}html{font-size:62.5%}body{font-family:Avenir,"Helvetica Neue",Helvetica,Arial,sans-serif;background:#fff;font-size:16px;font-size:1.6rem;line-height:1.5;text-align:center;color:#6D797F}h1,h2{letter-spacing:-.025em;color:#2E3C44;margin:0 0 10px;line-height:1.2;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1{font-size:48px;font-size:4.8rem}h2{font-size:32px;font-size:3.2rem;margin:0 0 20px}p{margin:0 0 20px}header{margin:40px 0}header p{font-size:18px;font-size:1.8rem}.example-audio .player{max-width:480px}.example-video .player{max-width:1200px}.example-audio .player,.example-video .player{margin:0 auto 40px}.example-audio .player-fullscreen,.example-audio .player:-webkit-full-screen,.example-video .player-fullscreen,.example-video .player:-webkit-full-screen{max-width:none}.example-audio .player-fullscreen,.example-audio .player:-moz-full-screen,.example-video .player-fullscreen,.example-video .player:-moz-full-screen{max-width:none}.example-audio .player-fullscreen,.example-audio .player:-ms-fullscreen,.example-video .player-fullscreen,.example-video .player:-ms-fullscreen{max-width:none}.example-audio .player-fullscreen,.example-audio .player:fullscreen,.example-video .player-fullscreen,.example-video .player:fullscreen{max-width:none}
|
2
dist/css/plyr.css
vendored
2
dist/css/plyr.css
vendored
File diff suppressed because one or more lines are too long
16
index.html
16
index.html
@ -21,18 +21,18 @@
|
||||
<h2>Video</h2>
|
||||
<p>Using the native <video> element.</p>
|
||||
<div class="player">
|
||||
<video poster="media/poster_PayPal_Austin2.jpg" controls>
|
||||
<video poster="//cdn.sampotts.me/plyr/poster.jpg" controls crossorigin>
|
||||
<!-- Video files -->
|
||||
<source src="https://www.paypalobjects.com/webstatic/mktg/videos/PayPal_AustinSMB_baseline.mp4" type="video/mp4">
|
||||
<source src="https://www.paypalobjects.com/webstatic/mktg/videos/PayPal_AustinSMB_baseline.webm" type="video/webm">
|
||||
<source src="//cdn.sampotts.me/plyr/movie.mp4" type="video/mp4">
|
||||
<source src="//cdn.sampotts.me/plyr/movie.webm" type="video/webm">
|
||||
|
||||
<!-- Text track file -->
|
||||
<track kind="captions" label="English captions" src="media/captions_PayPal_Austin_en.vtt" srclang="en" default>
|
||||
<track kind="captions" label="English captions" src="//cdn.sampotts.me/plyr/captions-default.vtt" srclang="en" default>
|
||||
|
||||
<!-- Fallback for browsers that don't support the <video> element -->
|
||||
<div>
|
||||
<a href="https://www.paypalobjects.com/webstatic/mktg/videos/PayPal_AustinSMB_baseline.mp4">
|
||||
<img src="media/poster_PayPal_Austin2.jpg" width="640" height="360" alt="download video">
|
||||
<a href="//cdn.sampotts.me/plyr/movie.mp4">
|
||||
<img src="//cdn.sampotts.me/plyr/poster.jpg" width="640" height="360" alt="download video">
|
||||
</a>
|
||||
</div>
|
||||
</video>
|
||||
@ -45,11 +45,11 @@
|
||||
<div class="player">
|
||||
<audio controls>
|
||||
<!-- Audio files -->
|
||||
<source src="media/Covox_-_Switchblade_Squadron.mp3" type="audio/mp3">
|
||||
<source src="//cdn.sampotts.me/plyr/logistics-96-sample.mp3" type="audio/mp3">
|
||||
|
||||
<!-- Fallback for browsers that don't support the <audio> element -->
|
||||
<div>
|
||||
<a href="media/Covox_-_Switchblade_Squadron.mp3">Download it</a>
|
||||
<a href="//cdn.sampotts.me/plyr/logistics-96-sample.mp3">Download it</a>
|
||||
</div>
|
||||
</audio>
|
||||
</div>
|
||||
|
Binary file not shown.
@ -1,145 +0,0 @@
|
||||
WEBVTT
|
||||
|
||||
00:00:00.000 --> 00:00:00.500
|
||||
|
||||
|
||||
00:00:00.501 --> 00:00:06.000
|
||||
[ music ]
|
||||
|
||||
00:00:06.001 --> 00:00:09.500
|
||||
Austin is an <b>absolutely</b> thriving place
|
||||
|
||||
00:00:09.501 --> 00:00:12.000
|
||||
for small business. And for <u>locally owned</u> businesses.
|
||||
|
||||
00:00:12.001 --> 00:00:15.000
|
||||
We have <i>more locally owned businesses</i> per capita
|
||||
|
||||
00:00:15.001 --> 00:00:17.500
|
||||
than any other city our size in the nation.
|
||||
|
||||
00:00:17.501 --> 00:00:19.000
|
||||
I'm Marsha Lane, the owner of
|
||||
|
||||
00:00:19.001 --> 00:00:22.000
|
||||
Ragalicious and Flashback in Austin, Texas.
|
||||
|
||||
00:00:22.001 --> 00:00:23.000
|
||||
Everybody in Austin it seems like
|
||||
|
||||
00:00:23.001 --> 00:00:25.000
|
||||
is a potential entrepreneur.
|
||||
|
||||
00:00:25.001 --> 00:00:27.000
|
||||
I moved here in 1982. I thought I had a job.
|
||||
|
||||
00:00:27.001 --> 00:00:31.500
|
||||
It fell through, so I started my own business then.
|
||||
|
||||
00:00:31.501 --> 00:00:34.500
|
||||
|
||||
|
||||
00:00:34.501 --> 00:00:38.500
|
||||
Well Tom made a cash box out of a shoe box.
|
||||
|
||||
00:00:38.501 --> 00:00:40.500
|
||||
I didn't want to throw the money in a drawer.
|
||||
|
||||
00:00:41.501 --> 00:00:44.500
|
||||
But I just cut a shoebox and made it dividers
|
||||
|
||||
00:00:44.501 --> 00:00:48.000
|
||||
and put in the cash and the change. [laughs]
|
||||
|
||||
00:00:48.001 --> 00:00:51.500
|
||||
|
||||
|
||||
00:00:51.501 --> 00:00:54.000
|
||||
Today we installed PayPal Here.
|
||||
|
||||
00:00:54.001 --> 00:00:57.000
|
||||
And we're really looking forward to using it in the future.
|
||||
|
||||
00:00:57.001 --> 00:01:01.000
|
||||
[music]
|
||||
|
||||
00:01:01.001 --> 00:01:03.000
|
||||
One of the things that excites me the most
|
||||
|
||||
00:01:03.001 --> 00:01:05.500
|
||||
is that PayPal didn't come in and say,
|
||||
|
||||
00:01:05.501 --> 00:01:07.000
|
||||
"Here's what we want you to buy."
|
||||
|
||||
00:01:07.001 --> 00:01:08.500
|
||||
They've come in to say,
|
||||
|
||||
00:01:08.501 --> 00:01:10.000
|
||||
"How can we help you?"
|
||||
|
||||
00:01:10.001 --> 00:01:13.500
|
||||
"How can we be a partner to you as a local business?"
|
||||
|
||||
00:01:13.501 --> 00:01:16.500
|
||||
[music]
|
||||
|
||||
00:01:16.501 --> 00:01:18.500
|
||||
I'm really pleased to be one of the first people in Austin
|
||||
|
||||
00:01:18.501 --> 00:01:21.000
|
||||
using the new cash for registers program
|
||||
|
||||
00:01:21.001 --> 00:01:24.000
|
||||
and especially because we get free processing
|
||||
|
||||
00:01:24.001 --> 00:01:27.000
|
||||
for 6 whole months and that is huge.
|
||||
|
||||
00:01:27.001 --> 00:01:29.000
|
||||
I used PayPal Here for the first time this morning
|
||||
|
||||
00:01:29.001 --> 00:01:33.000
|
||||
and I really like that it's really user friendly, self-explanatory
|
||||
|
||||
00:01:33.001 --> 00:01:35.000
|
||||
I think customers will appreciate that
|
||||
|
||||
00:01:35.001 --> 00:01:39.000
|
||||
it won't take me as long to add up their total.
|
||||
|
||||
00:01:39.001 --> 00:01:43.000
|
||||
You just put in the amount; it figures the sales tax for you
|
||||
|
||||
00:01:43.001 --> 00:01:46.000
|
||||
and everything goes into the bank account daily.
|
||||
|
||||
00:01:46.001 --> 00:01:49.000
|
||||
One of the important things for a local business
|
||||
|
||||
00:01:49.001 --> 00:01:51.000
|
||||
is to get as many customers as they can and
|
||||
|
||||
00:01:51.001 --> 00:01:54.000
|
||||
make it easy for those customers to come do business with them.
|
||||
|
||||
00:01:54.001 --> 00:01:59.000
|
||||
Being able to use PayPal in a retail situation like that
|
||||
|
||||
00:01:59.001 --> 00:02:02.000
|
||||
just gives them one more option.
|
||||
|
||||
00:02:02.001 --> 00:02:05.000
|
||||
Everything's very exciting; I'm really looking forward to it.
|
||||
|
||||
00:02:05.001 --> 00:02:09.000
|
||||
I so appreciate especially the support PayPal is giving us.
|
||||
|
||||
00:02:09.001 --> 00:02:12.000
|
||||
I would definitely recommend PayPal to other small businesses.
|
||||
|
||||
00:02:12.001 --> 00:02:16.000
|
||||
Thanks to PayPal I found a better use for my shoe box.
|
||||
|
||||
00:02:16.001 --> 00:02:30.000
|
||||
[music]
|
Binary file not shown.
Before Width: | Height: | Size: 39 KiB |
Loading…
x
Reference in New Issue
Block a user