Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

.mp4

  • 21-03-2007 12:03pm
    #1
    Registered Users, Registered Users 2 Posts: 1,985 ✭✭✭


    i have an 11mb .mp4 file embedded with the code
    <embed src="video/tv3.mp4" width="330" height="240" pluginspage="http://www.apple.com/quicktime/download/"></embed>
    

    now its working fine, only problem i have is that it seems to preload the entire video before it plays. which takes a while and makes it seem like the site isnt responding or something... is there anyway to have it to play the start and load the rest at the same time?? like the way youtube videos load up...

    cheers
    moe


Comments

  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    You might want to look at using the object tag instead of embed ....


  • Registered Users, Registered Users 2 Posts: 8,488 ✭✭✭Goodshape


    I'd say your best bet is to encode the video as FLV (Macromedia Flash Video) - like YouTube, etc.

    Check this out : http://flowplayer.sourceforge.net


  • Registered Users, Registered Users 2 Posts: 1,985 ✭✭✭big_moe


    ok i have changed the code to this... it still works grand... still preloading though...

    goodshape, im not too fond of flv but i might have to use it as a last resort because people wont wait until the video is fully loaded... they keep closing the page thinking it has become unresponsive...

    moe
    <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
    			CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
    			HEIGHT=256
    			WIDTH=320
    			>
     
    			<PARAM NAME="src" VALUE="video/tv3.mp4" >
    			 
    				<EMBED 
    SRC="video/tv3.mp4"
    HEIGHT=256 WIDTH=320
    TYPE="video/quicktime"
    PLUGINSPAGE="http://www.apple.com/quicktime/download/" 
    /> 
     
    </OBJECT>
    


  • Registered Users, Registered Users 2 Posts: 8,488 ✭✭✭Goodshape


    Why don't you like flv?

    I'm not a fan of flash-driven websites myself, but any form of video on a website will require client-side compatibility and probably third-party plug-ins.

    With that in mind, flash video / flv seems to be a fair option.


  • Registered Users, Registered Users 2 Posts: 1,985 ✭✭✭big_moe


    the quality drops... but i suppose the video is only 320x240 so its not too noticeable.. and most people are used to youtube quality stuff anyway....

    feck it... i dunno what to do!

    cheers for all the help, i'll sort something out!

    cheers
    moe


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,985 ✭✭✭big_moe


    ok, im using a mac here and its the mac that preloads the file for some reason cos the video on windows xp plays straight and u can see how much of it is loaded on the search bar... exactly what i wanted...

    i was on google for an hour or so doing loads of searches and from combining bits a pieces of code from all over the place i have it working with this code
    <EMBED CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
    		  
    		  SRC="video/tv3.mp4" 
    		  
    		  CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
    		  
    		  HEIGHT="256" WIDTH="320" 
    		  
    		  TYPE="video/quicktime" 
    		  
    		  PLUGINSPAGE="http://www.apple.com/quicktime/download/"
    		  
    		  />
    

    another thing i have found out today, firefox is a pain in the arse! it still wont play the embedded video file and its a common bug supposedly just because its a .mp4!

    also, it wouldnt read my css properly for some reason. i had page bg colour set to white. then i had a few tables with classes from the css assigned to them. the classes each had different bg colours.. looks grand on my browser (safari os x & opera os x) but on firefox it wouldnt display the bg's at all. just the white from the "body{ bgcolor="#FFFFFF"}"

    i had this code which displayed the proper bg colour (yellow, from the class "main content") in every browser cept firefox
    <td><table width="912" border="0" class="main-content">
    

    so i had to change every <td> to this to get it to work in firefox.
    <td bgcolor="#FEFB00"><table width="912" border="0" class="main-content">
    

    so all other browsers are now "told" the bg colour twice...

    strange...

    anyway,

    cheers for the replies..

    moe


  • Closed Accounts Posts: 2,046 ✭✭✭democrates


    This works in Firefox for me:

    <html>

    <style type="text/css">
    body {
    background-color:#ffffff;
    }

    table.main-content {
    background-color:#ff0000;
    }
    </style>

    <table><tr><td>

    <table width="912" border="0" class="main-content">
    <tr><td>Inner table</td></tr>
    </table>

    </td></tr></table>

    </html>


Advertisement