# Generated by Django 4.1.7 on 2023-03-07 11:31

from django.db import migrations, models
import django.db.models.deletion
import wagtail_block_model_field.fields
import wagtail_switch_block.blocks
import zoetropy.blocks


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('media_catalogue', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='VideoClip',
            fields=[
                ('mediaitem_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='media_catalogue.mediaitem')),
                ('cross_origin', models.CharField(choices=[('none', 'None'), ('anonymous', 'Anonymous'), ('use-credentials', 'Use Credentials')], default='none', max_length=64)),
                ('show_controls', models.BooleanField(blank=True, default=False, null=True)),
                ('autoplay', models.BooleanField(blank=True, default=True, null=True)),
                ('loop', models.BooleanField(blank=True, default=False, null=True)),
                ('muted', models.BooleanField(blank=True, default=True, null=True)),
                ('preload', models.CharField(choices=[('none', 'None'), ('auto', 'Auto'), ('metadata', 'Metadata')], default='metadata', max_length=64)),
                ('poster', wagtail_block_model_field.fields.BlockModelField(zoetropy.blocks.PosterChooserBlock(equired=False), wagtail_switch_block.blocks.SwitchValue)),
            ],
            options={
                'verbose_name': 'Video Clip',
                'verbose_name_plural': 'Video Clips',
            },
            bases=('media_catalogue.mediaitem',),
        ),
    ]
