# HTML code gurus - help please...

**URL:** <https://boards.straightdope.com/t/html-code-gurus-help-please/389445>\
**Category:** Factual Questions\
**Created:** [January 25, 2007, 6:40pm UTC](https://boards.straightdope.com/t/html-code-gurus-help-please/389445 "2007-01-25T18:40:21Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Mbossa](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Mbossa](https://boards.straightdope.com/u/Mbossa)\
**Post date:** [January 25, 2007, 9:17pm UTC](https://boards.straightdope.com/t/html-code-gurus-help-please/389445/21 "2007-01-25T21:17:11Z")

</div>

Here you go. Straight from the horse’s mouth:  
[http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting\_HTML/index.html](http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_HTML/index.html)

> [@](#):
>
> You can use HTML to communicate with the QuickTime browser plug-in or ActiveX control when displaying QuickTime-compatible content in a browser. This allows you to control many aspects of QuickTime behavior, such as image scaling, audio volume, autoplay, looping, linking a series of movies, launching QuickTime Player, and opening a specified URL when the user clicks the movie.
> 
> Before it can communicate with QuickTime, your HTML must cause a browser to load the QuickTime plug-in or ActiveX control. This typically involves using either the \<EMBED\> tag, the \<OBJECT\> tag, or both tags together. Using the \<EMBED\> and \<OBJECT\> tags also allows you to use QuickTime to display multimedia that may not be QuickTime-specific, such as MP3, MPEG-4, and SMIL.
> 
> The main method for controlling QuickTime from HTML is the use of attributes, also known as parameters, within the \<EMBED\> and \<OBJECT\> tags. More than 30 attributes are recognized specifically by QuickTime.

The HTML you’re probably after looks like this:

```auto

<OBJECTCLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
HEIGHT=yy
WIDTH=xx>

<PARAM NAME="src" VALUE="MyMovie.mov" >

<EMBED SRC="MyMovie.mov"
HEIGHT=yy 
WIDTH=xx
TYPE="video/quicktime"
PLUGINSPAGE="http://www.apple.com/quicktime/download/" /> 

</OBJECT> 

```

Check out the link for more details and examples.

---

<div class="post-metadata">

**Author:** ![alice\_in\_wonderland](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/alice_in_wonderland/32/176_2.png) [@alice\_in\_wonderland](https://boards.straightdope.com/u/alice_in_wonderland)\
**Post date:** [January 25, 2007, 9:21pm UTC](https://boards.straightdope.com/t/html-code-gurus-help-please/389445/22 "2007-01-25T21:21:38Z")

</div>

[QUOTE=Mbossa]  
Here you go. Straight from the horse’s mouth:  
[http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting\_HTML/index.html](http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_HTML/index.html)

The HTML you’re probably after looks like this:

```auto

<OBJECTCLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" 
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
HEIGHT=yy
WIDTH=xx>

<PARAM NAME="src" VALUE="MyMovie.mov" >

<EMBED SRC="MyMovie.mov"
HEIGHT=yy 
WIDTH=xx
TYPE="video/quicktime"
PLUGINSPAGE="http://www.apple.com/quicktime/download/" /> 

</OBJECT> 

```

Check out the link for more details and examples.  
[/QUOTE]

Ahhh - fantastic! I’m just waiting for the original source code and I’ll see what I can come up with. However, if **wasson** (or anyone) has any tips of that file conversion, that might be the easiest solution.

---

<div class="post-metadata">

**Author:** ![wasson](https://avatars.discourse-cdn.com/v4/letter/w/4da419/32.png) [@wasson](https://boards.straightdope.com/u/wasson)\
**Post date:** [January 27, 2007, 3:49am UTC](https://boards.straightdope.com/t/html-code-gurus-help-please/389445/23 "2007-01-27T03:49:20Z")

</div>

Here’s a good step-by-step for conversion on a Mac…

[http://ffmpegx.com/flv.html](http://ffmpegx.com/flv.html)

Not for the faint of heart, but with a little time and patience, I’m sure you can get it working. That’ll get it into FLV format to embed within a Flash movie and play with very little effort. This is what Google Video and YouTube use.

---

<div class="post-metadata">

**Author:** ![alice\_in\_wonderland](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/alice_in_wonderland/32/176_2.png) [@alice\_in\_wonderland](https://boards.straightdope.com/u/alice_in_wonderland)\
**Post date:** [January 27, 2007, 4:38am UTC](https://boards.straightdope.com/t/html-code-gurus-help-please/389445/24 "2007-01-27T04:38:12Z")

</div>

[QUOTE=wasson]  
Here’s a good step-by-step for conversion on a Mac…

[http://ffmpegx.com/flv.html](http://ffmpegx.com/flv.html)

Not for the faint of heart, but with a little time and patience, I’m sure you can get it working. That’ll get it into FLV format to embed within a Flash movie and play with very little effort. This is what Google Video and YouTube use.  
[/QUOTE]

Oh you are the KING! Thank you so much!

[Previous page](https://boards.straightdope.com/t/html-code-gurus-help-please/389445.md?page=1)
