Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > TIP - Embedding Quicktime in XHTML

TIP - Embedding Quicktime in XHTML
Thread Tools
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Feb 2, 2004, 05:16 PM
 
Ah well, on a roll and I feel like sharing...

Because multimedia files like Flash, Quicktime, etc. rely on EMBED tags for certain browsers, it can create problems for authoring XHTML-compliant pages for this content.

The Flash Satay method was a brilliant start to get the ball rolling, except that on IE5 and 5.5 it would lead to an unexpected visual glitch whereby an empty TEXTAREA box would appear.

I stumbled across http://realdev1.realise.com/rossa/re...quicktime.html when I was researching a client's site to embed both QT and WMP files. Using a combination of CSS and clever embedding, you can produce results that are the closest I've found to being pure and compliant.

There is a couple of issues (but as a web developer, when have there never been?) - for some browsers you need CSS support to correctly 'hide' alternative content, and some older browsers will choke.

But the benefits are immediately usable, and you can also use this method to stuff some extra content (= keywords!) into your fallback content as a bonus.

Hope this helps someone.
Computer thez nohhh...
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Feb 2, 2004, 07:37 PM
 
the next person who tells me "web design must be easy, my 14 year-old son/brother/dog can do it," is going down with one punch. and i'm not cleaning the blood up.

thanks for the link, Simon. i have a feeling i'll need this information very soon.
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Addicted to MacNN
Join Date: Sep 2000
Status: Offline
Reply With Quote
Feb 5, 2004, 11:30 AM
 
Philzilla.


My favorite was someone who told me they got their entire site upgraded to XHXTML strict in an hour.

I was impressed.

Checked it out. The entire content of the page was:

Code:
<script type="text/javascript"> document.write('SITE HERE'); </script>

Just wrap in a javascript, and it's XHTML!
I always use protection when fscking my Mac... Do you?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:56 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2