Extra Form
PHP PHP 7.2
CMS XpressEngine
  • profile

    링크하신 커밋대로 최신버전에도 동일하게 적용되어있던데요.

    링크하신 457-467부분과는 상관없이

    https://github.com/xpressengine/xe-core/blob/master/modules/document/document.controller.php#L518

    예전에는 여기에서 사용되어야할 logged_info 정보가 재대로 실행되지 않아서 태그가 사라진 것으로 보여집니다.

    지금은 Video 태그가 사라지는 이유는 다른 부분에서 문제가 발생된게 아닐까 생각이 듭니다.

  • profile
    검색을 통해서
    /classes/security/Purifier.class.php 파일의 private function _setDefinition(&$content) 에 아래를 추가하고 일단 임시 조치 했습니다.


    $this->_def->addElement('video', 'Block', 'Optional: (source, Flow) | (Flow, source) | Flow', 'Common', array(
    'src' => 'URI',
    'type' => 'Text',
    'width' => 'Length',
    'height' => 'Length',
    'poster' => 'URI',
    'preload' => 'Enum#auto,metadata,none',
    'controls' => 'Bool',
    'muted' => 'Bool',
    'autoplay' => 'Bool',
    'playsinline' => 'Bool',
    'loop' => 'Bool'
    ));
    $this->_def->addElement('source', 'Block', 'Flow', 'Common', array(
    'src' => 'URI',
    'type' => 'Text',
    ));