-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to add remote poster and thumbnails to a video #19
base: master
Are you sure you want to change the base?
Conversation
…I functionality e.g. for schedule start_date and end_date
$this->fieldChanged('remote_url'); | ||
return $this; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing newline.
$this->fieldChanged('remote_url'); | ||
return $this; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing newline.
@@ -56,7 +56,7 @@ protected function canonicalFieldName($name) { | |||
public function postJSON() { | |||
$data = []; | |||
foreach ($this as $field => $val) { | |||
if ($field === 'changedFields' || $field === 'fieldAliases' || $val === NULL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this check removed?
@@ -84,9 +84,6 @@ public function patchJSON() { | |||
$data = []; | |||
foreach ($this->changedFields as $field) { | |||
$val = $this->{$field}; | |||
if ($val === NULL) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this check removed?
Doing some work where I need to change the images on a video to remote images uploaded in our own CMS.
There might be a few more endpoints I add in later, but for now here's the work I've done for adding remote images.