# Can you annotate Videos?

**URL:** <https://support.prodi.gy/t/can-you-annotate-videos/1581>\
**Category:** Uncategorized\
**Tags:** usage, image, custom, pytorch\
**Created:** [May 27, 2019, 6:57pm UTC](https://support.prodi.gy/t/can-you-annotate-videos/1581 "2019-05-27T18:57:33Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![SubmitCode](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/submitcode/32/820_2.png) [@SubmitCode](https://support.prodi.gy/u/SubmitCode)\
**Post date:** [June 1, 2019, 7:24am UTC](https://support.prodi.gy/t/can-you-annotate-videos/1581/8 "2019-06-01T07:24:58Z")

</div>

> [@ines](#):
>
> Prodigy typically expects you to make a decision for each incoming example. Since all of your images would be examples, you could skip some of them manually by clicking the “ignore” button. But if you want to skip 1000 at a time, that’s not very satisfying. You could probably build a “skip 1000 examples” button with a custom HTML interface and some JavaScript that just calls `window.prodigy.answer('ignore')` 1000 times. I haven’t tried this yet, but something like that should be possible. You can find more details on using custom JavaScript in your `PRODIGY_README.html` .

Thank you for that and sorry for all the newbie questions. So what I try now is to replicate the example I've found in the [forum](https://support.prodi.gy/t/custom-view-templates-with-scripts/302/5) . Where do I need to store the custome recipe and how can I call it ? Do I need to place it directly in the library or can I somehow reference it somewhere? I tried to replicate the [example](https://support.prodi.gy/t/custom-view-templates-with-scripts/302/5) here is what I have.

```python
#my_recipe.py
import prodigy
from prodigy.components.loaders import JSONL

with open('textcat_eval.html') as txt:
    template_text = txt.read()
with open('textcat_eval.js') as txt:
    script_text = txt.read()

@prodigy.recipe('sentiment',dataset=prodigy.recipe_args['dataset'],file_path=("Path to texts", "positional", None, str))
def sentiment(dataset, file_path):
    """Annotate the sentiment of texts using different mood options."""
    stream = JSONL(file_path) # load in the JSONL file
    return {
        'dataset':dataset,
        'stream':stream,
        'view_id': 'html',
        'config': {
            'html_template': template_text,
            'html_script': script_text,
        }
    }

```

```
<!--textcat_eval.html-->
<h2>{{text}}</h2>

<input type="text" class="input" placeholder="User text here..." />
<button onClick="updateFromInput()">Update</button>
<br />
{{user_text}}

```

j

```
//textcat_eval.js
function updateFromInput() {
    const text = document.querySelector('.input').value;
    window.prodigy.update({ user_text: text });
}

```

Could you kindly tell me what to do from here to get this thing running. Where to place the code files and how to call them?

Thanks

---

_[View the full topic](https://support.prodi.gy/t/can-you-annotate-videos/1581)._
