March 9, 2017 at 9:04 pm #1401433
I embedded video from vimeo using the embedded video element, and, for some reason, the player doesn’t fit on the screen (see the screenshot attached – it’s way to big!).
I need all the video player to fit on the first screen so that users can see it all without having to scroll.
I tried to play with vimeo settings – and whatever width I choose on vimeo, the player is still displayed full width in the cornerstone.
Thanks for your help.
KatyaMarch 9, 2017 at 9:25 pm #1401441March 10, 2017 at 12:58 am #1401586
Thanks for writing in! To assist you better with this issue, would you mind providing us the url of your site with login credentials, if necessary, so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password (only if necessary)
Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.March 19, 2017 at 9:10 pm #1413161March 20, 2017 at 5:10 am #1413440
LelyModeratorThis reply has been marked as private.March 20, 2017 at 6:45 pm #1414309March 21, 2017 at 7:37 am #1414842
Please change the iframe code to this.
<iframe src="https://player.vimeo.com/video/206518176?title=0&byline=0&portrait=0" style="width:500px;height:281px;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
Note that I added
margin:0 auto;max-width:500px;in the style field of embedded video element to center it.
Hope that helps.March 21, 2017 at 8:49 pm #1415730March 21, 2017 at 8:50 pm #1415733March 21, 2017 at 8:51 pm #1415735March 22, 2017 at 9:00 am #1416219
Please try using the following code instead:
Hope it helps