Skip to content

Commit d0e7115

Browse files
author
Matthew McClure
committed
made vjs includes protocol relative
1 parent c976d4a commit d0e7115

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

templates/index.jade

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ block content
5151
allowtransparency="true", frameborder="0", scrolling="0", width="110", height="20")
5252
iframe(src="http://ghbtns.com/github-btn.html?user=videojs&repo=video.js&type=fork&count=true",
5353
allowtransparency="true", frameborder="0", scrolling="0", width="95", height="20")
54-
a(href="https://twitter.com/share", class="twitter-share-button", data-url="http://videojs.com", data-via="videojs", data-related="matt_mcclure") Tweet
54+
a(href="https://twitter.com/share", class="twitter-share-button", data-url="http://videojs.com", data-via="videojs", data-related="zencoder") Tweet
5555
a(href="https://twitter.com/videojs", class="twitter-follow-button", data-show-count="true") Follow @videojs
5656

5757
.container.benefits
@@ -114,4 +114,4 @@ block content
114114
<h3>What's an HTML5 Video Player?</h3>
115115
<p>An HTML5 Video Player is a JavaScript library that builds a custom set of controls over top of the HTML5 video element to provide a consistent look between HTML5 browsers. Video.js builds on this by fixing many cross browser bugs or inconsistencies, adding new features that haven't been implemented by all browsers (like fullscreen and subtitles), as well as providing one consistent JavaScript API for both HTML5, Flash, and other playback technologies.</p>
116116

117-
<p><a href="https://github.com/videojs/video.js/blob/master/docs/setup.md">Get started with Video.js</a></p>
117+
<p><a href="https://github.com/videojs/video.js/blob/master/docs/setup.md">Get started with Video.js</a></p>

templates/layout.jade

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ html(lang='en')
77
block title
88
= page.title + ' | ' + locals.name
99

10-
10+
1111

1212
meta(name='description', content='Video.js is a JavaScript and CSS library that makes it easier to work with and build on HTML5 video. This is also known as an HTML5 Video Player.')
1313

@@ -22,8 +22,8 @@ html(lang='en')
2222
script(src='/js/bootstrap-slider.js')
2323
script(src='/js/prettify.js')
2424

25-
script(src='http://vjs.zencdn.net/4.1.0/video.js')
26-
link(href='http://vjs.zencdn.net/4.1.0/video-js.css', rel='stylesheet')
25+
script(src='//vjs.zencdn.net/4.1.0/video.js')
26+
link(href='//vjs.zencdn.net/4.1.0/video-js.css', rel='stylesheet')
2727

2828
script(src='/js/scripts.js')
2929

@@ -72,7 +72,7 @@ html(lang='en')
7272
i.icon-twitter
7373
// p &copy; #{ new Date().getFullYear() } #{ locals.owner }
7474
75-
script(type='text/javascript')
75+
script(type='text/javascript').
7676

7777
var _gaq = _gaq || [];
7878
_gaq.push(['_setAccount', 'UA-16505296-1']);

0 commit comments

Comments
 (0)