www.webdeveloper.com
Results 1 to 10 of 10

Thread: Mp4 to big

  1. #1
    Join Date
    Nov 2011
    Posts
    138

    Mp4 to big

    I have this MP4 video that someone asked me to put it on there website. The thing is. when it plays, it's too big. I can only make the screen so big. and still can't see all of video. What can I do? The video is 1280x 720

  2. #2
    Join Date
    Jun 2014
    Location
    Cairns - Australia
    Posts
    81
    Hey Max, just set the % to your liking... just a snippet I found somewhere.. Luck

    Code:
     
    
    <!doctype html>
    
    <html>
    
    <head>
    
    <meta charset="utf-8">
    
    <title>HTML5 with Video</title>
    
     
    <style>
    
    body {
    
         width:90%; 
    
         margin:0 auto;
    
    }
    
     
    video {width:100%}
    
    </style>
    
     
    
     
    
    <!--[if lt IE 9]>
    
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    
    <![endif]-->
    
    </head>
    
    
    <body>
    
     
    
    <!--begin video-->
    
    <video controls>
    
    <source src="yourvideo.mp4" type="video/mp4">
    
    </video>
    
    <!--end video-->
    
     
    
    </body>
    
    </html>

  3. #3
    Join Date
    Nov 2011
    Posts
    138
    So I uploaded it and it still not working for some reason. It took some time for me to load the video to the server. What could be wrong?


    http://www.openingdoorstosuccessinc.ca/media.html

  4. #4
    Join Date
    Oct 2013
    Posts
    560
    Alternatively:
    HTML Code:
    <video width="320" height="240" controls>
    <source src="videos/Welcome to ODS 2 - Chromatic 2.mp4" type="video/mp4"/>
    </video>
    Adjust width and height to suit.

    Also make absolutely sure that your file name matches in terms of case, spaces, etc. Which is why I always use lower case without spaces for file names on anything web-related. Case in point:
    http://www.openingdoorstosuccessinc....omatic%202.mp4 returns a 404.

  5. #5
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,415
    Grab a copy of WinFF and then recode it to an MP4 with a smaller viewport and the file will be immensely smaller.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  6. #6
    Join Date
    Nov 2011
    Posts
    138
    They don't have this one for MAC

  7. #7
    Join Date
    Oct 2013
    Posts
    560
    And you really didn't think of doing this:
    https://www.google.com/search?q=resize+mp4+mac

    ???

  8. #8
    Join Date
    Nov 2011
    Posts
    138
    I did, but leaves watermark.

  9. #9
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,415
    So what was wrong with doing a search for WinFF for Mac?

    http://www.ffmpegx.com/
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

  10. #10
    Join Date
    Jul 2014
    Location
    Rostock
    Posts
    15

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles