WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > Assistance required video background with CSS

Reply
  Thread Tools Display Modes
Old 18th November 17, 05:24 AM   #1
envarm
WLC Member
 
Join Date: Nov 2017
Posts: 1
Default Assistance required video background with CSS

Greetings, I require your assistance, please help me with this issue.

I'm trying to modify my Moddb page for an upcoming modification to run a video as the background, resized to fit into the screen.

The video needs to fully cover the background.
There are a set of rules that need to be followed, moddb staff only allows individuals to use CSS code, no HTML nor JSS.

Things like iframes are allowed for youtube videos, as well as embeds.

i think this means we can only embed a youtube video as the background and resize it appropaitely, however I have no idea on how to approach this.

Please refer to this page for my modification: http://www.moddb.com/mods/medieval-conquests/ and download the page to view its source.

When I emailed moddb they responded with this regarding changing my page: "No, customisation of any kind is allowed because of editing existing CSS code of the page. Not adding new HTML tags or overwriting them with new tags. You have to write CSS code that overwrites the old div. (there are plugins for Chrome and FF that overwrite CSS themes of the visited website)."

I'm inexperienced on doing this, so I need some guidance, please assist me, thank you.

Here is the youtube embed code that I got ready, you have to help me put it in the right place (following the moddb quote) and make sure it works with me.

Code:
  <iframe frameborder="0" height="100%" width="100%" 
    src="https://youtube.com/embed/z9Ul9ccDOqE?version=3&autoplay=1&loop=1&controls=0&showinfo=0&autohide=1&vq=highres">
  </iframe>
envarm is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:05 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyrightę 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.