• If I upload and insert vidoes it always create shortcode like

    [video width="1920" height="1080" mp4="pathtouploaded.mp4"][/video]

    If I take a look into crated html source code via page preview it shows
    <video class="wp-video-shortcode" id="video-15-1" width="640" height="360" preload="metadata" controls="controls"><source type="video/mp4" src="pathtouploaded.mp4" /><a href="pathtouploaded.mp4">pathtouploaded.mp4</a></video

    From where comes the width=”640″ height=”360″? I thought there were some options under settings -> media, but it seems to be gone in 3.8.1?

    I want to have a maximum width of 480 for videos, how to do that?

    Also is there an option to add a start picture for the video? If the page is loaded, the video prieview shows a snapshot of the firt picture from the video. I want to custumize and show my own snapshot as video priview. Is this possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Does your theme automatically add these dimensions to give a proper justification for your website? What theme are you using?

    Thread Starter stonylake

    (@stonylake)

    Does your theme automatically add these dimensions to give a proper justification for your website?

    Yes, it automatically add these dimensions. WordPress seems to use the nativ video resolution. Since I add a video with nativ 800 x 480, it sets the width and height accordingly.

    Is there any way to set maximum width of 480 for videos automatically?

    What theme are you using?

    Minimum theme, selfmade.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How-To custumize video upload’ is closed to new replies.