Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Remove Google Cast support since the JS library does not seem to be m…
Browse files Browse the repository at this point in the history
…aintained anymore and it frequently breaks
  • Loading branch information
Rudloff committed Jul 3, 2017
1 parent b5ef14a commit dd00e9d
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 128 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function (grunt) {
uglify: {
combine: {
files: {
'dist/main.js': ['js/cast.js']
'dist/main.js': ['js/*.js']
}
}
},
Expand Down Expand Up @@ -128,8 +128,8 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-potomo');
grunt.loadNpmTasks('grunt-contrib-csslint');

grunt.registerTask('default', ['uglify', 'cssmin', 'potomo']);
grunt.registerTask('lint', ['jslint', 'csslint', 'fixpack', 'jsonlint', 'phpcs']);
grunt.registerTask('default', ['cssmin', 'potomo']);
grunt.registerTask('lint', ['csslint', 'fixpack', 'jsonlint', 'phpcs']);
grunt.registerTask('test', ['phpunit']);
grunt.registerTask('doc', ['phpdocumentor']);
grunt.registerTask('release', ['default', 'githash', 'compress']);
Expand Down
12 changes: 0 additions & 12 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -544,18 +544,6 @@ h1 {
max-width:700px;
}

.cast_btn {
cursor:pointer;
}

.cast_hidden {
display:none;
}

.cast_icon {
vertical-align:middle;
}

.format {
text-align:left;
}
Expand Down
Binary file removed img/ic_media_route_disabled_holo_light.png
Binary file not shown.
Binary file removed img/ic_media_route_off_holo_light.png
Binary file not shown.
Binary file removed img/ic_media_route_on_holo_light.png
Binary file not shown.
109 changes: 0 additions & 109 deletions js/cast.js

This file was deleted.

1 change: 0 additions & 1 deletion templates/inc/footer.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
{t}Based on{/t} <a href="http://rg3.github.io/youtube-dl/">youtube-dl</a>
</div>
</footer>
<script src="{base_url}/dist/main.js"></script>
</body>
</html>
1 change: 0 additions & 1 deletion templates/inc/head.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<meta name="twitter:title" content="AllTube Download{if isset($title)} - {$title|escape}{/if}" />
<meta name="twitter:image" content="{base_url}/img/logo.png" />
<meta name="twitter:creator" content="@Tael67" />
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script>
<meta name="theme-color" content="#4F4F4F">
<link rel="manifest" href="{base_url}/resources/manifest.json" />
</head>
Expand Down
2 changes: 0 additions & 2 deletions templates/video.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
{include file="inc/logo.tpl"}
<p id="download_intro">{t}You are going to download{/t}<i itemprop="name">
<a itemprop="url" id="video_link"
data-ext="{$video->ext}"
data-video="{$video->url|escape}"
href="{$video->webpage_url}">
{$video->title}</a></i>.
</p>
Expand Down

0 comments on commit dd00e9d

Please sign in to comment.