-
Notifications
You must be signed in to change notification settings - Fork 1
/
bookmarklet.html
61 lines (58 loc) · 3.43 KB
/
bookmarklet.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="expires" content="0" />
<title>Play'em bookmarklet</title>
<meta property="og:title" content="play'em"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://adrienjoly.com/playem/"/>
<meta property="og:image" content="https://adrienjoly.com/playem/img/playem.png"/>
<meta property="og:description" content="Play'em plays videos that your friends shared on facebook, without having to browse, just like TV."/>
<meta property="fb:admins" content="510739408"/>
<link href="favicon.png" rel="icon" type="image/png" />
<link rel="stylesheet" type="text/css" href="ui-default/styles.css">
<script src="js/jquery-1.5.1.min.js" type="text/javascript" charset="utf-8"></script>
<style type="text/css">
/*<![CDATA[*/
/*]]>*/
</style>
<!--analytics-->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1858235-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="back backimg"> </div>
<div class="back gradient"><img src="ui-default/img/playem.png" alt="Play'em"/></div>
<div style="position:absolute;top:3px;right:3px;">
<iframe src="https://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com/useplayem&layout=button_count&show_faces=false&width=100&action=like&font&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px; position:relative; top:1px; left:10px;" allowTransparency="true"></iframe>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://adrienjoly.com/playem" data-count="none" data-via="Play_em" data-related="adrienjoly:the creator of Play'em" data-text="When there's nothing cool on TV, I watch my friends' videos on Play'em! Check it out!" >Tweet</a>
<!--<a href="https://twitter.com/Play_em" class="twitter-follow-button" data-show-count="false">Follow @Play_em</a>-->
<script src="https://platform.twitter.com/widgets.js" type="text/javascript"></script>
<iframe allowtransparency="true" frameborder="0" scrolling="no" src="https://platform.twitter.com/widgets/follow_button.html?screen_name=Play_em&show_count=false" style="width:80px; height:20px;"></iframe>
</div>
<div id="welcome">
<p>With this bookmarklet, you can make a playlist out of any web page containing video embeds!</p>
<p>Drag and drop the button below to your browser's bookmarks bar:</p>
<p>
<a id="bookmarklet"
onclick="setTimeout(function(){alert('Please drag & drop this button to your browser\'s bookmarks bar')},50); return false;"
title="Drop this bookmarklet to the bookmarks bar of your web browser"
href="javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://adrienjoly.com/playem/js/bookmarklet.js?'+(new Date()).getTime();;})();">
✚ Play'em!
</a>
</p>
</div>
</body>
</html>