On Fri, Apr 19, 2002 at 03:05:39AM +0300, Rosen Marinov wrote:
> Can someone tell me how to put on WEB page QuickTime movie ?
> I tried with some code, but nothing happens... !
First, PHP can do a lot, but i don't think PHP can create QuickTime movies.
This is more a HTML question than an PHP question.
But here is your answer:
There are three tags (as far i know) to embed QuickTime (But also avi, mpeg, etc)
movies into a webpage. They're browser depended.
Microsoft :
<img src="movie_url" width="160" height="120" loop="infinite" border="0" />
Netscape:
<embed src="movie_url" width="160" height="120" autoplay="true" loop="true"
oncursor="play" />
If you want to use both:
<embed src="movie_url" width="160" height="120" autoplay="true" loop="true"
oncursor="play" />
<noembed>
<img src="movie_url" width="160" height="120" />
</noembed>
Note that the visitor of your site need a quicktime plugin. You can also just put the
movie url in a <a href=".."> tag. Or show it to your users in a popup (ofcourse only
when a user wants this, most people don't like popup's).
But again, this is not the right place to ask questions about video embedding in a
webpage.
Dave Mertens
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php