bh:video  

    HTML5 Video-Player
    Erzeugt ein HTML5 Video Element und erkennt dabei die richtigen Formate für den Source Tag.
    Tipp

    Video-Codec

    Stand September 2024 ist folgender Video- und Audiocodec in allen Browsern lauf- und hörfähig. 

    webm mit VP8, Bitrate fix auf 1500 - 3000 und Audio-Codec Opus

    Attribute

    NameBeschreibungTypedefaultrequired
    sourcePfad oder UIDs von Video Dateienmixed-true
    posterFal-UIDs eines Poster Bildesmixed-true
    controlsZeigt die Steuerelemente anbooleanfalsefalse
    mutedDas Video wird gemuted (ist für Autoplay notwendig)booleanfalsefalse
    autoplayDas Video started automatischbooleanfalsefalse
    loopDas Video wiederholt sichbooleanfalsefalse
    playsinlineDas Video öffnet sich nicht automatisch im Vollbild (am iPhone, iOS)booleanfalsefalse
    preloadEinstellung, ob Video und Metadaten vorgeladen werden [none,metadata,auto]'auto'false

    Beispiel

    html
    <bh:video source="{cObj.allSettings.videos}" controls="{cObj.allSettings.html5videoControls}" muted="{cObj.allSettings.html5videoMuted}" autoplay="{cObj.allSettings.html5videoAutoplay}" loop="{cObj.allSettings.html5videoLoop}" playsinline="{cObj.allSettings.playsinline}" />