<commit_before># jQuery Embed Video

A jQuery plugin to embed video from Youtube and Facebook (and more to come in future) in a html container. Support fuild resize of the container for working with media queries.

## Version

v1.0.1 Develop

## Usage

It generates an iframe for YouTube videos ([https://developers.google.com/youtube/player\_parameters#Manual\_IFrame\_Embeds](https://developers.google.com/youtube/player\_parameters#Manual\_IFrame\_Embeds)) or a ```<video/>``` tag with MP4 video and flash player fallback ([http://camendesign.com/code/video\_for\_everybody](http://camendesign.com/code/video\_for\_everybody)).

**Parameters**
<table>
  <tr>
    <th>name</th><th>explanation</th><th>default value</th>
  </tr>
  <tr>
    <td>width</td><td>starting width in pixels</td><td>480</td>
  </tr>
  <tr>
    <td>height</td><td>starting height</td><td>false</td>
  </tr>
  <tr>
    <td>aspectRatio</td><td>aspect ratio of the video, for keeping ratio when resizing</td><td>1.77777778</td>
  </tr>
  <tr><commit_msg>Corrected version in README.md<commit_after># jQuery Embed Video

A jQuery plugin to embed video from Youtube and Facebook (and more to come in future) in a html container. Support fuild resize of the container for working with media queries.

## Version

v1.0.2 Develop

## Usage

It generates an iframe for YouTube videos ([https://developers.google.com/youtube/player\_parameters#Manual\_IFrame\_Embeds](https://developers.google.com/youtube/player\_parameters#Manual\_IFrame\_Embeds)) or a ```<video/>``` tag with MP4 video and flash player fallback ([http://camendesign.com/code/video\_for\_everybody](http://camendesign.com/code/video\_for\_everybody)).

**Parameters**
<table>
  <tr>
    <th>name</th><th>explanation</th><th>default value</th>
  </tr>
  <tr>
    <td>width</td><td>starting width in pixels</td><td>480</td>
  </tr>
  <tr>
    <td>height</td><td>starting height</td><td>false</td>
  </tr>
  <tr>
    <td>aspectRatio</td><td>aspect ratio of the video, for keeping ratio when resizing</td><td>1.77777778</td>
  </tr>
  <tr>
{'fraction_non_alphanumeric': 0.15901401643305946, 'fraction_numerical': 0.015466408893185114, 'mean_word_length': 4.549597855227882, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6553068', 'n_tokens_mistral': 730, 'n_tokens_neox': 696, 'n_words': 178}