​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


How do I code QT into a website?

I want to play audio on a website. The coding works from my file but not when it's been uploaded to the server. I need help, please. I'm using:


<object classid="clsid:02bf25d5-8c17-4b23-bc80-d3488abddc6b"

codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="106" height="16">

<param name="src" value="audio_files/13Jan2013.mp3" />

<param name="controller" value="true" />

<param name="autoplay" value="false" />

<!--[if !IE]>-->

<object type="audio/quicktime" data="audio_files?13Jan2013.mp3" width="106" height="16">

<param name="autoplay" value="false" />

<param name="controller" value="true" />

</object>

<!--<![endif]-->

</object>

Posted on Jan 25, 2013 10:46 AM

1 reply

Jan 27, 2013 5:50 PM in response to Jenny219

Hi Jenny - If you have not already figured this out - getting movies to play out of webpages has long been a detail-tricky, problematic challenge - expecially when you want your page to play in EVERY webbrowser on EVERY platform. But, just looking at your code, I believe the path to the file itself is suspect. I'm not sure why there is a question mark infront of the filename. You might want to get familiar with relative folder addressing. If there is a folder (named 'audio_files') with the audio file at the same level as the HTML file from which you are executing, you could refer to it as "./audio_files/13Jan2012.mp3". Remember that alphabetic CASE COUNTS in many such circumstances and that not all characters are 'allowed' - or they may be interpreted in different ways than on your desktop - in web URLs.


Below is an example of what I normally do with video files (although audio would work the same) in my webpages:


<OBJECT classid='clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'

width="480"

height="336"

codebase='http://www.apple.com/qtactivex/qtplugin.cab'>

<param name='src' value="mywebvideo.m4v">

<param name='autoplay' value="true">

<param name='height' value="336">

<param name='width' value="480">

<param name='bgcolor' value="000000">

<param name='controller' value="true">

<param name='loop' value="false">

<EMBED src="mywebvideo.m4v"

width="480"

height="336"

autoplay="true"

controller="true"

loop="false"

bgcolor="#000000"

pluginspage='http://www.apple.com/quicktime/download/'>

</EMBED>

</OBJECT>

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I code QT into a website?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.