Jump to content

[SOLVED] Code Change-Add Short Video to Background


Recommended Posts

Posted (edited)

Hi,

body {
background: url(images/mainbg.jpg) repeat-x 0 0 #fff;
color: #171717;
font-family: "segoe ui", tahoma, arial, helvetica, clean, sans-serif;
font-size: 12px;
margin: 0;
padding: 0;
}

i want to add one short video from my own server instead of mainbg.jpg. So, how should i have to change the code above. Thanks.

Best Regards,

Omer ASLAN

Edited by OmerAslan
  • Moderators
Posted

What you ask regards to CSS coding. If you have a video to show you can EMBED it's url using an <iframe> then you can place it anywhere you want using <div> element that uses your CSS (code above).

Posted

What you ask regards to CSS coding. If you have a video to show you can EMBED it's url using an <iframe> then you can place it anywhere you want using <div> element that uses your CSS (code above).

Hi Parkho,

Thanks for answering. This is more than i can do. I will add high res. picture. Will be more easy and look good. Thanks again.

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...