FORUMS: list search recent posts

intro video for website

COW Forums : Web Design (Wordpress, Joomla, etc.)

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Charles Williams
intro video for website
on Dec 5, 2012 at 11:10:25 pm

Hi. what i want to do is have this video play when you first visit my website here and when the video is finished have it fade out and then you see my home page. ive created the intro clip in after effects and rendered it out to a .mov and converted it to a .flv.

my question is where do i need to place the .flv file (if thats what i need) in my directory and what code do i need to add to my index.html page (if any) so that when you first visit my website the intro video is the first thing you see then fades out.

Return to posts index

Curtis Thompson
Re: intro video for website
on Dec 6, 2012 at 4:08:07 am


you want something like this:

<div id="player"><iframe src="//" width="1280" height="720" frameborder="0"></iframe></div>
<script type="text/javascript">
file: '',
provider: './vimeoprovider.swf',
width: '1280',
height: '720',
autostart: 'true',
showicons: 'false',
controlbar: 'none',
allowfullscreen: 'true',
events: {
onComplete: function() {document.location.href = ""; }

that uses jwplayer:

most other html5 video libraries like that have the same sort of feature you can pick and choose to your liking there for the most part!

hope that helps...


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved