Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
comeon_down

Show different banner background video on mobile?

Question

I current have a Vimeo video added to a banner on my website (added via Page Settings > Media > Video URL).

The video looks great on desktop, but on mobile the text is too wide for the mobile screen and so is chopped on each side.

Therefore I would like to add some custom code so that on mobile view, a different version of the video that I have produced that is mobile friendly (the text is stacked up more so it can fit the mobile width). I am comfortable with media queries, but am struggling the URL override.

I've done some digging around in the html and found this:

<iframe id="vimeoplayer" src="XXXXvideoURLXXXXX" style="width: 2112px; height: 1188px; left: -96px; top: -157px;" class="background-video ready"></iframe>

Which might be some use?

Any help appreciated.

Share this post


Link to post

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...