diff --git a/dispatch/migrations/0024_video_meta_fields.py b/dispatch/migrations/0022_video_meta_fields.py similarity index 94% rename from dispatch/migrations/0024_video_meta_fields.py rename to dispatch/migrations/0022_video_meta_fields.py index e7ab8553d..1a6dff5b4 100644 --- a/dispatch/migrations/0024_video_meta_fields.py +++ b/dispatch/migrations/0022_video_meta_fields.py @@ -9,7 +9,7 @@ class Migration(migrations.Migration): dependencies = [ - ('dispatch', '0023_publishable_constraints_default'), + ('dispatch', '0021_podcast_fields'), ] operations = [ diff --git a/dispatch/migrations/0022_publishable_constraints.py b/dispatch/migrations/0023_publishable_constraints.py similarity index 98% rename from dispatch/migrations/0022_publishable_constraints.py rename to dispatch/migrations/0023_publishable_constraints.py index bf0efc577..c3c2339f8 100644 --- a/dispatch/migrations/0022_publishable_constraints.py +++ b/dispatch/migrations/0023_publishable_constraints.py @@ -56,7 +56,7 @@ def remove_duplicates(apps, schema_editor): class Migration(migrations.Migration): dependencies = [ - ('dispatch', '0021_podcast_fields'), + ('dispatch', '0022_video_meta_fields'), ] operations = [ diff --git a/dispatch/migrations/0023_publishable_constraints_default.py b/dispatch/migrations/0024_publishable_constraints_default.py similarity index 96% rename from dispatch/migrations/0023_publishable_constraints_default.py rename to dispatch/migrations/0024_publishable_constraints_default.py index 7f37f5b4e..7eb505dcb 100644 --- a/dispatch/migrations/0023_publishable_constraints_default.py +++ b/dispatch/migrations/0024_publishable_constraints_default.py @@ -9,7 +9,7 @@ class Migration(migrations.Migration): dependencies = [ - ('dispatch', '0022_publishable_constraints'), + ('dispatch', '0023_publishable_constraints'), ] operations = [ diff --git a/dispatch/static/manager/src/js/components/VideoEditor/VideoForm.js b/dispatch/static/manager/src/js/components/VideoEditor/VideoForm.js index 4e0c77820..b4d91729a 100644 --- a/dispatch/static/manager/src/js/components/VideoEditor/VideoForm.js +++ b/dispatch/static/manager/src/js/components/VideoEditor/VideoForm.js @@ -51,7 +51,7 @@ export default function VideoForm(props) { {props.listItem.url &&
- +
} diff --git a/dispatch/static/manager/src/js/vendor/dispatch-editor/embeds/VideoEmbed.js b/dispatch/static/manager/src/js/vendor/dispatch-editor/embeds/VideoEmbed.js index 849e7748f..8caed47f8 100644 --- a/dispatch/static/manager/src/js/vendor/dispatch-editor/embeds/VideoEmbed.js +++ b/dispatch/static/manager/src/js/vendor/dispatch-editor/embeds/VideoEmbed.js @@ -42,7 +42,7 @@ class VideoEmbedComponent extends React.Component {
+ src={`https://img.youtube.com/vi/${this.props.data.id}/0.jpg`} /> 1: - # embed_url = 'http://www.youtube.com/embed/%s' %(match.group(2)) + # embed_url = 'https://www.youtube.com/embed/%s' %(match.group(2)) return urlParts[1] return '' @@ -17,7 +17,7 @@ def youtube_embed_id(url): def youtube_embed_url(url): urlParts = url.split("?v=") if len(urlParts) > 1: - embed_url = 'http://www.youtube.com/embed/%s' %(urlParts[1]) + embed_url = 'https://www.youtube.com/embed/%s' %(urlParts[1]) return embed_url return ''