Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

downloading the videos?

can anyone tell me how to properly download the videos? I've clicked the section where it says DOWNLOADS but it only opens the video in fullscreen.

4 Answers

I tend to right click on the Standard Definition one under the downloads section and then save link

Hope that helps

On the right of the video that you are watching, you should see a Downloads section. Click on the "Standard Definition Video" or "High Definition Video" option.

On the screen that you are taken to, right click on the video and select "Save Video As..." to save the video file to your desktop or another directory of choice.

okay. thanks a lot. I'll try that now. ^_^

Run this on a server to get download links in one central location

<?php 
// Place your own unique token here
// ie. itpc://teamtreehouse.com/library/websites/build-a-simple-website.rss?feed_token=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 
// $token = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx';
$token = '';

// Place any itunes feeds here
// This is an almost complete list... I left off some beginner lessons
// This might compile depending on server... You can split this array up

$urls = array(
'itpc://teamtreehouse.com/library/installing-a-ruby-development-environment.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/how-to-build-a-wordpress-plugin.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/implementing-designs-for-iphone.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/illustrator-foundations-3.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/usability-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/logo-design-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/html-email-design.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/objectivec-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/framework-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/sass-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/installing-a-ruby-development-environment.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/how-to-build-a-wordpress-plugin.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/implementing-designs-for-iphone.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/illustrator-foundations-3.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/usability-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/logo-design-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/objectivec-basics.rss?'.$token,
'itpc://teamtreehouse.com/library/ios-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/build-a-simple-iphone-app-ios7-2.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/build-a-simple-php-application.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/building-social-features-in-ruby-on-rails.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/build-a-simple-ruby-on-rails-application.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/enhancing-a-simple-php-application.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/using-php-with-mysql.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/advanced-social-features-in-ruby-on-rails.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/database-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/ruby-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/introduction-to-programming.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/console-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/programming/git-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/build-a-responsive-website.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/design-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/build-an-interactive-website.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/how-to-build-a-wordpress-theme.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/html.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/css-foundations-2.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/website-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/aesthetic-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/javascript-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/photoshop-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/accessibility.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/technology-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/websites/illustrator-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/ios-development/build-a-simple-iphone-app.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/ios-development/build-a-blog-reader-iphone-app.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/ios-development/build-a-selfdestructing-message-iphone-app.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/ios-development/ios-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/business/how-to-start-a-business.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/business/how-to-build-your-company.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/business/how-to-market-your-business.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/business/careers-foundations.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/business/copyright-basics.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/business/how-to-run-a-web-design-business.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/business/how-to-build-your-business-through-blogging.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/android-development/build-a-simple-android-app.rss?feed_token='.$token,
'itpc://teamtreehouse.com/library/android-development/build-a-blog-reader-android-app.rss?feed_token='.$token
);

foreach ($urls as $url):
    $url = str_replace("itpc://","http://",$url);
    $xml = simplexml_load_file($url);

    echo '<h2>'.$xml->channel[0]->title.'</h2>';
    foreach ($xml->channel->item as $pixinfo):
        $title=$pixinfo->title;
        $link=$pixinfo->enclosure['url'];
        // In chrome the HTML5 download attribute will auto download, no right clicking necessary
        // Hold Alt plus Click will autodownload
        echo '<a href="'.$link.'" download>'. $title .'</a><br>';
    endforeach; 

endforeach; 



?>