diff --git a/djangocms_video/migrations/0012_hlsstreamsource.py b/djangocms_video/migrations/0012_hlsstreamsource.py index e9abdfa..5c591ac 100644 --- a/djangocms_video/migrations/0012_hlsstreamsource.py +++ b/djangocms_video/migrations/0012_hlsstreamsource.py @@ -15,7 +15,7 @@ class Migration(migrations.Migration): name='HlsStreamSource', fields=[ ('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='%(app_label)s_%(class)s', serialize=False, to='cms.cmsplugin')), - ('hls_source_url', models.CharField(max_length=1024, verbose_name='HLS Source URL')), + ('hls_source_url', models.URLField(verbose_name="HLS Source URL")), ], bases=('cms.cmsplugin',), ), diff --git a/djangocms_video/templates/djangocms_video/default/video_player.html b/djangocms_video/templates/djangocms_video/default/video_player.html index 16310c0..01b597e 100644 --- a/djangocms_video/templates/djangocms_video/default/video_player.html +++ b/djangocms_video/templates/djangocms_video/default/video_player.html @@ -12,8 +12,8 @@ {% endwith %} {% else %} {# render or plugins #} -