Category Archives: Videos

Watch Anime & Cartoons Online for Free

Recently I have had the desire to provide more multimedia on my site. Due to the server requirements and the time it would take to keep everything up-to-date I decided to take the easy way out and simply link to the media providers such as Apple and WatchCartoonOnline. If you check out my home page at GoToChrisWest.com you will notice I have three new content sections with one of them for displaying anime/cartoon content. How did I get it to work? The following is the JSBin version of the content:
WatchCartoonOnline Links

As is the case with all JSBin content, you will be able to look through all of the HTML, CSS and JS code yourself, but it is important to note that with just a few tweaks here and there you could modify this code to work on your own site. I’d like to note that besides using the RSS feed provided by WatchCartoonOnline I am also using two different services provided by Google:

  1. Google Feed API (https://ajax.googleapis.com/ajax/services/feed/load?…):
    Used to convert the feed into JSON-P.
  2. Google Image Search API (https://ajax.googleapis.com/ajax/services/search/images?…):
    Used to search for a thumbnail to display next to each episode name. If you want to actually use this on your site it is suggested that you use the non-deprecated Custom Search API :-)

I’d also like to mention that the scripts added to handle the JSON-P calls are created by the function outlined here.

One way you could improve this code would be to avoid making a new JSON-P call for an image for a show that was already search for. There are most-likely other ways to improve this code as well, but I feel it’s a pretty good starting point for anyone that would like to provide similar links to WatchCartoonOnline content on their site. 8-)

Upcoming Movie Trailers Thanks to Apple & YouTube

A little bit ago in this article I talked about being able to convert XML to JSON(P). I finally got around to making a page which shows upcoming movie trailers and information. First, I have to admit that the data is coming from both Apple and YouTube. You can check my trailers page by clicking here. One cool thing you’ll notice is that your given all of the summary data you may want to know about the upcoming movies (these are the same ones found on trailers.apple.com). It also provides a way to search and show any of the YouTube trailers without having to leave the page. The main link for each movie actually opens an IFRAME to the corresponding page on trailers.apple.com.

Even though having the trailers page worked out nicely I still wanted to trailers displayable on the GoToChrisWest.com home page. If you visit the page now you will see that they are available, but the following JSBin shows how this code actually works:
GoToChrisWest.com

Feel free to check out http://gotochriswest.com/trailers/index.js as well to see how i’m actually pulling the movie data in from Apple. 8-)