HTML5 Video-Player
Erzeugt ein HTML5 Video Element und erkennt dabei die richtigen Formate für den Source Tag.
Attribute
Name | Beschreibung | Type | default | required |
---|---|---|---|---|
source | Pfad oder UIDs von Video Dateien | mixed | - | true |
poster | Fal-UIDs eines Poster Bildes | mixed | - | true |
controls | Zeigt die Steuerelemente an | boolean | false | false |
muted | Das Video wird gemuted (ist für Autoplay notwendig) | boolean | false | false |
autoplay | Das Video started automatisch | boolean | false | false |
loop | Das Video wiederholt sich | boolean | false | false |
playsinline | Das Video öffnet sich nicht automatisch im Vollbild (am iPhone, iOS) | boolean | false | 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}" />