Full Screen Video

Discussion in 'Web Design' started by MarkStrobel3367, Apr 25, 2018.

to remove all ads.
  1. MarkStrobel3367

    MarkStrobel3367 Member

    Messages:
    108
  2. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,668
    Haven't got a clue, other than you probably 'broke' something in the code on your page.
     
  3. MarkStrobel3367

    MarkStrobel3367 Member

    Messages:
    108
    All I did was copy and paste. Hard to mess that up! The video appears to point to a specific server which explains why the video doesn't work. However, I would like to know how I could replace the current video with a Youtube video or does it need to be placed with another mp4 video. Any ideas?
     
  4. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,668
    In the W3Schools code the src attribute points to a video file called "rain.mp4" in the same directory as the document, you need to change that address to where ever your video file happens to be.

    https://www.w3schools.com/html/html_filepaths.asp
     
  5. MarkStrobel3367

    MarkStrobel3367 Member

    Messages:
    108
    I have a New Google Site. How would I do this if I wanted to replace the current video with a Youtube video? Thanks.
     
  6. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,668
  7. MarkStrobel3367

    MarkStrobel3367 Member

    Messages:
    108
    I placed the Youtube url here but it didn't work <source src="Youtube Video" type="video/mp4">. For your second suggestion, I'm not sure where the document source code is within the code. Where in the code should I insert the embedded Youtube video? Thanks.
     
  8. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,668
    You tube videos aren't usually in MP4 format so you need to know what format the video you want to play is.

    Where to place the embed code is where ever you want the video to appear on the page.
     
  9. MarkStrobel3367

    MarkStrobel3367 Member

    Messages:
    108

Share This Page