Tagged: x
-
AuthorPosts
-
December 12, 2016 at 10:34 am #1290154
Gerald EParticipantHi, i have embedded a video that is too wide on a wide screen. i want to limit width to 800px. However when i do this in cornerstone under Style: max-width: 800px
However then the video is queezed to the left and i cant make it centred.
can you pls help?
December 12, 2016 at 10:37 am #1290162
Gerald EParticipantThis reply has been marked as private.December 12, 2016 at 10:38 am #1290163
Gerald EParticipantto be clear, padding is not suitable in this case as the video would be squeezed to a smaller size on a mobile screen. i need a centred max width video.
thanks in advance
geraldDecember 12, 2016 at 11:27 am #1290206
RupokMemberHi there,
You are not using the “Embedded Video” element rather a Text Element. So when you are setting the max-width, it’s being applied to the Text Element. You should use the Embedded Video element.
Thanks!
December 12, 2016 at 4:20 pm #1290525
Gerald EParticipantOk. i used the embedded video element now but the video is still not centered. How can i get it centred pls?
December 12, 2016 at 10:47 pm #1290817
FriechModeratorHi There,
Update your embed video element inline STYLE to:
max-width: 800px;margin: 0 auto;Hope it helps, Cheers!
December 13, 2016 at 1:42 am #1290927
Gerald EParticipantthank you!
December 13, 2016 at 2:10 am #1290952
LelyModeratorYou’re welcome Gerald!
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1290154 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
