Created
April 10, 2018 11:49
-
-
Save mynameislau/784f0f78998dec5857826878821f01a4 to your computer and use it in GitHub Desktop.
Youtube Fluid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<f:if condition="{mediaElement.originalResource.type} == 4 && {mediaElement.originalResource.properties.extension} == 'youtube'} == 'youtube'"> | |
<f:then> | |
<v:media.youtube videoId="{mediaElement.originalResource.contents}" width="500" height="500" autoplay="0" legacyCode="0" showRelated="0" extendedPrivacy="1" | |
hideControl="1" hideInfo="1" enableJsApi="1" loop="0" lightTheme="1" /> | |
</f:then> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment