Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 148
    • Merge requests 148
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Repository
  • erp5
  • product
  • ERP5Form
  • VideoField.py
Find file BlameHistoryPermalink
  • Jérome Perrin's avatar
    VideoField: make valid HTML5 regarding preload · 657bcc2e
    Jérome Perrin authored Nov 27, 2019
    Unlike other attributes managed in video field, preload [1] is not a
    boolean attribute, so setting preload="preload" was invalid HTML5.
    
    On the field, we can only configure video_preload as a boolean
    attribute, setting preload="auto" when true and not setting preload when
    False seems the closest meaning of True/False.
    
    [1] https://html.spec.whatwg.org/multipage/media.html#attr-media-preload
    657bcc2e
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7