TinyPortal

Development => Support => Topic started by: mythbuster on February 23, 2007, 10:40:08 AM

Title: how to display "now loading" while a video loads
Post by: mythbuster on February 23, 2007, 10:40:08 AM
i have made a video gallery for my website but the videos take a while to load. is there any way to have something that says "now loading" while the video loads? the movies are all .wmv's and are displayed using this code in an article -



<!-- begin embedded WindowsMedia file... -->
<table cellpadding="0" align="center" border="0">
    <tbody>
        <tr>
            <td><object id="mediaPlayer" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="500" standby="Loading Microsoft Windows Media Player components..." width="800" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
            <param value="http://myvideo( just an example)" name="fileName" />
            <param value="true" name="animationatStart" />
            <param value="true" name="transparentatStart" />
            <param value="true" name="autoStart" />
            <param value="false" name="showControls" />
            <param value="true" name="loop" /></object></td>
        </tr>
        <!-- ...end embedded WindowsMedia file --><!-- begin link to launch external media player... -->
        <tr>
            <td align="center"><a style="FONT-SIZE: 85%" target="_self" href="http://myvideo( just an example)" ">Back To Video Gallery</a> <!-- ...end link to launch external media player... --></td>
        </tr>
    </tbody>
</table>



i would like to add something that displays "now loading" while the video loads.
i can make a "now loading " animated gif or either it can just display text .. i would prefer to use a custom made animated gif that i made, however just plain text that says "now loading" will be ok if thats the only way it can be done

if anyone knows how i can do this please reply

thx alot