ThomasDes Posted April 26 Share Posted April 26 Hello. I'm using the embed block to display a video on the hero of one of my pages. On desktop it works great. On mobile the static thumbnail works just fine but, when played, the video doesn't look good. I'd want the video to turn 90° and play on landscape mode after the user clicks on "play". Is there a way to achieve this? Thanks in advance! Any feedback is welcome and appreciated. Link to the website page: https://steerforward.com/case-of-study Link to comment
tuanphan Posted April 27 Share Posted April 27 I see it already play in landscape Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ThomasDes Posted April 28 Author Share Posted April 28 On 4/27/2024 at 5:35 AM, tuanphan said: I see it already play in landscape I'd want the video to turn 90° and play on landscape mode, so the user would turn their phone sideways and the video would occupy 100% of the width of the phone, sideways. Link to comment
tuanphan Posted April 30 Share Posted April 30 Try this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { div#block-24b5df7af4d5fec7e80c iframe { transform: rotate(90deg); } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment