Skip to content
Permalink
Browse files
Remove Google Cast support since the JS library does not seem to be m…
…aintained anymore and it frequently breaks
  • Loading branch information
Rudloff committed Jul 3, 2017
1 parent b5ef14a commit dd00e9d279350e728b9457b8cdbf1019a706c644
Showing 9 changed files with 3 additions and 128 deletions.
@@ -11,7 +11,7 @@ module.exports = function (grunt) {
uglify: {
combine: {
files: {
'dist/main.js': ['js/cast.js']
'dist/main.js': ['js/*.js']
}
}
},
@@ -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']);
@@ -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;
}
Deleted file not rendered
Deleted file not rendered
Deleted file not rendered

This file was deleted.

@@ -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>
@@ -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>
@@ -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>

0 comments on commit dd00e9d

Please sign in to comment.