<commit_before># Embed

An easy way to embed media to your Rails app. Don't worry about messy embedding HTML anymore, just use the media URL.

As of now, it only supports YouTube and Vimeo.

## Installation

Add this line to your application's Gemfile:

    gem 'embed'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install embed

## Usage

On your view:
```ruby
<%= embed(http://www.youtube.com/watch?v=fwncgZ15RVQ)" %>
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request<commit_msg>Fixed readme again, this time for real<commit_after># Embed

An easy way to embed media to your Rails app. Don't worry about messy embedding HTML anymore, just use the media URL.

As of now, it only supports YouTube and Vimeo.

## Installation

Add this line to your application's Gemfile:

    gem 'embed'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install embed

## Usage

On your view:
```ruby
<%= embed("http://www.youtube.com/watch?v=fwncgZ15RVQ") %>
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
{'fraction_non_alphanumeric': 0.10224089635854341, 'fraction_numerical': 0.00980392156862745, 'mean_word_length': 3.685245901639344, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4164800', 'n_tokens_mistral': 473, 'n_tokens_neox': 436, 'n_words': 201}