Welcome to TalkGraphics.com
Results 1 to 10 of 12

Hybrid View

  1. #1

    Default Video in Top-frame

    Hello to every one.
    Please, is there way to put some video on top frame or somewhere else, instead of still image, or slide show ?
    I hope this is possible in XWD.
    p.s. I hace updated to XWD Premium 18 ver.

    Thank you !
    IP

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,932

    Default Re: Video in Top-frame

    Hi Dencuga, try the folowing in a placeholder Body:

    <video width="800" height="600" controls>
    <source src="https://parkeston.com/videos/2015_eGames_Intro.mp4" type="video/mp4">

    Your browser does not support the video tag.
    </video>
    You need to change the video source to one on your server.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  3. #3

    Default Re: Video in Top-frame

    Great !!! Thats' it !
    Thank you !
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,932

    Default Re: Video in Top-frame

    If you need more help here Initiostar (Gary's) your man. He does great things with videos on websites.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  5. #5

    Default Re: Video in Top-frame

    This works fine, but is there possibility for autoplay ?
    And initially, if commands (play button and arrows) can be hide ?
    Thanks.
    IP

  6. #6
    Join Date
    Apr 2018
    Location
    Barnes, London
    Posts
    953

    Default Re: Video in Top-frame

    Quote Originally Posted by Dencuga View Post
    This works fine, but is there possibility for autoplay ?
    And initially, if commands (play button and arrows) can be hide ?
    Thanks.
    You can add autoplay to the video tag, but if there is an audio track most browsers will ignore the command. Where you want to autoplay here is an example video tag:

    <video id="myvideo"width="100%" height="100%" controls autoplay muted playsinline loop disablepictureinpicture controlsList="nodownload" >
    <source src="https://initiostar.co.uk/demo/Waterfall.mp4" type="video/mp4">
    </video>

    Where you use autoplay muted, you need to add playsinline for iOS on mobile. You may too want to disable picture-in-picture on a mobile variant and where the video has a commercial value you may also want to prevent download.

    You can hide the controls by omitting the "controls" from the video tag; this is OK for background videos, but is generally not good practice otherwise.

    Here is some futher explanation and a demo: https://initiostar.co.uk/demo/simpleVideo/ & Xara Video Tag.xar

    There's a lot you can do with video and here are two more examples: one demostrates background videos, intros and banners, the other shows three different ways for managing video libaries.

    https://initiostar.co.uk/demo/Video/fullvid.htm Here the code is placed in HTML page(head)

    https://initiostar.co.uk/demo/EmbedVideo/ Here we have used a custom designed video player

    Plenty of ideas here to play with.

    Gary
    IP

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •