diff --git a/src/Extensions/EmbedObjectField.php b/src/Extensions/EmbedObjectField.php deleted file mode 100755 index b1d5196..0000000 --- a/src/Extensions/EmbedObjectField.php +++ /dev/null @@ -1,59 +0,0 @@ -getName(); - $fields = [ - CheckboxField::create( - $name . '[autoplay]', - _t(self::class.'AUTOPLAY', 'Autoplay video?') - )->setValue($this->object->getField('Autoplay')), - - CheckboxField::create( - $name . '[loop]', - _t(self::class.'LOOP', 'Loop video?') - )->setValue($this->object->getField('Loop')), - - CheckboxField::create( - $name.'[controls]', - _t(self::class.'CONTROLS', 'Show player controls?') - )->setValue($this->object->getField('Controls')) - ]; - - return CompositeField::create(array_merge([ - LiteralField::create( - $name.'Options', - parent::FieldHolder($properties) - ) - ], $fields)); - } -}