<commit_before># A connected TV BBC/YouTube mashup
## So what is this?
This is a simple proof-of-concept app that tests to see what the capabilities of smart TVs when it comes to using the [YouTube embedded player](https://developers.google.com/youtube/player_parameters). It's built using:

- [Backbone](http://backbonejs.org/)
- [Lo-dash](http://lodash.com/)
- [Handlebars](http://handlebarsjs.com/)
- [jQuery](http://jquery.com/)
- [Normalize](http://necolas.github.com/normalize.css/)

## What does it do?
_All_ it does is load a feed off YouTube's GData service, creates a tile list of videos and then allows you to watch one of those videos. In this case it's using the [BBC's uploaded videos feed](http://www.youtube.com/user/BBC/videos?view=0).
## How can I use it on my smart TV?
**Note: I've only tested this on a LG 47LM670T**, but it _ought_ to work on any smart TV that has a basic web browser engine built in. This is how you can build and deploy it to a smart TV near you:

1. Clone the repo: `git clone https://github.com/ahmednuaman/connectedtv-bbc-yt-app.git` (or [download the Zip](https://github.com/ahmednuaman/connectedtv-bbc-yt-app/archive/master.zip))
2. Figure out what make and model your TV is and visit the appropriate manufactor's site to download their app SDK (if applicable).
3. Fire up the SDK, in LG's case it's called (fittingly) 'LG IDE', create a new project and stick the cloned repo's files within the defined 'web' folder; in LG's case it's called `WebContent`.
4. Export the project, usually this is found at `File > Export` and follow the steps. Most manufactors use DRM and require you to create an archieve, upload it to their test area and download a DRM packaged version of your app.
5. Once you've got your app ready (usually on a USB stick), don't forget to sign in to your TV and then you're ready to play with the app!

### Or
If you can access your TV's web browser then you can either run the app on your local network or visit the hosted version of the app (on Github): URL coming soon...

## Why did you do this?
Well, why not? More and more of us have smart connected devices but we're not making the most of them. Let's see how far we can go with them and how we can handle graceful degregation in terms of styles, processing power and Javascript engines.<commit_msg>added hosted version url<commit_after># A connected TV BBC/YouTube mashup
## So what is this?
This is a simple proof-of-concept app that tests to see what the capabilities of smart TVs when it comes to using the [YouTube embedded player](https://developers.google.com/youtube/player_parameters). It's built using:

- [Backbone](http://backbonejs.org/)
- [Lo-dash](http://lodash.com/)
- [Handlebars](http://handlebarsjs.com/)
- [jQuery](http://jquery.com/)
- [Normalize](http://necolas.github.com/normalize.css/)

## What does it do?
_All_ it does is load a feed off YouTube's GData service, creates a tile list of videos and then allows you to watch one of those videos. In this case it's using the [BBC's uploaded videos feed](http://www.youtube.com/user/BBC/videos?view=0).
## How can I use it on my smart TV?
**Note: I've only tested this on a LG 47LM670T**, but it _ought_ to work on any smart TV that has a basic web browser engine built in. This is how you can build and deploy it to a smart TV near you:

1. Clone the repo: `git clone https://github.com/ahmednuaman/connectedtv-bbc-yt-app.git` (or [download the Zip](https://github.com/ahmednuaman/connectedtv-bbc-yt-app/archive/master.zip))
2. Figure out what make and model your TV is and visit the appropriate manufactor's site to download their app SDK (if applicable).
3. Fire up the SDK, in LG's case it's called (fittingly) 'LG IDE', create a new project and stick the cloned repo's files within the defined 'web' folder; in LG's case it's called `WebContent`.
4. Export the project, usually this is found at `File > Export` and follow the steps. Most manufactors use DRM and require you to create an archieve, upload it to their test area and download a DRM packaged version of your app.
5. Once you've got your app ready (usually on a USB stick), don't forget to sign in to your TV and then you're ready to play with the app!

### Or
If you can access your TV's web browser then you can either run the app on your local network or visit the hosted version of the app (on Github): [http://ahmednuaman.github.com/connectedtv-bbc-yt-app/](http://ahmednuaman.github.com/connectedtv-bbc-yt-app/)

## Why did you do this?
Well, why not? More and more of us have smart connected devices but we're not making the most of them. Let's see how far we can go with them and how we can handle graceful degregation in terms of styles, processing power and Javascript engines.
{'fraction_non_alphanumeric': 0.0903348073278585, 'fraction_numerical': 0.004632554221941461, 'mean_word_length': 4.135135135135135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2783845', 'n_tokens_mistral': 1419, 'n_tokens_neox': 1323, 'n_words': 712}